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 PYQ2009Theory of ComputationRegular and Context-free LanguagesMCQ · 1 mark
Let πA\pi_A be a problem that belongs to the class NP. Then which one of the following is TRUE?
Official PYQ2009AlgorithmsShortest Paths (Dijkstra, Bellman-Ford)MCQ · 1 mark
Which of the following statement(s) is/are correct regarding Bellman-Ford shortest path algorithm? P: Always finds a negative weighted cycle, if one exists. Q: Finds whether any negative weighted cycle is reachable from the source.
Official PYQ2009Theory of ComputationContext-free Grammars and Push-down AutomataMCQ · 1 mark
S→aSa∣bSb∣a∣bS \to aSa \mid bSb\mid a\mid b The language generated by the above grammar over the alphabet {a,b}\{a,b\} is the set of:
Official PYQ2009AlgorithmsSearching, Sorting, HashingMCQ · 1 mark
What is the number of swaps required to sort nn elements using selection sort, in the worst case?
Official PYQ2009Operating SystemMemory Management and Virtual MemoryMCQ · 1 mark
The essential content(s) in each entry of a page table is / are
Official PYQ2009Operating SystemMemory Management and Virtual MemoryMCQ · 1 mark
In which one of the following page replacement policies, Belady's anomaly may occur?
Official PYQ2009Computer Organization and ArchitectureI/O Interface: Interrupt and DMA ModeMCQ · 1 mark
A CPU generally handles an interrupt by executing an interrupt service routine:
Official PYQ2009Digital LogicCombinational CircuitsMCQ · 1 mark
How many 32K×132K \times 1 RAM chips are needed to provide a memory capacity of 256K256K bytes?
Official PYQ2009Digital LogicCombinational CircuitsMCQ · 1 mark
What is the minimum number of gates required to implement the Boolean function (AB+C)\text{(AB+C)} if we have to use only 2-input NOR2\text{-input NOR} gates?
Official PYQ2009Digital LogicNumber Representations (Fixed and Floating Point)MCQ · 1 mark
(1217)8(1217)_8 is equivalent to
Official PYQ2009Engineering MathematicsGraphs: Connectivity, Matching, ColouringMCQ · 1 mark
Which one of the following is TRUE for any simple connected undirected graph with more than 22 vertices?
Official PYQ2009Engineering MathematicsPropositional and First Order LogicMCQ · 1 mark
Consider the following well-formed formulae: ¬∀x(P(x))\neg \forall x(P(x)) ¬∃x(P(x))\neg \exists x(P(x)) ¬∃x(¬P(x))\neg \exists x(\neg P(x)) ∃x(¬P(x))\exists x(\neg P(x)) Which of the above are equivalent?
Official PYQ2009Engineering MathematicsMaxima and Minima, Mean Value Theorem, IntegrationMCQ · 1 mark
∫0π/4(1−tan⁡x)/(1+tan⁡x) dx\int^{\pi/4}_0 (1-\tan x)/(1+\tan x)\,dx
Official PYQ2009Engineering MathematicsPropositional and First Order LogicMCQ · 1 mark
The binary operation □\Box is defined as follows PQP□QTTTTFTFTFFFT\begin{array}{|c|c|c|} \hline \textbf{P} & \textbf{Q} & \textbf{P} \Box \textbf{Q}\\ \hline \text{T} & \text{T}& \text{T}\\ \hline \text{T} & \text{F}& \text{T} \\ \hline \text{F} & \text{T}& \text{F}\\ \hline \text{F} & \text{F}& \text{T} \\ \hline \end{array} …
Official PYQ2009Engineering MathematicsPropositional and First Order LogicMCQ · 1 mark
Which one of the following is the most appropriate logical formula to represent the statement? "Gold and silver ornaments are precious". The following notations are used: G(x):xG(x): x is a gold ornament S(x):xS(x): x is a silver ornament P(x):xP(x): x is precious
Official PYQ2009Engineering MathematicsMonoids and GroupsMCQ · 1 mark
For the composition table of a cyclic group shown below: …
Official PYQ2009Engineering MathematicsConditional Probability and Bayes TheoremMCQ · 1 mark
An unbalanced dice (with 66 faces, numbered from 11 to 66) is thrown. The probability that the face value is odd is 90%90\% of the probability that the face value is even. The probability of getting any even numbered face is the same. If the probability that the face is even given that it is greater than 33 is 0.750.75, which one of the …
Official PYQ2009Engineering MathematicsSets, Relations and FunctionsMCQ · 1 mark
Consider the binary relation R={(x,y),(x,z),(z,x),(z,y)}R = \left\{(x,y), (x,z), (z,x), (z,y)\right\} on the set {x,y,z}\{x,y,z\}. Which one of the following is TRUE?
Official PYQ2009Engineering MathematicsGraphs: Connectivity, Matching, ColouringMCQ · 1 mark
What is the chromatic number of an nn vertex simple connected graph which does not contain any odd length cycle? Assume n>2n > 2.
Official PYQ2009Engineering MathematicsMonoids and GroupsMCQ · 1 mark
Which one of the following is NOT necessarily a property of a Group?