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 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
Official PYQ1995AlgorithmsAsymptotic Worst Case Time and Space ComplexityMCQ · 1 mark
A language with string manipulation facilities uses the following operations head(s): first character of a string tail(s): all but exclude the first character of a string concat(s1, s2): s1s2 For the string "acbcacbc" what will be the output of concat(head(s), head(tail(tail(s))))
Official PYQ1995Operating SystemMemory Management and Virtual MemoryMCQ · 1 mark
The address sequence generated by tracing a particular program executing in a pure demand based paging system with 100100 records per page with 11 free main memory frame is recorded as follows. What is the number of page faults? 0100,0200,0430,0499,0510,0530,0560,0120,0220,0240,0260,0320,03700100, 0200, 0430, 0499, 0510, 0530, 0560, 0120, 0220, 0240, 0260, 0320, 0370
Official PYQ1995Operating SystemCPU SchedulingMCQ · 1 mark
The sequence __________ is an optimal non-preemptive scheduling sequence for the following jobs which leaves the CPU idle for ________ unit(s) of time. …
Official PYQ1995Digital LogicBoolean AlgebraMCQ · 1 mark
What values of A,B,CA, B, C and DD satisfy the following simultaneous Boolean equations? A‾+AB=0,AB=AC,AB+AC‾+CD=C‾D\overline{A} + AB =0, AB=AC, AB+A\overline{C}+CD=\overline{C}D
Official PYQ1995Compiler DesignRuntime EnvironmentsMCQ · 1 mark
What is the value of XX printed by the following program? program COMPUTE (input, output); var X:integer; procedure FIND (X:real); begin X:=sqrt(X); end; begin X:=2 FIND(X); writeln(X); end.
Official PYQ1995AlgorithmsAsymptotic Worst Case Time and Space ComplexityMCQ · 1 mark
Assume that XX and YY are non-zero positive integers. What does the following Pascal program segment do? while X <> Y do if X > Y then X := X - Y else Y := Y - X; write(X);
Official PYQ1995Digital LogicCombinational CircuitsMCQ · 1 mark
The capacity of a memory unit is defined by the number of words multiplied by the number of bits/word. How many separate address and data lines are needed for a memory of 4K×164K \times 16?
Official PYQ1995Engineering MathematicsGraphs: Connectivity, Matching, ColouringMCQ · 1 mark
The minimum number of edges in a connected cyclic graph on nn vertices is:
Official PYQ1995Engineering MathematicsLinear Algebra: Matrices, Determinants, System of Linear EquationsMCQ · 1 mark
The rank of the following (n+1)×(n+1)(n+1) \times (n+1) matrix, where aa is a real number is …
Official PYQ1995Engineering MathematicsMaxima and Minima, Mean Value Theorem, IntegrationMCQ · 1 mark
In the interval [0,π][0, \pi] the equation x=cos⁡xx=\cos x has