Skip to content
GATEiit

GATE CSE 2019 question paper with answers

Official paper organised by IIT Madras: 65 questions, 100 marks. Every answer is from the official final answer key. Open any question to try it, see the answer and the concept behind it.

Practise this paper free →Official question paper (PDF)Official answer key (PDF)

General Aptitude (Q1–Q10)

  1. Q1Fill in the verb: expenditure on the project ___ as followsGeneral Aptitude1M · MCQAns: C
  2. Q2Fill in the verb: search engine's business model ___ around the fulcrum of trustGeneral Aptitude1M · MCQAns: A
  3. Q3Two cars at 50 km/h and 60 km/h: time for a 20 km gapGeneral Aptitude1M · MCQAns: B
  4. Q4Ten friends share a gift cost; two drop out and others pay Rs 150 moreGeneral Aptitude1M · MCQAns: C
  5. Q5Analogy: a court is to a judge as ___ is to a teacherGeneral Aptitude1M · MCQAns: D
  6. Q6Four criminals P, Q, R, S: only one statement true, who committed the crimeGeneral Aptitude2M · MCQAns: B
  7. Q7Venn-style diagram of teachers, researchers, administrators: percentage of administratorsGeneral Aptitude2M · MCQAns: C
  8. Q8Inference from passage on begging as a symptom of state failureGeneral Aptitude2M · MCQAns: B
  9. Q9Three college clubs and 75% in no club: total number of studentsGeneral Aptitude2M · MCQAns: C
  10. Q10Hostel floor plans: choose allocation meeting requests of X, Y and ZGeneral Aptitude2M · MCQAns: D

