π
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 11 of 15 β’ Questions 101-110 of 142
Q101medium
[GATE CS 2024 Set-1 Q42] Consider the following recurrence relation: βππ(βπ)+π for π β₯ 1, π(π) = { 1 for π = 1. Which one of the following options is CORRECT?
Q102medium
[GATE CS 2024 Set-1 Q43] Consider a binary min-heap containing 105 distinct elements. Let π be the index (in the underlying array) of the maximum element stored in the heap. The number of possible values of π is
Q103medium
[GATE CS 2024 Set-1 Q44] The symbol β indicates functional dependency in the context of a relational database. Which of the following options is/are TRUE?
Q104medium
[GATE CS 2024 Set-1 Q45] Let πΊ be a directed graph and π a depth first search (DFS) spanning tree in πΊ that is rooted at a vertex π£. Suppose π is also a breadth first search (BFS) tree in πΊ, rooted at π£. Which of the following statements is/are TRUE for every such graph πΊ and tree π ?
Q105medium
[GATE CS 2024 Set-1 Q46] Consider the following read-write schedule π over three transactions π , π , and π , where the subscripts in the schedule indicate transaction IDs: 1 2 3 π: π (π§); π€ (π§); π (π₯); π (π¦); π€ (π¦); π (π¦); π€ (π₯); π€ (π¦); 1 1 2 3 3 2 2 2 Which of the following transaction schedules is/are conflict equivalent to π ?
Q106medium
[GATE CS 2024 Set-1 Q47] Consider a Boolean expression given by πΉ(π,π,π) = β(3,5,6,7). Which of the following statements is/are CORRECT?
Q107medium
[GATE CS 2024 Set-1 Q48] Consider the following C function definition. int f(int x, int y) { for (int i=0; i<y; i++) { x=x+x+y; } return x; } Which of the following statements is/are TRUE about the above function?
Q108medium
[GATE CS 2024 Set-1 Q49] Let π΄ be any πΓπ matrix, where π > π. Which of the following statements is/are TRUE about the system of linear equations π΄π₯ = 0 ?
Q109medium
[GATE CS 2024 Set-1 Q50] Consider the 5-state DFA π accepting the language πΏ(π) β (0 + 1)β shown below. For any string π€ β (0 + 1)β let π (π€) be the number of 0β²π in π€ and 0 π (π€) be the number of 1β²π in π€. 1 Which of the following statements is/are FALSE?
Q110medium
[GATE CS 2024 Set-1 Q51] The chromatic number of a graph is the minimum number of colours used in a proper colouring of the graph. Let πΊ be any graph with π vertices and chromatic number π. Which of the following statements is/are always TRUE?
......