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.

15 on this page
Official PYQ1994Programming and Data StructuresLinked ListsMCQ · 1 mark
Linked lists are not suitable data structures for which one of the following problems?
Official PYQ1994Engineering MathematicsCombinatorics: Counting, Recurrence Relations, Generating FunctionsMCQ · 1 mark
The number of substrings (of all lengths inclusive) that can be formed from a character string of length nn is
Official PYQ1994Programming and Data StructuresArrays, Stacks and QueuesMCQ · 1 mark
Which of the following permutations can be obtained in the output (in the same order) using a stack assuming that the input is the sequence 1, 2, 3, 4, 5\text{1, 2, 3, 4, 5} in that order?
Official PYQ1994Compiler DesignIntermediate Code GenerationMCQ · 1 mark
Generation of intermediate code based on an abstract machine model is useful in compilers because
Official PYQ1994Programming and Data StructuresArrays, Stacks and QueuesMCQ · 1 mark
In a compact single dimensional array representation for lower triangular matrices (i.e all the elements above the diagonal are zero) of size n×nn \times n, non-zero elements, (i.e elements of lower triangle) of each row are stored one after another, starting from the first row, the index of the (i,j)th(i, j)^{th} element of the lower triangular matrix in this …
Official PYQ1994Operating SystemMemory Management and Virtual MemoryMCQ · 1 mark
A memory page containing a heavily used variable that was initialized very early and is in constant use is removed then
Official PYQ1994Engineering MathematicsMonoids and GroupsMCQ · 1 mark
Some group (G,o)(G, o) is known to be abelian. Then, which one of the following is true for GG?
Official PYQ1994Engineering MathematicsLinear Algebra: Matrices, Determinants, System of Linear EquationsMCQ · 1 mark
The rank of matrix [00−3935311]\begin{bmatrix} 0 & 0 & -3 \\ 9 & 3 & 5 \\ 3 & 1 & 1 \end{bmatrix} is:
Official PYQ1994AlgorithmsAsymptotic Worst Case Time and Space ComplexityMCQ · 1 mark
The recurrence relation that arises in relation with the complexity of binary search is:
Official PYQ1994Digital LogicCombinational CircuitsMCQ · 1 mark
The logic expression for the output of the circuit shown in figure below is:
Official PYQ1994Engineering MathematicsGraphs: Connectivity, Matching, ColouringMCQ · 1 mark
The number of distinct simple graphs with up to three nodes is
Official PYQ1994Programming and Data StructuresProgramming in CMCQ · 1 mark
An unrestricted use of the "gotogoto" statement is harmful because
Official PYQ1994Engineering MathematicsConditional Probability and Bayes TheoremMCQ · 1 mark
Let AA and BB be any two arbitrary events, then, which one of the following is TRUE?
Official PYQ1994Engineering MathematicsLinear Algebra: Matrices, Determinants, System of Linear EquationsMCQ · 1 mark
Let AA and BB be real symmetric matrices of size n×nn \times n. Then which one of the following is true?
Official PYQ1994Programming and Data StructuresProgramming in CMCQ · 1 mark
In which of the following cases is it possible to obtain different results for call-by-reference and call-by-name parameter passing methods?