GATE 2026 (Session 1) Computer Science and Information Technology (CS) Questions with Solutions

GATE 2026 (Session 1)

65 questions

MCQ 28 · MSQ 24 · NAT 131-mark 30 · 2-mark 35

Questions 36–40 of 65

Q36Number System2 marksMCQ−0.67 if wrong
Consider the real valued variables X,YX, Y and ZZ represented using the IEEE 754754 singleprecision floating-point format. The binary representations of XX and YY in hexadecimal notation are as follows:

X:35C00000Y:34A00000X: 35 {C} 00000 \quad Y: 34 {A} 00000

Let Z=X+YZ=X+Y.

Which one of the following is the binary representation of ZZ, in hexadecimal notation?

Q37Sequential Circuit2 marksMCQ−0.67 if wrong
Consider a 22-bit saturating up/down counter that performs the saturating up count when the input PP is 00, and the saturating down count when PP is 11. The Next State table of the counter is as shown. The counter is built as a synchronous sequential circuit using D flip-flops.

InputCurrentStateNextStatePQ1Q0Q1+Q0+0000100110010110111110000101001100111110\begin{array}{c|cc|cc} \text{Input} & \text{Current} & \text{State} & \text{Next} & \text{State} \\ P & Q_1 & Q_0 & Q_1^+ & Q_0^+ \\ \hline 0 & 0 & 0 & 0 & 1 \\ 0 & 0 & 1 & 1 & 0 \\ 0 & 1 & 0 & 1 & 1 \\ 0 & 1 & 1 & 1 & 1 \\ 1 & 0 & 0 & 0 & 0 \\ 1 & 0 & 1 & 0 & 0 \\ 1 & 1 & 0 & 0 & 1 \\ 1 & 1 & 1 & 1 & 0 \\ \end{array}

Which one of the following options corresponds to the expressions for the inputs of the D flip-flops, D1D_1 and D0D_0?

Q38Cache Memory2 marksMCQ−0.67 if wrong
The size of the physical address space of a processor is 2322^{32} bytes. The capacity of a cache memory unit is 2232^{23} bytes. The cache block size is 128128 bytes. The cache memory unit can be built as a direct mapped cache or as a KK-way set-associative cache, where K=2LK=2^{L} and L∈{1,2,3}L \in\{1,2,3\}. Let the length of the TAG field be MM bits for the direct mapped cache, and NN bits for the set-associative cache.

Which one of the following options is true?

Q40Binary Search Tree2 marksMCQ−0.67 if wrong
Let PP be the set of all integers from 11 to 1515. Consider any order of insertion of the elements of PP into a binary search tree that creates a complete binary tree.

Which one of the following elements can NEVER be the third element that is inserted?