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

GATE 2026 (Session 2)

65 questions

MCQ 35 · MSQ 11 · NAT 191-mark 30 · 2-mark 35

Questions 26–30 of 65

Q26Relation1 markMSQ
Let RR be a binary relation on the set {1,2,…,10}\{1,2, \ldots, 10\}, where (x,y)∈R(x, y) \in R if the product of xx and yy is square of an integer. Which of the following properties is/are satisfied by RR?

One or more options are correct.

Q27Definite and Improper Integrals1 markMSQ
For a real number aa, let I(a)=∫−11(3x2−ax+1)dxI(a)=\int_{-1}^{1}\left(3 x^{2}-a x+1\right) d x. Which of the following statements is/are true?

One or more options are correct.

Q28Number System1 markMSQ
In a system, numbers are represented using 44-bit two's complement form. Consider four numbers N1=1011,N2=1101,N3=1010N 1=1011, N 2=1101, N 3=1010 and N4=1001N 4=1001 in the system. Which of the following operations will result in arithmetic overflow?

One or more options are correct.

Q29Parsing1 markMSQ
Which of the following grammars is/are ambiguous?

One or more options are correct.

Q30Hashing1 markNAT
The keys 5,28,19,15,26,33,12,17,105,28,19,15,26,33,12,17,10 are inserted into a hash table using the hash function h(k)=k mod 9h(k)=k \bmod 9. The collisions are resolved by chaining. After all the keys are inserted, the length of the longest chain is ________. (answer in integer)