ISRO CSE 2020


Q71.

A stack is implemented with an array of { }^{\prime} A[0 \ldots N-1]^{\prime} and a variable \text { 'pos'. } The push and pop operations are defined by the following code. push (x) A[pos] <- x pos <- pos -1 end push pop() pos <- pos+1 return A[pos] end popWhich of the following will initialize an empty stack with capacity N for the above implementation?
GateOverflow

Q72.

The persist timer is used in TCP to
GateOverflow

Q73.

Checksum field in TCP header is
GateOverflow

Q74.

A new flipflop with inputs X and Y, has the following property\begin{array}{|c|c|c|c|} \hline \mathbf{X} & \mathbf{Y} & \text { Current state } & \text { Next state } \\ \hline 0 & 0 & Q & 1 \\ 0 & 1 & Q & \bar{Q} \\ 1 & 1 & Q & 0 \\ 1 & 0 & Q & Q \\ \hline \end{array}Which of the following expresses the next state in terms of X,Y, current state?
GateOverflow