GATE CS 2024, set 1 question paper
The official GATE CS 2024 set 1 paper, set by IISc Bangalore. PrepWiser has 59 of its questions, each with the answer from the official answer key.
Download free PDF with answer key
This paper in numbers
59 of the paper's 65 questions (88 of 100 marks) on PrepWiser. 30 one-mark and 29 two-mark questions.
- Question types: 24 MCQ · 20 MSQ · 15 NAT
- General Aptitude: 8 questions, 11 marks
- Core CS: 51 questions, 77 marks
| Subject | Questions | Marks |
|---|---|---|
| Engineering Mathematics | 9 | 12 |
| General Aptitude | 8 | 11 |
| Operating System | 6 | 10 |
| Computer Networks | 6 | 9 |
| Computer Organization and Architecture | 5 | 8 |
| Databases | 6 | 8 |
| Programming and Data Structures | 5 | 7 |
| Theory of Computation | 4 | 7 |
| Digital Logic | 4 | 6 |
| Algorithms | 3 | 5 |
| Compiler Design | 3 | 5 |
General Aptitude
- Q1. If '→' denotes increasing order of intensity, then the meaning of the words [dry → arid…
- Q2. If two distinct non-zero real variables x and y are such that (x+y) is proportional to…
- Q3. Consider the following sample of numbers: 9, 18, 11, 14, 15, 17, 10, 69, 11, 13 The…
- Q4. The number of coins of ₹1, ₹5, and ₹10 denominations that a person has are in the ratio…
- Q5. For positive non-zero real variables p and q, if log (p²+q²) = log p + log q + 2 log 3…
- Q6. In the given text, the blanks are numbered (i)−(iv). Select the best match for all the…
- Q7. A rectangular paper sheet of dimensions 54 cm × 4 cm is taken. The two longer edges of…
- Q8. The pie chart presents the percentage contribution of different macronutrients to a…
Engineering Mathematics
- Q11. Let f: ℝ → ℝ be a function such that f(x) = max{x, x³}, x ∈ ℝ, where ℝ is the set of all…
- Q12. The product of all eigenvalues of the matrix [1, 2, 3; 4, 5, 6; 7, 8, 9] is
- Q14. Consider a permutation sampled uniformly at random from the set of all permutations of…
- Q27. Let A and B be two events in a probability space with P(A) = 0.3, P(B) = 0.5, and P(A ∩…
- Q32. Let A and B be non-empty finite sets such that there exist one-to-one and onto functions…
- Q34. The number of spanning trees in a complete graph of 4 vertices labelled A, B, C, and D…
- Q49. Let A be any n × m matrix, where m > n. Which of the following statements is/are TRUE…
- Q51. The chromatic number of a graph is the minimum number of colours used in a proper…
- Q52. Consider the operators and defined by a b = a + 2b, a b = ab, for positive integers…
Digital Logic
- Q13. Consider a system that uses 5 bits for representing signed integers in 2's complement…
- Q28. Consider the circuit shown below where the gates may have propagation delays. Assume…
- Q47. Consider a Boolean expression given by F(X, Y, Z) = Σ(3,5,6,7). Which of the following…
- Q64. Consider a digital logic circuit consisting of three 2-to-1 multiplexers M1, M2, and M3…
Computer Organization and Architecture
- Q15. Which one of the following statements is FALSE?
- Q30. Consider a 5-stage pipelined processor with Instruction Fetch (IF), Instruction Decode…
- Q53. Consider two set-associative cache memory architectures: WBC , which uses the write back…
- Q55. The baseline execution time of a program on a 2 GHz single core machine is 100…
- Q56. A given program has 25% load/store instructions. Suppose the ideal CPI (cycles per…
Computer Networks
- Q16. A user starts browsing a webpage hosted at a remote server. The browser opens a single…
- Q29. TCP client P successfully establishes a connection to TCP server Q. Let N_P denote the…
- Q31. Which of the following fields is/are modified in the IP header of a packet going out of…
- Q36. Consider a network path P—Q—R between nodes P and R via router Q. Node P sends a file of…
- Q58. Consider the entries shown below in the forwarding table of an IP router. Each entry…
- Q65. Consider sending an IP datagram of size 1420 bytes (including 20 bytes of IP header)…
Algorithms
- Q17. Given an integer array of size N, we want to check if the array is sorted (in either…
- Q45. Let G be a directed graph and T a depth first search (DFS) spanning tree in G that is…
- Q60. The number of edges present in the forest generated by the DFS traversal of an…
Programming and Data Structures
- Q18. Consider the following C program: #include <stdio.h> int main(){ int a = 6; int b = 0…
- Q19. Consider the following C program: #include <stdio.h> void fX(); int main() fX(); return…
- Q33. Consider the operator precedence and associativity rules for the integer arithmetic…
- Q43. Consider a binary min-heap containing 105 distinct elements. Let k be the index (in the…
- Q48. Consider the following C function definition. int f(int x, int y) { for (int i=0; i<y…
Databases
- Q20. Let S be the specification: "Instructors teach courses. Students register for courses…
- Q21. In a B+ tree, the requirement of at least half-full (50%) node occupancy is relaxed for…
- Q22. Which of the following statements about a relation R in first normal form (1NF) is/are…
- Q35. Consider the following two relations, R(A,B) and S(A,C): R A | B; 10 | 20; 20 | 30; 30 |…
- Q44. The symbol → indicates functional dependency in the context of a relational database…
- Q46. Consider the following read-write schedule S over three transactions T₁, T₂, and T₃…
Theory of Computation
- Q23. Let L₁, L₂ be two regular languages and L₃ a language which is not regular. Which of the…
- Q50. Consider the 5-state DFA M accepting the language L(M) ⊂ (0+1)^* shown below. For any…
- Q59. Let G = (V, Σ, S, P) be a context-free grammar in Chomsky Normal Form with Σ = {a, b, c}…
- Q61. Consider the following two regular expressions over the alphabet {0,1}: r = 0^* + 1^*s =…
Operating System
- Q24. Which of the following statements about threads is/are TRUE?
- Q25. Which of the following process state transitions is/are NOT possible?
- Q40. Consider the following two threads T1 and T2 that update two shared variables a and b…
- Q54. Consider a 512 GB hard disk with 32 storage surfaces. There are 4096 sectors per track…
- Q57. Consider the following code snippet using the fork() and wait() system calls. Assume…
- Q62. Consider a memory management system that uses a page size of 2 KB. Assume that both the…