πŸ“š

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?

......

Quiz Pages

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