GATE CSE 2018 question paper with answers
Official paper organised by IIT Guwahati: 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 blanks: there, their, they'reGeneral Aptitude1M · MCQAns: B
- Q2Word for an unorganised investigationGeneral Aptitude1M · MCQAns: A
- Q3Area of circle on the diagonal of a square of area dGeneral Aptitude1M · MCQAns: D
- Q4Smallest number leaving remainder 7 on division by 20, 42, 76General Aptitude1M · MCQAns: C
- Q5Missing number in 2, 12, 60, 240, 720, 1440, _, 0General Aptitude1M · MCQAns: B
- Q6Total gift money given to senior citizensGeneral Aptitude2M · MCQAns: B
- Q7Value of xyz from three exponential equationsGeneral Aptitude2M · MCQAns: C
- Q8Ratio of males to females among party attendeesGeneral Aptitude2M · MCQAns: B
- Q9Sum of angles DEC and BFC in a figureGeneral Aptitude2M · MCQAns: A
- Q10Most likely outcome of rolling a die with 4 green and 2 red faces 7 timesGeneral Aptitude2M · MCQAns: C
Computer Science and Information Technology (Q11–Q65)
- Q11Generating function of the sequence a_n = 2n + 3Engineering Mathematics1M · MCQAns: D
- Q12C struct accessed through a char pointerProgramming and Data Structures1M · MCQAns: A
- Q13Queue on a singly linked list: enqueue at head, dequeue at tailProgramming and Data Structures1M · MCQAns: B
- Q14XOR / XNOR identity that is NOT correctDigital Logic1M · MCQAns: D
- Q15Characteristics used in RISC processor designComputer Organization and Architecture1M · MCQAns: D
- Q16States of minimal DFA equivalent to an n-state NFATheory of Computation1M · MCQAns: D
- Q17Closure property of recursively enumerable languagesTheory of Computation1M · MCQAns: B
- Q18FALSE statement about compiler phasesCompiler Design1M · MCQAns: B
- Q19Order of events when an interrupt is servicedOperating System1M · MCQAns: A
- Q20Page fault rate from effective memory access timeOperating System1M · MCQAns: B
- Q21Many-to-one relationship with total participation in ER modelDatabases1M · MCQAns: A
- Q22SQL join whose output is a superset of the other joinsDatabases1M · MCQAns: D
- Q23Bit lengths of UDP port, MAC address, IPv6 Next Header, TCP sequence numberComputer Networks1M · MCQAns: C
- Q24cwnd growth during TCP slow startComputer Networks1M · MCQAns: C
- Q25Probability that a dice game is won on the third trialEngineering Mathematics1M · NATAns: 0.021 to 0.024
- Q26Definite integral of x cos(x^2) from 0 to pi/4Engineering Mathematics1M · NATAns: 0.27 to 0.3
- Q27Largest eigenvalue of the rank-one matrix u v^TEngineering Mathematics1M · NATAns: 3
- Q28Chromatic number of a six-vertex graphEngineering Mathematics1M · NATAns: 3
- Q29Largest proper subgroup of a group of order 84Engineering Mathematics1M · NATAns: 42
- Q30Height of binary tree from postorder and inorder traversalsProgramming and Data Structures1M · NATAns: 4
- Q31Number of recursive calls counted in a C programProgramming and Data Structures1M · NATAns: 4
- Q32Self-loop states in a two flip-flop shift registerDigital Logic1M · NATAns: 2
- Q33Percentage of time available for read/write with DRAM refreshComputer Organization and Architecture1M · NATAns: 59 to 60
- Q34Largest maximum demand K that avoids deadlockOperating System1M · NATAns: 2
- Q35Wrap-around time of TCP sequence numbers at 1 GbpsComputer Networks1M · NATAns: 34 to 35
- Q36Matrix whose only eigenvectors are multiples of one vectorEngineering Mathematics2M · MCQAns: D
- Q37Which sets of numbers and functions are countableEngineering Mathematics2M · MCQAns: D
- Q38Model sizes of an exists-forall first-order sentenceEngineering Mathematics2M · MCQAns: A
- Q39Swapping string pointers by value and by address in CProgramming and Data Structures2M · MCQAns: A
- Q40Cross edges in DFS tree and level differences in BFS treeAlgorithms2M · MCQAns: A
- Q41Explicitly computed pairs in optimal matrix chain parenthesization of five matricesAlgorithms2M · MCQAns: C
- Q42Value returned by nested halving loops for input 2^40Programming and Data Structures2M · MCQAns: B
- Q43Which decimals are exactly representable in 5.3 unsigned fixed pointDigital Logic2M · MCQAns: C
- Q44Tag field length for a K-way set-associative cacheComputer Organization and Architecture2M · MCQAns: B
- Q45Which of four a^m b^n c^p d^q languages are context-freeTheory of Computation2M · MCQAns: B
- Q46Decidability of four problems on grammars, Turing machines and NFAsTheory of Computation2M · MCQAns: D
- Q47Token sequence from longest-match lexer on bbaacabcCompiler Design2M · MCQAns: D
- Q48Precedence and associativity of the dollar and hash operators from a parse treeCompiler Design2M · MCQAns: A
- Q49Banker's algorithm safety check for four processes and resources E, F, GOperating System2M · MCQAns: A
- Q50Placing empty/full semaphores in a producer-consumer solutionOperating System2M · MCQAns: C
- Q51Query not equivalent to r join selection on s using left outer joinDatabases2M · MCQAns: C
- Q52Which registration schema is in 3NF but not BCNFDatabases2M · MCQAns: B
- Q53Degree plus ten times components in adjacent-swap permutation graphEngineering Mathematics2M · NATAns: 109
- Q54Bayes' theorem: Guwahati high temperature given Delhi high temperatureEngineering Mathematics2M · NATAns: 0.6 to 0.62
- Q55Number of prints by recursive Count(1024,1024)Programming and Data Structures2M · NATAns: 10230
- Q56Number of distinct min-heaps on the values 1 to 7Programming and Data Structures2M · NATAns: 80
- Q57Choosing x to maximize number of minimum spanning treesAlgorithms2M · NATAns: 4
- Q58Optimal minus greedy value for 0/1 knapsack with capacity 11Algorithms2M · NATAns: 16
- Q59Essential prime implicants of a 4-variable function with don't caresDigital Logic2M · NATAns: 3
- Q60Clock cycles for 100 instructions with variable-length PO stageComputer Organization and Architecture2M · NATAns: 219
- Q61Maximum number of 1F instructions in a 16-bit expanding opcodeComputer Organization and Architecture2M · NATAns: 32
- Q62Order of a unary language accepted by a three-state automatonTheory of Computation2M · NATAns: 2
- Q63Power consumed by SSTF disk scheduling with reversal costOperating System2M · NATAns: 85
- Q64Fragment offset of the third IPv4 fragment with MTU 600Computer Networks2M · NATAns: 144
- Q65Maximum distance for carrier sense to avoid a collisionComputer Networks2M · NATAns: 50