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 PYQ1989Engineering MathematicsPropositional and First Order LogicMSQ · 1 mark
Which of the following well-formed formulas are equivalent?
Official PYQ1989Theory of ComputationRegular and Context-free LanguagesMSQ · 1 mark
Context-free languages and regular languages are both closed under the operation (s) of :
Official PYQ1989Programming and Data StructuresProgramming in CMCQ · 1 mark
An unrestricted use of the "go to" statement is harmful because of which of the following reason (s):
Official PYQ1989Compiler DesignRuntime EnvironmentsMSQ · 1 mark
In which of the following case(s) is it possible to obtain different results for call-by-reference and call-by-name parameter passing?
Official PYQ1989AlgorithmsSearching, Sorting, HashingMCQ · 1 mark
A hash table with ten buckets with one slot per bucket is shown in the following figure. The symbols S1S1 to S7S7 initially entered using a hashing function with linear probing. The maximum number of comparisons needed in searching an item that is not present is
Official PYQ1988Compiler DesignRuntime EnvironmentsNAT · 1 mark
What is printed by following program, assuming call-by reference method of passing parameters for all variables in the parameter list of procedure P? program Main(inout, output); var a, b:integer; procedure P(x, y, z:integer); begin y:=y+1 z:=x+x end P; begin a:=2; b:=3; p(a+b, a, a); Write(a) end.
Official PYQ1988Digital LogicNumber Representations (Fixed and Floating Point)NAT · 1 mark
Define the value of rr in the following: (41)r=(7)10\sqrt {(41)_{r}} = (7)_{10}
Official PYQ1987Digital LogicMinimization (K-Maps etc.)MCQ · 1 mark
A Boolean function ff is to be realized only by NOR\text{NOR} gates. Its KK-map is given below: The realization is
Official PYQ1987Digital LogicSequential CircuitsMCQ · 1 mark
The below figure shows four D\text{D}-type flip-flops connected as a shift register using a XOR\text{XOR} gate. The initial state and three subsequent states for three clock pulses are also given. …
Official PYQ1987Digital LogicBoolean AlgebraMCQ · 1 mark
The Boolean expression A⊕B⊕AA \oplus B \oplus A is equivalent to
Official PYQ1987DatabasesNormal FormsNAT · 1 mark
State whether the following statements are TRUE or FALSE: A relation rr with schema (X,Y)(X, Y) satisfies the function dependency X→YX \rightarrow Y, The tuples ⟨1,2⟩\langle 1, 2\rangle and ⟨2,2⟩\langle 2, 2 \rangle can both be in rr simultaneously.
Official PYQ1987Theory of ComputationTuring MachinesNAT · 1 mark
State whether the following statements are TRUE or FALSE: The problem as to whether a Turing machine MM accepts input ww is undecidable.
Official PYQ1987Theory of ComputationTuring MachinesNAT · 1 mark
State whether the following statement are TRUE or FALSE. AA is recursive if both AA and its complement are accepted by Turing machines.
Official PYQ1987Theory of ComputationContext-free Grammars and Push-down AutomataNAT · 1 mark
State whether the following statements are TRUE or FALSE: The intersection of two CFL's is also a CFL.
Official PYQ1987Theory of ComputationRegular Expressions and Finite AutomataNAT · 1 mark
State whether the following statements are TRUE or FALSE: A minimal DFA that is equivalent to an NDFA with nn nodes has always 2n2^{n} states.
Official PYQ1987Theory of ComputationRegular and Context-free LanguagesNAT · 1 mark
State whether the following statements are TRUE or FALSE: Regularity is preserved under the operation of string reversal.
Official PYQ1987Theory of ComputationRegular and Context-free LanguagesNAT · 1 mark
State whether the following statements are TRUE or FALSE: All subsets of regular sets are regular.
Official PYQ1987Programming and Data StructuresTreesNAT · 1 mark
State whether the following statements are TRUE or FALSE: If the number of leaves in a tree is not a power of 2,2, then the tree is not a binary tree.
Official PYQ1987Engineering MathematicsSets, Relations and FunctionsNAT · 1 mark
State whether the following statements are TRUE or FALSE: The union of two equivalence relations is also an equivalence relation.
Official PYQ1987Programming and Data StructuresTreesNAT · 1 mark
State whether the following statements are TRUE or FALSE: It is possible to construct a binary tree uniquely whose pre-order and post-order traversals are given?