GATE CSE 2017 Session 1 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)
- Q1Verb tense after a completed past action (Rajendra Chola)General Aptitude1M · MCQAns: C
- Q2Besides vs beside: people work for many reasons ___General Aptitude1M · MCQAns: D
- Q3Four people around a square table: who sits opposite whomGeneral Aptitude1M · MCQAns: C
- Q4Smallest y such that y × 162 is a perfect cubeGeneral Aptitude1M · MCQAns: D
- Q5Probability a k-digit number avoids the digits 0, 5 and 9General Aptitude1M · MCQAns: C
- Q6Author's opinion: nationalist imagination and colonial historyGeneral Aptitude2M · MCQAns: B
- Q7Six people at a circular table: how many womenGeneral Aptitude2M · MCQAns: A
- Q8Value of ((x+y) − |x−y|)/2General Aptitude2M · MCQAns: B
- Q9Shirt choices for four people with colour dislikesGeneral Aptitude2M · MCQAns: D
- Q10Contour plot: which villages are submerged at 525 mGeneral Aptitude2M · MCQAns: C
Computer Science and Information Technology (Q11–Q65)
- Q11Logical equivalent of (¬p) ⇒ (¬q)Engineering Mathematics1M · MCQAns: D
- Q12Sentences implied by ∀x ∃y R(x, y)Engineering Mathematics1M · MCQAns: B
- Q13Ax = b when columns are linearly dependent and b is their sumEngineering Mathematics1M · MCQAns: C
- Q14Order functions by growth: 10, √n, n, log n, 100/nAlgorithms1M · MCQAns: B
- Q15Match Kruskal, Quicksort, Floyd–Warshall to design paradigmsAlgorithms1M · MCQAns: C
- Q16Minimum and maximum height of a BST with 15 nodesProgramming and Data Structures1M · MCQAns: B
- Q17Range of an unsigned n-bit fixed-point number with f fraction bitsComputer Organization and Architecture1M · MCQAns: D
- Q18C linked list join(m, n): what does it doProgramming and Data Structures1M · MCQAns: B
- Q19Overflow condition in 8-bit 2's complement ripple-carry additionDigital Logic1M · MCQAns: C
- Q20Language of S → abScT | abcT, T → bT | bTheory of Computation1M · MCQAns: B
- Q21Addressing mode to access student.grade in a structComputer Organization and Architecture1M · MCQAns: D
- Q22Static single assignment (SSA) form of three-address codeCompiler Design1M · MCQAns: B
- Q23C code with malloc and assignval: which problem occursProgramming and Data Structures1M · MCQAns: D
- Q24TCP client state while waiting for the server's FINComputer Networks1M · MCQAns: D
- Q25Birthday attack on a digitally signed message: who can do itComputer Networks1M · MCQAns: B
- Q26Irreducible (minimal) cover of FDs on R(V, W, X, Y, Z)Databases1M · MCQAns: A
- Q27FOLLOW(Q) for P → xQRS, Q → yz | z, R → w | ε, S → yCompiler Design1M · MCQAns: C
- Q28What threads of a process share: heap and global variablesOperating System1M · MCQAns: D
- Q29Median of Y = max(X, 0) for a zero-mean Gaussian XEngineering Mathematics1M · NATAns: 0
- Q30Sum of degrees in a tree with 10 verticesEngineering Mathematics1M · NATAns: 18
- Q31K-map with don't cares: minimum number of 2-input NOR gatesDigital Logic1M · NATAns: 1
- Q32Minimum DFA states for (a+b)*b(a+b)Theory of Computation1M · NATAns: 4
- Q33SQL: average of per-department employee countsDatabases1M · NATAns: 2.6
- Q34SRTF scheduling: average waiting time for four processesOperating System1M · NATAns: 3
- Q35L2 cache miss rate from misses per 1000 instructionsComputer Organization and Architecture1M · NATAns: 0.05
- Q36Distinct positive weights: unique MST? unique shortest paths?Algorithms2M · MCQAns: A
- Q37Minimum threads and non-reentrant locks for a possible deadlockOperating System2M · MCQAns: D
- Q38Limit of (x⁷ − 2x⁵ + 1)/(x³ − 3x² + 2) as x → 1Engineering Mathematics2M · MCQAns: C
- Q39If (p → q) → r is a contradiction, what is (r → p) → qEngineering Mathematics2M · MCQAns: D
- Q40α such that u + αv bisects the angle between u and vEngineering Mathematics2M · MCQAns: A
- Q41Eigenvalues of a rank-2 symmetric matrix with sum of squared entries 50Engineering Mathematics2M · MCQAns: B
- Q42CRC check bits for message 01011011 with generator x^3 + x + 1Computer Networks2M · MCQAns: C
- Q43T and D flip-flops in a loop: outputs Q1Q0 after 3rd and 4th clock cyclesDigital Logic2M · MCQAns: B
- Q44Which string is not generated by S → SaS | aSb | bSa | SS | εTheory of Computation2M · MCQAns: D
- Q45Output of mutually recursive fun1(5) and fun2 with printfProgramming and Data Structures2M · MCQAns: A
- Q46foo(3) with val-- recursion and bar(3) with val-1: termination behaviourProgramming and Data Structures2M · MCQAns: C
- Q47Intersection of L(G1) with S → aSb | T and L(G2) with S → bSa | T, T → cT | εTheory of Computation2M · MCQAns: B
- Q48Union and intersection of a^n b^n c^m and a^m b^n c^n: which are CFLsTheory of Computation2M · MCQAns: A
- Q49f computable iff L_f = {x#f(x)} is recursiveTheory of Computation2M · MCQAns: A
- Q50Belady's anomaly: random page replacement and LRUOperating System2M · MCQAns: B
- Q51Which tuple relational calculus queries on EMP and DEPT are safeDatabases2M · MCQAns: D
- Q52Deadlock prevention: if TS(T2) < TS(T1) kill T1 else T2 waitsDatabases2M · MCQAns: A
- Q53Number of control flow paths in a program with ten if-then-else statementsCompiler Design2M · NATAns: 1024
- Q54RSA private key for p = 13, q = 17 and public key 35Computer Networks2M · NATAns: 11
- Q55Stop-and-Wait ARQ efficiency: 1 Mbps, 1980-byte frame, 0.75 ms propagationComputer Networks2M · NATAns: 86.5 to 89.5
- Q56Rows in CR ÷ courses taken by SA (relational division)Databases2M · NATAns: 4
- Q57Integers from 1 to 500 divisible by 3 or 5 or 7Engineering Mathematics2M · NATAns: 271
- Q58Worst-case probes to find the first 1 in a sorted 0/1 array of 31 elementsAlgorithms2M · NATAns: 5
- Q59PC-relative branch offset back to instruction i from beq at i+3Computer Organization and Architecture2M · NATAns: -16
- Q60Speedup of efficient pipeline (OF split 12/8 ns) over naive 5-stage pipelineComputer Organization and Architecture2M · NATAns: 1.49 to 1.52
- Q61Conflict misses in a 2-way set-associative 256-block LRU cache, sequence repeated 10 timesComputer Organization and Architecture2M · NATAns: 76
- Q62Minimum registers for (a − 1) * (((b + c) / 3) + d) on a load/store machineCompiler Design2M · NATAns: 2
- Q63printlength with unsigned strlen difference: output for "abc" and "defgh"Programming and Data Structures2M · NATAns: 3
- Q64TAG bits when a direct-mapped cache (10-bit tag) becomes 16-way set-associativeComputer Organization and Architecture2M · NATAns: 14
- Q65Output of C program summing total(i) with a static bit-count accumulatorProgramming and Data Structures2M · NATAns: 23