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 PYQ2008Engineering MathematicsPropositional and First Order LogicMCQ · 1 mark
Let fsa\text{fsa} and pda\text{pda} be two predicates such that fsa(x)\text{fsa}(x) means xx is a finite state automaton and pda(y)\text{pda}(y) means that yy is a pushdown automaton. Let equivalent\text{equivalent} be another predicate such that equivalent(a,b)\text{equivalent} (a,b) means aa and bb are equivalent. Which of the following first order logic …
Official PYQ2008Engineering MathematicsProbability: Random Variables and DistributionsMCQ · 1 mark
Let XX be a random variable following normal distribution with mean +1+1 and variance 44. Let YY be another normal variable with mean −1-1 and variance unknown. If P(X≤−1)=P(Y≥2)P (X \leq -1) = P (Y \geq 2) , the standard deviation of YY is
Official PYQ2008Engineering MathematicsEigenvalues and Eigenvectors, LU DecompositionMCQ · 1 mark
How many of the following matrices have an eigenvalue 1? [1000][0100][1−111]\left[\begin{array}{cc}1 & 0 \\0 & 0 \end{array} \right]\left[\begin{array}{cc}0 & 1 \\0 & 0 \end{array} \right] \left[\begin{array}{cc}1 & -1 \\1 & 1 \end{array} \right] and [−101−1]\left[\begin{array}{cc}-1 & 0 \\1 & -1 \end{array} \right]
Official PYQ2008Engineering MathematicsConditional Probability and Bayes TheoremMCQ · 1 mark
Aishwarya studies either computer science or mathematics everyday. If she studies computer science on a day, then the probability that she studies mathematics the next day is 0.60.6. If she studies mathematics on a day, then the probability that she studies computer science the next day is 0.40.4. Given that Aishwarya studies computer science on Monday, …
Official PYQ2008Digital LogicBoolean AlgebraMCQ · 1 mark
If P,Q,RP, Q, R are Boolean variables, then (P+Qˉ)(P.Qˉ+P.R)(Pˉ.Rˉ+Qˉ)(P + \bar{Q}) (P.\bar{Q} + P.R) (\bar{P}.\bar{R} + \bar{Q}) simplifies to
Official PYQ2008Engineering MathematicsMaxima and Minima, Mean Value Theorem, IntegrationMCQ · 1 mark
A point on a curve is said to be an extremum if it is a local minimum or a local maximum. The number of distinct extrema for the curve 3x4−16x3+24x2+373x^4-16x^3+24x^2+37 is
Official PYQ2008Engineering MathematicsGraphs: Connectivity, Matching, ColouringMCQ · 1 mark
Which of the following statements is true for every planar graph on nn vertices?
Official PYQ2008Engineering MathematicsCombinatorics: Counting, Recurrence Relations, Generating FunctionsMCQ · 1 mark
Let P=∑i  odd1≤i≤2kiP =\sum \limits_ {i\;\text{odd}}^{1\le i \le 2k} i and Q=∑i  even1≤i≤2kiQ = \sum\limits_{i\;\text{even}}^{1 \le i \le 2k} i, where kk is a positive integer. Then
Official PYQ2008Numerical Methods (Historical)MCQ · 1 mark
The Newton-Raphson iteration xn+1=12(xn+Rxn)x_{n+1} = \frac{1}{2}\left(x_n+\frac{R}{x_n}\right) can be used to compute the
Official PYQ2008Numerical Methods (Historical)MCQ · 1 mark
The minimum number of equal length subintervals needed to approximate ∫12xex dx\int_1^2 xe^x\,dx to an accuracy of at least 13×10−6\frac{1}{3}\times10^{-6} using the trapezoidal rule is
Official PYQ2008Operating SystemFile SystemsMCQ · 1 mark
The data blocks of a very large file in the Unix file system are allocated using
Official PYQ2008AlgorithmsGraph Traversals (BFS, DFS)MCQ · 1 mark
The Breadth First Search algorithm has been implemented using the queue data structure. One possible order of visiting the nodes of the following graph is:
Official PYQ2008Programming and Data StructuresProgramming in CMCQ · 1 mark
Which combination of the integer variables x,y,x, y, and zz makes the variable aa get the value 44 in the following expression? a=(x>y)?((x>z)?x:z):((y>z)?y:z)a=(x > y)?((x > z) ?x:z): ((y > z) ?y:z)
Official PYQ2008Computer NetworksTransport Layer: Flow Control, Congestion Control, UDP, TCP, SocketsMCQ · 1 mark
Which of the following system calls results in the sending of SYN packets?
Official PYQ2008DatabasesFile Organization and Indexing (B and B+ Trees)MCQ · 1 mark
A clustering index is defined on the fields which are of type
Official PYQ2008DatabasesTuple Calculus and SQLMCQ · 1 mark
Which of the following tuple relational calculus expression(s) is/are equivalent to ∀t∈r(P(t))\forall t \in r \left(P\left(t\right)\right)? ¬∃t∈r(P(t))\neg \exists t \in r \left(P\left(t\right)\right) ∃t∉r(P(t))\exists t \notin r \left(P\left(t\right)\right) ¬∃t∈r(¬P(t))\neg \exists t \in r \left(\neg P\left(t\right)\right) ∃t∉r(¬P(t))\exists t \notin r \left(\neg P\left(t\right)\right)
Official PYQ2008Computer NetworksApplication Layer Protocols: DNS, SMTP, HTTP, FTP, EmailMCQ · 1 mark
What is the maximum size of data that the application layer can pass on to the TCP layer below?
Official PYQ2008Theory of ComputationUndecidabilityMCQ · 1 mark
If LL and L‾\overline{L} are recursively enumerable then LL is
Official PYQ2008Compiler DesignLocal OptimizationMCQ · 1 mark
Some code optimizations are carried out on the intermediate code because
Official PYQ2008Theory of ComputationUndecidabilityMCQ · 1 mark
Which of the following are decidable? Whether the intersection of two regular languages is infinite Whether a given context-free language is regular Whether two push-down automata accept the same language Whether a given grammar is context-free