GATE CS 2012 question paper
The official GATE CS 2012 paper, set by IIT Delhi. PrepWiser has 49 of its questions, each with the answer from the official answer key.
Download free PDF with answer key
This paper in numbers
49 of the paper's 65 questions (73 of 100 marks) on PrepWiser. 25 one-mark and 24 two-mark questions.
- Question types: 49 MCQ · 0 MSQ · 0 NAT
- General Aptitude: 8 questions, 12 marks
- Core CS: 41 questions, 61 marks
| Subject | Questions | Marks |
|---|---|---|
| General Aptitude | 8 | 12 |
| Engineering Mathematics | 8 | 11 |
| Databases | 6 | 10 |
| Programming and Data Structures | 6 | 10 |
| Operating System | 5 | 9 |
| Computer Networks | 4 | 5 |
| Theory of Computation | 4 | 5 |
| Algorithms | 3 | 4 |
| Digital Logic | 3 | 4 |
| Computer Organization and Architecture | 2 | 3 |
Engineering Mathematics
- Q1. Consider the following logical inferences. I₁: If it rains then the cricket match will…
- Q11. Let A be the 2 × 2 matrix with elements a₁₁ = a₁₂ = a₂₁ = +1 and a₂₂ = -1. Then the…
- Q13. What is the correct translation of the following statement into mathematical logic?…
- Q17. Let G be a simple undirected planar graph on 10 vertices with 15 edges. If G is a…
- Q21. Consider a random variable X that takes values +1 and -1 with probability 0.5 each. The…
- Q28. The bisection method is applied to compute a zero of the function f(x) = x⁴ - x³ - x² -…
- Q33. Suppose a fair six-sided die is rolled once. If the value on the die is 1, 2, or 3, the…
- Q37. How many onto (or surjective) functions are there from an n-element (n ≥ 2) set to a…
Databases
- Q2. Which of the following is TRUE ?
- Q14. Given the basic ER and relational models, which of the following is INCORRECT ?
- Q27. Consider the following transactions with data items P and Q initialized to zero: T1…
- Q43. Suppose R₁(A, B) and R₂(C, D) are two relation schemas. Let r₁ and r₂ be the…
- Q50. Common Data for Questions 50 and 51: Consider the following relations A, B and C: A Id |…
- Q51. Common Data for Questions 50 and 51: Consider the following relations A, B and C: A Id |…
Algorithms
- Q4. Assuming P ≠ NP, which of the following is TRUE ?
- Q18. Let W(n) and A(n) denote respectively, the worst case and average case running time of…
- Q40. Consider the directed graph shown in the figure below. There are multiple shortest paths…
Programming and Data Structures
- Q5. The worst case running time to search for an element in a balanced binary search tree…
- Q16. The recurrence relation capturing the optimal execution time of the Towers of Hanoi…
- Q35. Suppose a circular queue of capacity (n-1) elements is implemented with an array of n…
- Q47. The height of a tree is defined as the number of edges on the longest path in the tree…
- Q48. Common Data for Questions 48 and 49: Consider the following C code segment. int a, b, c…
- Q49. Common Data for Questions 48 and 49: Consider the following C code segment. int a, b, c…
Digital Logic
- Q6. The truth table X | Y | f(X, Y); 0 | 0 | 0; 0 | 1 | 0; 1 | 0 | 1; 1 | 1 | 1 represents…
- Q19. The amount of ROM needed to implement a 4 bit multiplier is
- Q30. What is the minimal form of the Karnaugh map shown below? Assume that X denotes a don't…
Operating System
- Q8. A process executes the code fork(); fork(); fork(); The total number of child processes…
- Q31. Consider the 3 processes, P1, P2 and P3 shown in the table. Process | Arrival time |…
- Q32. Fetch_And_Add(X,i) is an atomic Read-Modify-Write instruction that reads the value of…
- Q41. A file system with 300 GByte disk uses a file descriptor with 8 direct block addresses…
- Q42. Consider the virtual page reference string 1, 2, 3, 2, 4, 1, 3, 2, 4, 1 on a demand…
Computer Networks
- Q10. The protocol data unit (PDU) for the application layer in the Internet stack is
- Q22. Which of the following transport layer protocols is used to support electronic mail?
- Q23. In the IPv4 addressing format, the number of networks allowed under Class C addresses is
- Q34. An Internet Service Provider (ISP) has the following chunk of CIDR-based IP addresses…
Theory of Computation
- Q12. What is the complement of the language accepted by the NFA shown below? Assume Σ = {a}…
- Q24. Which of the following problems are decidable? 1) Does a given program ever produce an…
- Q25. Given the language L = {ab, aa, baa}, which of the following strings are in L^*? 1)…
- Q46. Consider the set of strings on {0,1} in which, every substring of 3 symbols has at most…
Computer Organization and Architecture
- Q20. Register renaming is done in pipelined processors
- Q54. Statement for Linked Answer Questions 54 and 55: A computer has a 256 KByte, 4-way set…
General Aptitude
- Q56. The cost function for a product in a firm is given by 5q², where q is the amount of…
- Q57. Choose the most appropriate alternative from the options given below to complete the…
- Q58. Which one of the following options is the closest in meaning to the word given below?…
- Q59. Choose the grammatically INCORRECT sentence:
- Q61. Wanted Temporary, Part-time persons for the post of Field Interviewer to conduct…
- Q62. A political party orders an arch for the entrance to the ground in which the annual…
- Q64. Which of the following assertions are CORRECT ? P: Adding 7 to each entry in a list adds…
- Q65. Given the sequence of terms, AD CG FK JP, the next term is