GATE CSE 2017 Session 2 question paper with answers
Official paper organised by IIT Roorkee: 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)
- Q1Pair of words that are not synonymsGeneral Aptitude1M · MCQAns: D
- Q2Saturn is ___ to be seen with the naked eyeGeneral Aptitude1M · MCQAns: B
- Q3Five buildings in a row: which is in the middleGeneral Aptitude1M · MCQAns: A
- Q4Number of multiple choice questions in a 100-mark testGeneral Aptitude1M · MCQAns: B
- Q5Probability that two socks drawn are of the same colourGeneral Aptitude1M · MCQAns: D
- Q6Word revealing the author's view of ideology versus literatureGeneral Aptitude2M · MCQAns: B
- Q7Three wrongly labelled boxes of apples and orangesGeneral Aptitude2M · MCQAns: B
- Q8Number of digits in the cube of a 30-digit number starting 47General Aptitude2M · MCQAns: A
- Q9Number of roots of e^x + 0.5x^2 - 2 = 0 in [-5, 5]General Aptitude2M · MCQAns: C
- Q10Air pressure contour plot: most likely thunderstorm regionGeneral Aptitude2M · MCQAns: C
Computer Science and Information Technology (Q11–Q65)
- Q11Hexadecimal BCA9 to octalDigital Logic1M · MCQAns: D
- Q12Match C declarations with their memory meaningProgramming and Data Structures1M · MCQAns: A
- Q13Match Hanoi, binary search, heap sort, matrix addition to complexitiesAlgorithms1M · MCQAns: C
- Q14Closure of context-free languages: union, complement, minus regular, intersectionTheory of Computation1M · MCQAns: B
- Q15Match compiler inputs to the phase that processes themCompiler Design1M · MCQAns: C
- Q16Relative power of canonical LR, SLR and LALR parsersCompiler Design1M · MCQAns: A
- Q17What all threads of a process shareOperating System1M · MCQAns: B
- Q18File allocation schemes with no external fragmentationOperating System1M · MCQAns: D
- Q19True statements about RIP and OSPF routing protocolsComputer Networks1M · MCQAns: C
- Q20Find R and S from a derivative value and a definite integralEngineering Mathematics1M · MCQAns: C
- Q21Translate an English statement about rain, cold and pleasant into logicEngineering Mathematics1M · MCQAns: A
- Q22Decimal value of an IEEE-754 single precision bit patternComputer Organization and Architecture1M · MCQAns: C
- Q23Circular queue as singly linked list with FRONT and REAR pointersProgramming and Data Structures1M · MCQAns: B
- Q24Output of printxy(1,1) with pointer to a parameterProgramming and Data Structures1M · MCQAns: C
- Q25Possible BFS visiting order of a six-node graphAlgorithms1M · MCQAns: D
- Q26Language of S → XY, X → aX | a, Y → aYb | εTheory of Computation1M · MCQAns: C
- Q27When the table for relationship R can be merged into entity ADatabases1M · MCQAns: C
- Q28Connected UDP sockets: multiple peers and calling connect againComputer Networks1M · MCQAns: B
- Q29Records deleted from T1 with cascade and set NULL foreign keysDatabases1M · NATAns: 0
- Q30Maximum router addresses in the IPv4 record route optionComputer Networks1M · NATAns: 9
- Q31Pairs to add to a five-element partial order to make a latticeEngineering Mathematics1M · NATAns: -0.01 to 0.01
- Q32Rank of the sum of two 3×3 matricesEngineering Mathematics1M · NATAns: 2
- Q33Maximum vertices in a graph with 25 edges and minimum degree 3Engineering Mathematics1M · NATAns: 16
- Q34Base b in which x^2 - 13x + 36 = 0 has roots 5 and 6Digital Logic1M · NATAns: 8
- Q35Minimum DFA states for w1 a w2 with |w1| = 2, |w2| ≥ 3Theory of Computation1M · NATAns: 8
- Q36P does not apply given Q does not apply: conditional probabilityEngineering Mathematics2M · MCQAns: A
- Q37Which Boolean identity in w, x, y, z is incorrectDigital Logic2M · MCQAns: C
- Q38Minimum POS form with don't-care conditionsDigital Logic2M · MCQAns: A
- Q39Miss rates of L1 and L2 from a two-level cache AMAT of 2 cyclesComputer Organization and Architecture2M · MCQAns: A
- Q40Solve T(n) = 2T(√n) + 1Algorithms2M · MCQAns: B
- Q41Expectation of Y from its probability generating functionEngineering Mathematics2M · MCQAns: B
- Q42Removing left recursion from an expression grammarCompiler Design2M · MCQAns: C
- Q43Safe state and deadlock check with 9 tape drivesOperating System2M · MCQAns: B
- Q44Minimum Hamming distance and error correction of a 4-codeword codeComputer Networks2M · MCQAns: A
- Q45Transmission and propagation delay for a 50,000-byte fileComputer Networks2M · MCQAns: D
- Q46Post-order traversal of a BST from its pre-order traversalProgramming and Data Structures2M · MCQAns: B
- Q47Precondition for division by repeated subtraction loopProgramming and Data Structures2M · MCQAns: C
- Q48Time complexity of nested loop with step iAlgorithms2M · MCQAns: C
- Q49Extended transition function of an epsilon-NFA on abaTheory of Computation2M · MCQAns: C
- Q50Classifying four languages: regular, CFL, DCFL, recursiveTheory of Computation2M · MCQAns: D
- Q51Which decision problems on regex, CFG and TM are undecidableTheory of Computation2M · MCQAns: D
- Q52T flip-flop inputs for a 2-bit saturating up-counterDigital Logic2M · MCQAns: B
- Q53Output of a bidirectional bubble sort snippetProgramming and Data Structures2M · NATAns: 3
- Q54Number of conflict serializable schedules of two transactionsDatabases2M · NATAns: 54
- Q55Average read access time with split L1 and L2 cachesComputer Organization and Architecture2M · NATAns: 4.72
- Q56SQL query with >ALL on empty set and >ANYDatabases2M · NATAns: 7
- Q57Coefficient difference from the generating function (1+z)/(1-z)^3Engineering Mathematics2M · NATAns: 15
- Q58E[(X+2)^2] for a Poisson variable with mean 5Engineering Mathematics2M · NATAns: 54
- Q59Maximum order of a B+ tree nodeDatabases2M · NATAns: 52
- Q60Expected Huffman-encoded length of a 100-character messageAlgorithms2M · NATAns: 225
- Q61Average waiting time under preemptive priority schedulingOperating System2M · NATAns: 29
- Q62Largest absolute eigenvalue from a characteristic polynomialEngineering Mathematics2M · NATAns: 5
- Q63Tag bits for a direct mapped cache with 512 linesComputer Organization and Architecture2M · NATAns: 18
- Q64Output of pre/post increment and decrement programProgramming and Data Structures2M · NATAns: 0
- Q65strlen with pointer arithmetic and i[p] array indexingProgramming and Data Structures2M · NATAns: 2