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 21–25 of 65

Q21Boolean Algebra1 markMSQ
Consider the following Boolean expression of a function FF :

F(P,Q)=(Pˉ+Q)⊕(PˉQ)F(P, Q)=(\bar{P}+Q) \oplus(\bar{P} Q)

Which of the following expressions is/are equivalent to FF ?

One or more options are correct.

Q22Number System1 markMSQ
Consider the 88 -bit signed integers X,YX, Y and ZZ represented using the sign-magnitude form. The binary representations of XX and YY are as follows:

X:10110100Y:01001100X: 10110100 \quad Y: 01001100

Which of the following operations to compute ZZ result(s) in an arithmetic overflow?

One or more options are correct.

Q23Heap Tree1 markMSQ
Let nn be an odd number greater than 100100. Consider a binary minheap with nn elements stored in an array PP whose index starts from 11.
Which of the following indices of PP do/does NOT correspond to any leaf node of the minheap?

One or more options are correct.

Q24Hashing1 markMSQ
Consider a hash table P[0,1,…,10]P[0,1, \ldots, 10] that is initially empty. The hash table is maintained using open addressing with linear probing. The hash function used is h(x)=(x+7) mod 11h(x)=(x+7) \bmod 11.

Consider the following sequence of insertions performed on PP :

 1,13, 22, 15, 11, 24\text { 1,13, 22, 15, 11, } 24

Which of the following positions in the hash table is/are empty after these insertions are performed?

One or more options are correct.

Q25Context Free Grammar1 markMSQ
Consider the following grammar where SS is the start symbol, and aa and bb are terminal symbols.

S→aSbS | bS | ϵS \rightarrow a S b S \text { | } b S \text { | } \epsilon

Which of the following statements is/are true?

One or more options are correct.