Skip to content

GATE CS question library

Practise GATE CS Computer Science previous year questions free. Browse by subject, syllabus topic, year and question type, with answers and available solutions.

Subject, topic, year and type filter the full library. Match any choice within a filter, and all selected filter categories. Search, source and sort apply to this page.

20 on this page
Official PYQ1995Engineering MathematicsCalculus: Limits, Continuity, DifferentiabilityNAT · 1 mark
Compute without using power series expansion lim⁡x→0sin⁡xx.\displaystyle \lim_{x \to 0} \frac{\sin x}{x}.
Official PYQ1995Engineering MathematicsSets, Relations and FunctionsNAT · 1 mark
Determine the number of positive integers (≤720)(\leq 720) which are not divisible by any of 2,32,3 or 5.5.
Official PYQ1995Engineering MathematicsMaxima and Minima, Mean Value Theorem, IntegrationNAT · 1 mark
Find the minimum value of 3−4x+2x23-4x+2x^2.
Official PYQ1995AlgorithmsMinimum Spanning TreesNAT · 1 mark
How many minimum spanning trees does the following graph have? Draw them. (Weights are assigned to edges).
Official PYQ1995Engineering MathematicsSets, Relations and FunctionsNAT · 1 mark
Determine the number of divisors of 600.600.
Official PYQ1995Computer Organization and ArchitectureMemory Hierarchy: Cache, Main Memory and Secondary StorageMCQ · 1 mark
A computer system has a 4 K4 \ K word cache organized in block-set-associative manner with 44 blocks per set, 6464 words per block. The number of bits in the SET and WORD fields of the main memory address format is:
Official PYQ1995Theory of ComputationRegular and Context-free LanguagesMCQ · 1 mark
Let Σ={0,1},L=Σ∗\Sigma=\left\{0,1\right\}, L = \Sigma^* and R={0n1n∣n>0}R=\left\{0^n1^n \mid n > 0\right\} then the languages L∪RL \cup R and RR are respectively
Official PYQ1995Digital LogicSequential CircuitsMCQ · 1 mark
A finite state machine with the following state table has a single input xx and a single out zz. …
Official PYQ1995Programming and Data StructuresLinked ListsMCQ · 1 mark
Which of the following statements is true? As the number of entries in a hash table increases, the number of collisions increases. Recursive programs are efficient The worst case complexity for Quicksort is O(n2)O(n^2) Binary search using a linear linked list is efficient
Official PYQ1995Programming and Data StructuresArrays, Stacks and QueuesMCQ · 1 mark
The postfix expression for the infix expression A+B∗(C+D)/F+D∗EA+B*(C+D)/F+D*E is:
Official PYQ1995Theory of ComputationContext-free Grammars and Push-down AutomataMCQ · 1 mark
Which of the following definitions below generate the same language as LL, where L={xnyn such that n≥1}L=\{x^ny^n \text{ such that } n\geq 1 \}? E→xEy∣xyE \rightarrow xEy\mid xy xy∣(x+xyy+x y \mid (x^+xyy^+) x+y+x^+y^+
Official PYQ1995Engineering MathematicsPropositional and First Order LogicMCQ · 1 mark
If the proposition ¬p→q\lnot p \to q is true, then the truth value of the proposition ¬p∨(p→q)\lnot p \lor \left ( p \to q \right ), where ¬\lnot is negation, ∨\lor is inclusive OR and →\to is implication, is
Official PYQ1995Engineering MathematicsCalculus: Limits, Continuity, DifferentiabilityMCQ · 1 mark
The solution of differential equation y′′+3y′+2y=0y''+3y'+2y=0 is of the form
Official PYQ1995Engineering MathematicsMonoids and GroupsMCQ · 1 mark
Let AA be the set of all non-singular matrices over real number and let ∗* be the matrix multiplication operation. Then
Official PYQ1995Operating SystemMemory Management and Virtual MemoryMCQ · 1 mark
In a virtual memory system the address space specified by the address lines of the CPU must be _____ than the physical memory size and ____ than the secondary storage size.
Official PYQ1995Engineering MathematicsProbability: Random Variables and DistributionsMCQ · 1 mark
A bag contains 1010 white balls and 1515 black balls. Two balls are drawn in succession. The probability that one of them is black and the other is white is:
Official PYQ1995Engineering MathematicsLinear Algebra: Matrices, Determinants, System of Linear EquationsMCQ · 1 mark
A unit vector perpendicular to both the vectors a=2i−3j+ka=2i-3j+k and b=i+j−2kb=i+j-2k is:
Official PYQ1995Digital LogicNumber Representations (Fixed and Floating Point)MCQ · 1 mark
The number of 11's in the binary representation of (3∗4096+15∗256+5∗16+3)(3\ast4096 + 15\ast256 + 5\ast16 + 3) are:
Official PYQ1995Compiler DesignSyntax-directed TranslationMCQ · 1 mark
A shift reduce parser carries out the actions specified within braces immediately after reducing with the corresponding rule of grammar S→xxW  print“1"S \rightarrow xxW \;\text{{print“1"}} S→y  print“2"S \rightarrow y \;\text{{print“2"}} W→Sz  print“3"W \rightarrow Sz\; \text{{print“3"}} What is the translation of xxxxyzzxxxxyzz using the syntax directed translation scheme described by the …
Official PYQ1995Engineering MathematicsCalculus: Limits, Continuity, DifferentiabilityMCQ · 1 mark
If the cube roots of unity are 1,ω1, \omega and ω2\omega^2, then the roots of the following equation are (x−1)3+8=0(x-1)^3 +8 =0