π
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
......