Computer Science and Information Technology (Q11–Q65)

  1. Q11Fully associative 16 kB cache, 16-byte blocks, 32-bit address: tag and index bitsComputer Organization and Architecture1M · MCQAns: D
  2. Q12Chip select AND gate on A15–A11: address range enabledComputer Organization and Architecture1M · MCQAns: A
  3. Q13Kind of derivation used by LR parsersCompiler Design1M · MCQAns: D
  4. Q1416-bit two's complement representation of −28Digital Logic1M · MCQAns: C
  5. Q15Size of A = {(x, X) | x ∈ X, X ⊆ U}: n·2^(n−1) vs sum k·C(n,k)Engineering Mathematics1M · MCQAns: C
  6. Q16Which XOR identity is NOT validDigital Logic1M · MCQAns: B
  7. Q17Regular L over {a,b}: which derived language is NOT regularTheory of Computation1M · MCQAns: B
  8. Q18Z = X − Y in sign-magnitude, n-bit operands: minimum bits for ZDigital Logic1M · MCQAns: C
  9. Q19Square matrix: X invertible vs determinant of X non-zeroEngineering Mathematics1M · MCQAns: D
  10. Q20Group relations: conjugacy a = g⁻¹bg and a = b⁻¹ — which are equivalence relationsEngineering Mathematics1M · MCQAns: B
  11. Q21Strict 2PL recoverability and Thomas' write rule view serializabilityDatabases1M · MCQAns: C
  12. Q22Number of Hamiltonian cycles in complete graph Kn, n > 2Engineering Mathematics1M · MCQAns: C (or D)
  13. Q23Limit of (x⁴ − 81)/(2x² − 5x − 3) as x → 3Engineering Mathematics1M · MCQAns: C
  14. Q24Which statement about B+ tree indexes is NOT correctDatabases1M · MCQAns: B
  15. Q25Pumping length for L = {a^(2+3k)} ∪ {b^(10+12k)}Theory of Computation1M · MCQAns: D
  16. Q26Protocol pair to send and retrieve e-mailsComputer Networks1M · MCQAns: B
  17. Q27fork() inside loop for even i from 0 to 9: number of child processesOperating System1M · NATAns: 31
  18. Q28C program with jumble(x, y) = 2x + y called twice: value printedProgramming and Data Structures1M · NATAns: 26
  19. Q29FOLLOW set of B in S → Aa, A → BD, B → b | ε, D → d | εCompiler Design1M · NATAns: 31
  20. Q30Quicksort on 25 distinct elements: probability pivot lands in worst locationAlgorithms1M · NATAns: 0.08
  21. Q31Value of 3^51 mod 5Engineering Mathematics1M · NATAns: 2
  22. Q32Two numbers from {1,…,13}: probability their 4-bit MSBs matchEngineering Mathematics1M · NATAns: 0.502 to 0.504
  23. Q33Race on shared D = 100 with D+20, D−50, D+10: max minus min final valueOperating System1M · NATAns: 80
  24. Q34Pointer ip = arr + 4: value of ip[1]Programming and Data Structures1M · NATAns: 6
  25. Q35Maximum subarray sum of a 14-element sequenceAlgorithms1M · NATAns: 29
  26. Q36Recursive convert(n) with n/2 and n%2: behaviour for positive nProgramming and Data Structures2M · MCQAns: D
  27. Q37Static counter r() used in for-loop init, condition, update and bodyProgramming and Data Structures2M · MCQAns: B
  28. Q38Which of three machines share a subnet with mask 255.255.255.252Computer Networks2M · MCQAns: C
  29. Q39How a machine finds the MAC address of another machine in its subnetComputer Networks2M · MCQAns: C
  30. Q40Output of an AND–XOR circuit on three sum-of-minterm functionsDigital Logic2M · MCQAns: A
  31. Q41Which language over {a, b} is NOT context-freeTheory of Computation2M · MCQAns: C
  32. Q42BCNF and dependency preservation of decomposing PQRS into PR and QRSDatabases2M · MCQAns: C
  33. Q43Virtual addresses translatable without a TLB miss with 128 TLB entriesOperating System2M · MCQAns: B
  34. Q44Which sets of languages and programs are uncountableTheory of Computation2M · MCQAns: B
  35. Q45Which sets satisfy a first-order formula about primesEngineering Mathematics2M · MCQAns: C
  36. Q46Placeholders for inherited type attributes in a declaration grammarCompiler Design2M · MCQAns: A
  37. Q47Worst-case time to find the median of medians of n arrays of size nAlgorithms2M · MCQAns: C
  38. Q48Conditions that guarantee a unique minimum spanning treeAlgorithms2M · MCQAns: C
  39. Q49Condition guaranteeing only processes p and q can completeOperating System2M · MCQAns: A
  40. Q50True statements about max-heaps and binary search treesProgramming and Data Structures2M · MCQAns: A
  41. Q51Unknown burst time from average waiting time under SRTFOperating System2M · NATAns: 2
  42. Q52Maximum file size with 12 direct, single- and double-indirect inode pointersOperating System2M · NATAns: 3.7 to 3.8 (or 4 to 4.1)
  43. Q53Number of items in GOTO(I0, '(') for an LR(0) list grammarCompiler Design2M · NATAns: 5
  44. Q54Absolute product of eigenvalues of a 4x4 Vandermonde-type matrixEngineering Mathematics2M · NATAns: 12
  45. Q55Maximum memory bandwidth for block transfers on a 60 MHz memory systemComputer Organization and Architecture2M · NATAns: 160
  46. Q56Expected distance between two random leaves of a full binary tree with 8 leavesEngineering Mathematics2M · NATAns: 4.25
  47. Q57Probability a quadratic with uniform random coefficient has real rootsEngineering Mathematics2M · NATAns: 0.8
  48. Q58Minimum DFA states for strings of permutations composing to identityTheory of Computation2M · NATAns: 120
  49. Q59Minimum number of 8-port switches to connect 15 machinesComputer Networks2M · NATAns: 3
  50. Q60Minimum 2-input NOR gates for a 4-variable functionDigital Logic2M · NATAns: 3
  51. Q61Rows returned by GROUP BY on a cross product without join conditionDatabases2M · NATAns: 5
  52. Q62Number of times sum is printed in a float halving loopProgramming and Data Structures2M · NATAns: 5
  53. Q63Output of a C pointer arithmetic loop over an arrayProgramming and Data Structures2M · NATAns: 10
  54. Q64RSA prime factor from modulus 3007 and totient 2880Engineering Mathematics2M · NATAns: 97
  55. Q65Tuples returned by difference of two relational algebra projectionsDatabases2M · NATAns: 1