πŸ“š

GATE CS - Previous Year Questions

Previous-year GATE CS prompts for practice β€” options only until official keys are verified

142 questions15 pages~213 min

Practice with previous-year prompts and options. Official answer keys are not shown here yet β€” mark your choice, then verify against the IIT key PDF.

Use this track for exam reading speed and elimination practice until verified keys are linked.

Progress: 0 / 1420%
Page 12 of 15 β€’ Questions 111-120 of 142
Practice mode: questions and options only. Official IIT answer keys are not linked here yet β€” mark your choice, then cross-check the official key yourself.
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