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.
General Aptitude (Q1–Q10)
- Q1Fill in the verb: expenditure on the project ___ as followsGeneral Aptitude1M · MCQAns: C
- Q2Fill in the verb: search engine's business model ___ around the fulcrum of trustGeneral Aptitude1M · MCQAns: A
- Q3Two cars at 50 km/h and 60 km/h: time for a 20 km gapGeneral Aptitude1M · MCQAns: B
- Q4Ten friends share a gift cost; two drop out and others pay Rs 150 moreGeneral Aptitude1M · MCQAns: C
- Q5Analogy: a court is to a judge as ___ is to a teacherGeneral Aptitude1M · MCQAns: D
- Q6Four criminals P, Q, R, S: only one statement true, who committed the crimeGeneral Aptitude2M · MCQAns: B
- Q7Venn-style diagram of teachers, researchers, administrators: percentage of administratorsGeneral Aptitude2M · MCQAns: C
- Q8Inference from passage on begging as a symptom of state failureGeneral Aptitude2M · MCQAns: B
- Q9Three college clubs and 75% in no club: total number of studentsGeneral Aptitude2M · MCQAns: C
- Q10Hostel floor plans: choose allocation meeting requests of X, Y and ZGeneral Aptitude2M · MCQAns: D
Computer Science and Information Technology (Q11–Q65)
- Q11Fully associative 16 kB cache, 16-byte blocks, 32-bit address: tag and index bitsComputer Organization and Architecture1M · MCQAns: D
- Q12Chip select AND gate on A15–A11: address range enabledComputer Organization and Architecture1M · MCQAns: A
- Q13Kind of derivation used by LR parsersCompiler Design1M · MCQAns: D
- Q1416-bit two's complement representation of −28Digital Logic1M · MCQAns: C
- Q15Size of A = {(x, X) | x ∈ X, X ⊆ U}: n·2^(n−1) vs sum k·C(n,k)Engineering Mathematics1M · MCQAns: C
- Q16Which XOR identity is NOT validDigital Logic1M · MCQAns: B
- Q17Regular L over {a,b}: which derived language is NOT regularTheory of Computation1M · MCQAns: B
- Q18Z = X − Y in sign-magnitude, n-bit operands: minimum bits for ZDigital Logic1M · MCQAns: C
- Q19Square matrix: X invertible vs determinant of X non-zeroEngineering Mathematics1M · MCQAns: D
- Q20Group relations: conjugacy a = g⁻¹bg and a = b⁻¹ — which are equivalence relationsEngineering Mathematics1M · MCQAns: B
- Q21Strict 2PL recoverability and Thomas' write rule view serializabilityDatabases1M · MCQAns: C
- Q22Number of Hamiltonian cycles in complete graph Kn, n > 2Engineering Mathematics1M · MCQAns: C (or D)
- Q23Limit of (x⁴ − 81)/(2x² − 5x − 3) as x → 3Engineering Mathematics1M · MCQAns: C
- Q24Which statement about B+ tree indexes is NOT correctDatabases1M · MCQAns: B
- Q25Pumping length for L = {a^(2+3k)} ∪ {b^(10+12k)}Theory of Computation1M · MCQAns: D
- Q26Protocol pair to send and retrieve e-mailsComputer Networks1M · MCQAns: B
- Q27fork() inside loop for even i from 0 to 9: number of child processesOperating System1M · NATAns: 31
- Q28C program with jumble(x, y) = 2x + y called twice: value printedProgramming and Data Structures1M · NATAns: 26
- Q29FOLLOW set of B in S → Aa, A → BD, B → b | ε, D → d | εCompiler Design1M · NATAns: 31
- Q30Quicksort on 25 distinct elements: probability pivot lands in worst locationAlgorithms1M · NATAns: 0.08
- Q31Value of 3^51 mod 5Engineering Mathematics1M · NATAns: 2
- Q32Two numbers from {1,…,13}: probability their 4-bit MSBs matchEngineering Mathematics1M · NATAns: 0.502 to 0.504
- Q33Race on shared D = 100 with D+20, D−50, D+10: max minus min final valueOperating System1M · NATAns: 80
- Q34Pointer ip = arr + 4: value of ip[1]Programming and Data Structures1M · NATAns: 6
- Q35Maximum subarray sum of a 14-element sequenceAlgorithms1M · NATAns: 29
- Q36Recursive convert(n) with n/2 and n%2: behaviour for positive nProgramming and Data Structures2M · MCQAns: D
- Q37Static counter r() used in for-loop init, condition, update and bodyProgramming and Data Structures2M · MCQAns: B
- Q38Which of three machines share a subnet with mask 255.255.255.252Computer Networks2M · MCQAns: C
- Q39How a machine finds the MAC address of another machine in its subnetComputer Networks2M · MCQAns: C
- Q40Output of an AND–XOR circuit on three sum-of-minterm functionsDigital Logic2M · MCQAns: A
- Q41Which language over {a, b} is NOT context-freeTheory of Computation2M · MCQAns: C
- Q42BCNF and dependency preservation of decomposing PQRS into PR and QRSDatabases2M · MCQAns: C
- Q43Virtual addresses translatable without a TLB miss with 128 TLB entriesOperating System2M · MCQAns: B
- Q44Which sets of languages and programs are uncountableTheory of Computation2M · MCQAns: B
- Q45Which sets satisfy a first-order formula about primesEngineering Mathematics2M · MCQAns: C
- Q46Placeholders for inherited type attributes in a declaration grammarCompiler Design2M · MCQAns: A
- Q47Worst-case time to find the median of medians of n arrays of size nAlgorithms2M · MCQAns: C
- Q48Conditions that guarantee a unique minimum spanning treeAlgorithms2M · MCQAns: C
- Q49Condition guaranteeing only processes p and q can completeOperating System2M · MCQAns: A
- Q50True statements about max-heaps and binary search treesProgramming and Data Structures2M · MCQAns: A
- Q51Unknown burst time from average waiting time under SRTFOperating System2M · NATAns: 2
- Q52Maximum file size with 12 direct, single- and double-indirect inode pointersOperating System2M · NATAns: 3.7 to 3.8 (or 4 to 4.1)
- Q53Number of items in GOTO(I0, '(') for an LR(0) list grammarCompiler Design2M · NATAns: 5
- Q54Absolute product of eigenvalues of a 4x4 Vandermonde-type matrixEngineering Mathematics2M · NATAns: 12
- Q55Maximum memory bandwidth for block transfers on a 60 MHz memory systemComputer Organization and Architecture2M · NATAns: 160
- Q56Expected distance between two random leaves of a full binary tree with 8 leavesEngineering Mathematics2M · NATAns: 4.25
- Q57Probability a quadratic with uniform random coefficient has real rootsEngineering Mathematics2M · NATAns: 0.8
- Q58Minimum DFA states for strings of permutations composing to identityTheory of Computation2M · NATAns: 120
- Q59Minimum number of 8-port switches to connect 15 machinesComputer Networks2M · NATAns: 3
- Q60Minimum 2-input NOR gates for a 4-variable functionDigital Logic2M · NATAns: 3
- Q61Rows returned by GROUP BY on a cross product without join conditionDatabases2M · NATAns: 5
- Q62Number of times sum is printed in a float halving loopProgramming and Data Structures2M · NATAns: 5
- Q63Output of a C pointer arithmetic loop over an arrayProgramming and Data Structures2M · NATAns: 10
- Q64RSA prime factor from modulus 3007 and totient 2880Engineering Mathematics2M · NATAns: 97
- Q65Tuples returned by difference of two relational algebra projectionsDatabases2M · NATAns: 1