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
Which of the following well-formed formulas are equivalent?
Context-free languages and regular languages are both closed under the operation (s) of :
An unrestricted use of the "go to" statement is harmful because of which of the following reason (s):
In which of the following case(s) is it possible to obtain different results for call-by-reference and call-by-name parameter passing?
A hash table with ten buckets with one slot per bucket is shown in the following figure. The symbols to initially entered using a hashing function with linear probing. The maximum number of comparisons needed in searching an item that is not present is
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.
Define the value of in the following:
A Boolean function is to be realized only by gates. Its -map is given below: The realization is
The below figure shows four -type flip-flops connected as a shift register using a gate. The initial state and three subsequent states for three clock pulses are also given. …
The Boolean expression is equivalent to
State whether the following statements are TRUE or FALSE: A relation with schema satisfies the function dependency , The tuples and can both be in simultaneously.
State whether the following statements are TRUE or FALSE: The problem as to whether a Turing machine accepts input is undecidable.
State whether the following statement are TRUE or FALSE. is recursive if both and its complement are accepted by Turing machines.
State whether the following statements are TRUE or FALSE: The intersection of two CFL's is also a CFL.
State whether the following statements are TRUE or FALSE: A minimal DFA that is equivalent to an NDFA with nodes has always states.
State whether the following statements are TRUE or FALSE: Regularity is preserved under the operation of string reversal.
State whether the following statements are TRUE or FALSE: All subsets of regular sets are regular.
State whether the following statements are TRUE or FALSE: If the number of leaves in a tree is not a power of then the tree is not a binary tree.
State whether the following statements are TRUE or FALSE: The union of two equivalence relations is also an equivalence relation.
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?
