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 PYQ2008AlgorithmsAsymptotic Worst Case Time and Space ComplexityMCQ · 1 mark
The minimum number of comparisons required to determine if an integer appears more than n2\frac{n}{2} times in a sorted array of nn integers is
Official PYQ2008AlgorithmsAsymptotic Worst Case Time and Space ComplexityMCQ · 1 mark
Consider the following functions: f(n)=2nf(n) = 2^n g(n)=n!g(n) = n! h(n)=nlog⁡nh(n) = n^{\log n} Which of the following statements about the asymptotic behavior of f(n)f(n), g(n)g(n) and h(n)h(n) is true?
Official PYQ2008Computer Organization and ArchitectureMemory Hierarchy: Cache, Main Memory and Secondary StorageMCQ · 1 mark
In an instruction execution pipeline, the earliest that the data TLB (Translation Lookaside Buffer) can be accessed is:
Official PYQ2008Computer Organization and ArchitectureInstruction PipeliningMCQ · 1 mark
Which of the following are NOT true in a pipelined processor? Bypassing can handle all RAW hazards Register renaming can eliminate all register carried WAR hazards Control hazard penalties can be eliminated by dynamic branch prediction
Official PYQ2008Computer Organization and ArchitectureMachine Instructions and Addressing ModesMCQ · 1 mark
The use of multiple register windows with overlap causes a reduction in the number of memory accesses for: Function locals and parameters Register saves and restores Instruction fetches
Official PYQ2008Computer Organization and ArchitectureMemory Hierarchy: Cache, Main Memory and Secondary StorageMCQ · 1 mark
For inclusion to hold between two cache levels L1L_1 and L2L_2 in a multi-level cache hierarchy, which of the following are necessary? L1L_1 must be write-through cache L2L_2 must be a write-through cache The associativity of L2L_2 must be greater than that of L1L_1 The L2L_2 cache must be at least as large as the L1L_1 cache
Official PYQ2008Computer Organization and ArchitectureMachine Instructions and Addressing ModesMCQ · 1 mark
Which of the following must be true for the RFE (Return From Exception) instruction on a general purpose processor? It must be a trap instruction It must be a privileged instruction An exception cannot be allowed to occur during execution of an RFE instruction
Official PYQ2008Computer Organization and ArchitectureMachine Instructions and Addressing ModesMCQ · 1 mark
Which of the following is/are true of the auto-increment addressing mode? It is useful in creating self-relocating code If it is included in an Instruction Set Architecture, then an additional ALU is required for effective address calculation The amount of increment depends on the size of the data item accessed
Official PYQ2008Operating SystemI/O SchedulingMCQ · 1 mark
For a magnetic disk with concentric circular tracks, the seek latency is not linearly proportional to the seek distance due to
Official PYQ2008Engineering MathematicsPropositional and First Order LogicMCQ · 1 mark
PP and QQ are two propositions. Which of the following logical expressions are equivalent? P∨¬QP ∨ \neg Q ¬(¬P∧Q)\neg(\neg P ∧ Q) (P∧Q)∨(P∧¬Q)∨(¬P∧¬Q)(P ∧ Q) ∨ (P ∧ \neg Q) ∨ (\neg P ∧ \neg Q) (P∧Q)∨(P∧¬Q)∨(¬P∧Q)(P ∧ Q) ∨ (P ∧ \neg Q) ∨ (\neg P ∧ Q)
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