πŸ“š

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 12 of 15 β€’ Questions 111-120 of 142
Q111medium

[GATE CS 2024 Set-1 Q52] Consider the operators β—Š and β–‘ defined by π‘Žβ—Šπ‘ = π‘Ž+2𝑏, π‘Žβ–‘π‘ = π‘Žπ‘, for positive integers. Which of the following statements is/are TRUE?

Q112medium

[GATE CS 2024 Set-1 Q53] Consider two set-associative cache memory architectures: WBC, which uses the write back policy, and WTC, which uses the write through policy. Both of them use the LRU (Least Recently Used) block replacement policy. The cache memory is connected to the main memory. Which of the following statements is/are TRUE?

Q113medium

[GATE CS 2024 Set-2 Q11] intervals. Which one of the following is the data transfer rate (in bits per second) of the DMA controller if 1% of the processor cycles are used for DMA?

Q114medium

[GATE CS 2024 Set-2 Q12] Let 𝑝 and π‘žβ‘be the following propositions: 𝑝: Fail grade can be given. π‘ž: Student scores more than 50% marks. Consider the statement: β€œFail grade cannot be given when student scores more than 50% marks.” Which one of the following is the CORRECT representation of the above statement in propositional logic?

Q115medium

[GATE CS 2024 Set-2 Q13] Consider the following C program. Assume parameters to a function are evaluated from right to left. #include <stdio.h> int g(int p) { printf("%d", p); return p; } int h(int q) { printf("%d", q); return q; } void f(int x, int y) { g(x); h(y); } int main() { f(g(10),h(20)); } Which one of the following options is the CORRECT output of the above C program?

Q116medium

[GATE CS 2024 Set-2 Q14] The format of a single-precision floating-point number as per the IEEE 754 standard is: Sign Exponent Mantissa (1bit) (8 bits) (23 bits) Choose the largest floating-point number among the following options. Sign Exponent Mantissa 0 0111 1111 1111 1111 1111 1111 1111 111

Q117medium

[GATE CS 2024 Set-2 Q15] Let 𝑇(𝑛) be the recurrence relation defined as follows: 𝑇(0) = 1, 𝑇(1) = 2, and 𝑇(𝑛) = 5𝑇(π‘›βˆ’1)βˆ’6𝑇(π‘›βˆ’2) for 𝑛 β‰₯ 2 Which one of the following statements is TRUE?

Q118medium

[GATE CS 2024 Set-2 Q16] Let 𝑓(π‘₯) be a continuous function from ℝ to ℝ such that 𝑓(π‘₯) = 1βˆ’π‘“(2βˆ’π‘₯) 2 Which one of the following options is the CORRECT value of ∫ 𝑓(π‘₯)𝑑π‘₯ ? 0

Q119medium

[GATE CS 2024 Set-2 Q17] Let 𝐴 be the adjacency matrix of a simple undirected graph 𝐺. Suppose 𝐴 is its own inverse. Which one of the following statements is always TRUE?

Q120medium

[GATE CS 2024 Set-2 Q18] When six unbiased dice are rolled simultaneously, the probability of getting all distinct numbers (i.e., 1, 2, 3, 4, 5, and 6) is 1

......

Quiz Pages

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