GATE CS 2020 question paper
The official GATE CS 2020 paper, set by IIT Delhi. PrepWiser has 57 of its questions, each with the answer from the official answer key.
Download free PDF with answer key
This paper in numbers
57 of the paper's 65 questions (87 of 100 marks) on PrepWiser. 27 one-mark and 30 two-mark questions.
- Question types: 39 MCQ · 0 MSQ · 18 NAT
- General Aptitude: 9 questions, 13 marks
- Core CS: 48 questions, 74 marks
| Subject | Questions | Marks |
|---|---|---|
| Engineering Mathematics | 8 | 13 |
| General Aptitude | 9 | 13 |
| Programming and Data Structures | 7 | 11 |
| Algorithms | 5 | 8 |
| Operating System | 5 | 8 |
| Theory of Computation | 5 | 8 |
| Computer Organization and Architecture | 4 | 6 |
| Databases | 4 | 6 |
| Digital Logic | 4 | 6 |
| Compiler Design | 3 | 4 |
| Computer Networks | 3 | 4 |
General Aptitude
- Q1. Raman is confident of speaking English ______ six months as he has been practising…
- Q2. His knowledge of the subject was excellent but his classroom performance was ______.
- Q3. Select the word that fits the analogy: Cook : Cook :: Fly : ______
- Q4. The dawn of the 21st century witnessed the melting glaciers oscillating between giving…
- Q5. There are multiple routes to reach from node 1 to node 2, as shown in the network…
- Q6. Goods and Services Tax (GST) is an indirect tax introduced in India in 2017 that is…
- Q7. If P = 3, R = 27, T = 243, then Q + S = ______.
- Q8. The figure below shows an annular ring with outer and inner radii as b and a…
- Q9. Two straight lines are drawn perpendicular to each other in X-Y plane. If α and β are…
Engineering Mathematics
- Q11. Consider the functions I. e⁻ˣ II. x² - sin x III. √(x³ + 1) Which of the above functions…
- Q27. Let R be the set of all binary relations on the set {1,2,3}. Suppose a relation is…
- Q28. Let G be a group of 35 elements. Then the largest possible size of a subgroup of G other…
- Q37. Let A and B be two n × n matrices over real numbers. Let rank(M) and det(M) denote the…
- Q49. Which one of the following predicate formulae is NOT logically valid? Note that W is a…
- Q52. The number of permutations of the characters in LILAC so that no character appears in…
- Q55. For n > 2, let a ∈ {0,1}ⁿ be a non-zero vector. Suppose that x is chosen uniformly at…
- Q62. Graph G is obtained by adding vertex s to K_(3,4) and making s adjacent to every vertex…
Algorithms
- Q12. For parameters a and b, both of which are ω(1), T(n) = T(n^(1/a)) + 1, and T(b) = 1…
- Q33. Consider a double hashing scheme in which the primary hash function is h₁(k) = k mod 23…
- Q41. Let G = (V, E) be a weighted undirected graph and let T be a Minimum Spanning Tree (MST)…
- Q50. Let G=(V,E) be a directed, weighted graph with weight function w: E → ℝ. For some…
- Q59. Consider a graph G = (V, E), where V = {v₁, v₂, …, v₁₀₀}, E = {(vᵢ, vⱼ) | 1 ≤ i < j ≤…
Computer Organization and Architecture
- Q13. Consider the following statements. I. Daisy chaining is used to assign priorities in…
- Q14. Consider the following data path diagram. Single-bus CPU data path. A horizontal line…
- Q40. A computer system with a word length of 32 bits has a 16 MB byte-addressable main memory…
- Q54. A processor has 64 registers and uses 16-bit instruction format. It has two types of…
Programming and Data Structures
- Q15. The preorder traversal of a binary search tree is 15, 10, 12, 11, 20, 18, 16, 19. Which…
- Q16. What is the worst case time complexity of inserting n² elements into an AVL-tree with n…
- Q32. Consider the following C program. #include <stdio.h> int main() int a[4][5]=1, 2, 3, 4…
- Q51. In a balanced binary search tree with n elements, what is the worst case time complexity…
- Q56. Consider the following C functions. int fun1(int n) static int i = 0; if (n > 0) ++i…
- Q57. Consider the array representation of a binary min-heap containing 1023 elements. The…
- Q58. Consider the following C functions. int tob(int b, int* arr) int i; for(i=0; b>0; i++)…
Theory of Computation
- Q18. Consider the following statements. I. If L₁ ∪ L₂ is regular, then both L₁ and L₂ must be…
- Q20. Consider the language L = {aⁿ | n ≥ 0} ∪ {aⁿ bⁿ | n ≥ 0} and the following statements…
- Q36. Which of the following languages are undecidable? Note that ⟨ M ⟩ indicates encoding of…
- Q42. Consider the following languages. L₁ = {wxyx | w, x, y ∈ (0+1)⁺}L₂ = {xy | x, y ∈…
- Q61. Consider the following language. L = {x ∈ {a,b}^* | number of a's in x is divisible by 2…
Compiler Design
- Q19. Consider the following statements. (I) Symbol table is accessed only during lexical…
- Q34. Consider the following grammar. S → aSB | dB → b The number of reduction steps taken by…
- Q43. Consider the productions A → PQ and A → XY. Each of the five non-terminals A, P, Q, X…
Operating System
- Q21. Consider allocation of memory to a new process. Assume that none of the existing holes…
- Q22. Consider the following statements about process state transitions for a system using…
- Q44. Each of a set of n processes executes the following code using two semaphores a and b…
- Q45. Consider the following five disk access requests of the form (request id, cylinder…
- Q60. Consider the following set of processes, assumed to have arrived at time 0. Consider the…
Databases
- Q23. Consider a relational database containing the following schemas. Catalogue sno | pno |…
- Q24. Which one of the following is used to represent the supporting many-one relationships of…
- Q46. Consider a relational table R that is in 3NF, but not in BCNF. Which one of the…
- Q47. Consider a schedule of transactions T₁ and T₂: T₁ | RA | RC | WD | WB | Commit; T₂ | RB…
Computer Networks
- Q25. Consider the following statements about the functionality of an IP based router. (I) A…
- Q35. Assume that you have made a request for a web page through your web browser to a web…
- Q48. An organization requires a range of IP addresses to assign one to each of its 1500…
Digital Logic
- Q29. A multiplexer is placed between a group of 32 registers and an accumulator to regulate…
- Q30. If there are m input lines and n output lines for a decoder that is used to uniquely…
- Q38. Consider the Boolean function z(a,b,c). Logic circuit with three inputs a, b, c on the…
- Q39. Consider three registers R1, R2, and R3 that store numbers in IEEE-754 single precision…