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 PYQ2010DatabasesTransactions and Concurrency ControlMCQ · 1 mark
Which of the following concurrency control protocols ensure both conflict serializability and freedom from deadlock? 22-phase locking Time-stamp ordering
Official PYQ2010DatabasesTuple Calculus and SQLMCQ · 1 mark
A relational schema for a train reservation database is given below. passenger(pid, pname, age) reservation(pid, class, tid) …
Official PYQ2010DatabasesFile Organization and Indexing (B and B+ Trees)MCQ · 1 mark
Consider a B+B^+-tree in which the maximum number of keys in a node is 55. What is the minimum number of keys in any non-root node?
Official PYQ2010Theory of ComputationUndecidabilityMCQ · 1 mark
Let L1L_1 be the recursive language. Let L2L_2 and L3L_3 be languages that are recursively enumerable but not recursive. Which of the following statements is not necessarily true?
Official PYQ2010Web Technologies (Historical)MCQ · 1 mark
Which one of the following is not a client-server application?
Official PYQ2010Compiler DesignRuntime EnvironmentsMCQ · 1 mark
Which languages necessarily need heap allocation in the runtime environment?
Official PYQ2010Compiler DesignLexical AnalysisMCQ · 1 mark
Which data structure in a compiler is used for managing information about variables and their attributes?
Official PYQ2010AlgorithmsAsymptotic Worst Case Time and Space ComplexityMCQ · 1 mark
Two alternative packages AA and BB are available for processing a database having 10k10^k records. Package AA requires 0.0001n20.0001 n^2 time units and package BB requires 10nlog⁡10n10n\log_{10} n time units to process nn records. What is the smallest value of kk for which package BB will be preferred over AA?
Official PYQ2010Programming and Data StructuresProgramming in CMCQ · 1 mark
What does the following program print? #include<stdio.h> void f(int *p, int *q) { p=q; *p=2; } int i=0, j=1; int main() { f(&i, &j); printf("%d %d\n", i,j); return 0; }
Official PYQ2010Programming and Data StructuresTreesMCQ · 1 mark
In a binary tree with nn nodes, every node has an odd number of descendants. Every node is considered to be its own descendant. What is the number of nodes in the tree that have exactly one child?
Official PYQ2010Digital LogicCombinational CircuitsMCQ · 1 mark
The Boolean expression of the output ff of the multiplexer shown below is
Official PYQ2010Digital LogicNumber Representations (Fixed and Floating Point)MCQ · 1 mark
PP is a 1616-bit signed integer. The 22's complement representation of PP is (F87B)16(F87B)_{16}. The 22's complement representation of 8×P8\times P is
Official PYQ2010Digital LogicCombinational CircuitsMCQ · 1 mark
The main memory unit with a capacity of 44 megabytes\text{megabytes} is built using 1M×1-bit1\text{M} \times \text{1-bit} DRAM chips. Each DRAM chip has 1K1\text{K} rows of cells with 1K1\text{K} cells in each row. The time taken for a single refresh operation is 100  nanoseconds100\; \text{nanoseconds}. The time required to perform one refresh operation on all the cells …
Official PYQ2010Digital LogicBoolean AlgebraMCQ · 1 mark
The minterm expansion of f(P,Q,R)=PQ+QRˉ+PRˉf(P,Q,R) = PQ +Q \bar{R}+P\bar{R} is
Official PYQ2010Engineering MathematicsPropositional and First Order LogicMCQ · 1 mark
Suppose the predicate F(x,y,t)F(x, y, t) is used to represent the statement that person xx can fool person yy at time tt. Which one of the statements below expresses best the meaning of the formula, ∀x∃y∃t(¬F(x,y,t))\qquad∀x∃y∃t(¬F(x,y,t))
Official PYQ2010Engineering MathematicsEigenvalues and Eigenvectors, LU DecompositionMCQ · 1 mark
Consider the following matrix A=[23xy]A = \left[\begin{array}{cc}2 & 3\\x & y \end{array}\right] If the eigenvalues of A are 44 and 88, then
Official PYQ2010Engineering MathematicsGraphs: Connectivity, Matching, ColouringMCQ · 1 mark
The degree sequence of a simple graph is the sequence of the degrees of the nodes in the graph in decreasing order. Which of the following sequences can not be the degree sequence of any graph? 7,6,5,4,4,3,2,17, 6, 5, 4, 4, 3, 2, 1 6,6,6,6,3,3,2,26, 6, 6, 6, 3, 3, 2, 2 7,6,6,4,4,3,2,27, 6, 6, 4, 4, 3, 2, 2 8,7,7,6,4,2,1,18, 7, 7, 6, 4, 2, 1, 1
Official PYQ2010Engineering MathematicsProbability: Random Variables and DistributionsMCQ · 1 mark
What is the probability that divisor of 109910^{99} is a multiple of 109610^{96}?
Official PYQ2010Engineering MathematicsProbability: Random Variables and DistributionsMCQ · 1 mark
Consider a company that assembles computers. The probability of a faulty assembly of any computer is pp. The company therefore subjects each computer to a testing process. This testing process gives the correct result for any computer with a probability of qq. What is the probability of a computer being declared faulty?
Official PYQ2010Engineering MathematicsCalculus: Limits, Continuity, DifferentiabilityMCQ · 1 mark
What is the value of lim⁡n→∞(1−1n)2n\displaystyle\lim_{n \to \infty}\left(1 - \frac{1}{n}\right)^{2n} ?