πŸ“š

GATE CS - Previous Year Questions

Actual GATE CS exam questions from previous years (2020-2025)

142 questionsÒ€’15 pagesÒ€’~213 min

Use this quiz track to strengthen recall, speed, and exam-style decision making. Attempt one page first, review explanations, and then re-attempt incorrect questions without notes.

A good scoring strategy is to mark uncertain questions, finish known ones quickly, and return with elimination logic. This improves accuracy while keeping momentum under time constraints.

Progress: 0 / 1420%
Page 2 of 15 β€’ Questions 11-20 of 142
Q11medium

[GATE CS 2025 Set-1 Q21] Consider the following 𝐡+ tree with 5 nodes, in which a node can store at most 3 key values. The value 23 is now inserted in the 𝐡+ tree. Which of the following options(s) is/are CORRECT?

Q12medium

[GATE CS 2025 Set-1 Q22] Consider the 3-way handshaking protocol for TCP connection establishment. Let the three packets exchanged during the connection establishment be denoted as P1, P2, and P3, in order. Which of the following option(s) is/are TRUE with respect to TCP header flags that are set in the packets?

Q13medium

[GATE CS 2025 Set-1 Q23] real-valued constant. Which of the following option(s) is/are CORRECT? π‘₯ +π‘˜π‘¦ = 1 π‘˜π‘₯+𝑦 = βˆ’1

Q14medium

[GATE CS 2025 Set-1 Q24] Let 𝑋 be a 3-variable Boolean function that produces output as β€˜1’ when at least two of the input variables are β€˜1’. Which of the following statement(s) is/are CORRECT, where π‘Ž,𝑏,𝑐,𝑑,𝑒 are Boolean variables?

Q15medium

[GATE CS 2025 Set-1 Q25] The number βˆ’6 can be represented as 1010 in 4-bit 2’s complement representation. Which of the following is/are CORRECT 2’s complement representation(s) of βˆ’6?

Q16medium

[GATE CS 2025 Set-1 Q26] Which of the following statement(s) is/are TRUE for any binary search tree (BST) having 𝑛 distinct integers?

Q17medium

[GATE CS 2025 Set-1 Q27] A partial data path of a processor is given in the figure, where RA, RB, and RZ are 32-bit registers. Which option(s) is/are CORRECT related to arithmetic operations using the data path as shown?

Q18medium

[GATE CS 2025 Set-1 Q28] A regular language 𝐿 is accepted by a non-deterministic finite automaton (NFA) with 𝑛 states. Which of the following statement(s) is/are FALSE?

Q19medium

[GATE CS 2025 Set-1 Q36] Consider a memory system with 1M bytes of main memory and 16K bytes of cache memory. Assume that the processor generates 20-bit memory address, and the cache block size is 16 bytes. If the cache uses direct mapping, how many bits will be required to store all the tag values? [Assume memory is byte addressable, 1K=210, 1M=220 .]

Q20medium

[GATE CS 2025 Set-1 Q37] A processor has 64 general-purpose registers and 50 distinct instruction types. An instruction is encoded in 32-bits. What is the maximum number of bits that can be used to store the immediate operand for the given instruction? ADD R1, #25 // R1 = R1 + 25

...

Quiz Pages

Navigate directly to paginated quiz sets. These links help you revise by page and make every page discoverable.