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 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} ?
Official PYQ2010Engineering MathematicsMonoids and GroupsMCQ · 1 mark
Consider the set S={1,ω,ω2}S = \{1, ω, ω^2\}, where ωω and ω2ω^2 are cube roots of unity. If ∗* denotes the multiplication operation, the structure (S,∗)(S, *) forms
Official PYQ2010Engineering MathematicsSets, Relations and FunctionsMCQ · 1 mark
What is the possible number of reflexive relations on a set of 55 elements?
Official PYQ2010Engineering MathematicsGraphs: Connectivity, Matching, ColouringMCQ · 1 mark
Let G=(V,E)G=(V, E) be a graph. Define ξ(G)=∑did∗d\xi(G) = \sum\limits_d i_d*d, where idi_d is the number of vertices of degree dd in G.G. If SS and TT are two different trees with ξ(S)=ξ(T)\xi(S) = \xi(T), then
Official PYQ2009Operating SystemI/O SchedulingMCQ · 1 mark
A hard disk has 6363 sectors per track, 1010 platters each with 22 recording surfaces and 10001000 cylinders. The address of a sector is given as a triple ⟨c,h,s⟩\langle c, h, s \rangle, where cc is the cylinder number, hh is the surface number and ss is the sector number. Thus, the 0th^{th} sector is addresses as ⟨0,0,0⟩\langle 0, 0, 0 \rangle, …
Official PYQ2009AlgorithmsAlgorithm Design: Dynamic ProgrammingMCQ · 1 mark
A sub-sequence of a given sequence is just the given sequence with some elements (possibly none or all) left out. We are given two sequences X[m]X[m] and Y[n]Y[n] of lengths mm and nn, respectively with indexes of XX and YY starting from 00. We wish to find the length of the longest common sub-sequence (LCS) of X[m]X[m] and Y[n]Y[n] as …
Official PYQ2009DatabasesNormal FormsMCQ · 1 mark
Consider the following relational schema: Suppliers(sid:integer‾, sname:string, city:string, street:string)\text{Suppliers}(\underline{\text{sid:integer}},\text{ sname:string, city:string, street:string}) Parts(pid:integer‾, pname:string, color:string)\text{Parts}(\underline{\text{pid:integer}}, \text{ pname:string, color:string}) Catalog(sid:integer, pid:integer‾,cost:real)\text{Catalog}(\underline {\text{sid:integer, pid:integer}}, \text{cost:real}) Assume that, in the suppliers relation above, …
Official PYQ2009Computer NetworksTransport Layer: Flow Control, Congestion Control, UDP, TCP, SocketsMCQ · 1 mark
Frames of 1000 bits1000\text{ bits} are sent over a 10610^6 bps duplex link between two hosts. The propagation time is 25ms25ms. Frames are to be transmitted into this link to maximally pack them in transit (within the link). Let II be the minimum number of bits (I)(I) that will be required to represent the sequence numbers distinctly assuming that no time …
Official PYQ2009Programming and Data StructuresBinary HeapsMCQ · 1 mark
Consider a binary max-heap implemented using an array. Which one of the following array represents a binary max-heap?
Official PYQ2009Programming and Data StructuresBinary HeapsMCQ · 1 mark
Consider a binary max-heap implemented using an array. What is the content of the array after two delete operations on {25,14,16,13,10,8,12}\left\{25,14,16,13,10,8,12\right\}
Official PYQ2009Computer NetworksTransport Layer: Flow Control, Congestion Control, UDP, TCP, SocketsMCQ · 1 mark
Frames of 1000 bits\text{1000 bits} are sent over a 10610^6 bps\text{bps} duplex link between two hosts. The propagation time is 25 ms\text{25 ms}. Frames are to be transmitted into this link to maximally pack them in transit (within the link). What is the minimum number of bits (I)(I) that will be required to represent the sequence numbers distinctly? Assume …
Official PYQ2009AlgorithmsAlgorithm Design: Dynamic ProgrammingMCQ · 1 mark
A sub-sequence of a given sequence is just the given sequence with some elements (possibly none or all) left out. We are given two sequences X[m]X[m] and Y[n]Y[n] of lengths mm and nn, respectively with indexes of XX and YY starting from 00. We wish to find the length of the longest common sub-sequence (LCS) of X[m]X[m] and Y[n]Y[n] as …
Official PYQ2009DatabasesTuple Calculus and SQLMCQ · 1 mark
Consider the following relational schema: Suppliers(sid:integer‾, sname:string, city:string, street:string)\text{Suppliers}(\underline{\text{sid:integer}},\text{ sname:string, city:string, street:string}) Parts(pid:integer‾, pname:string, color:string)\text{Parts}(\underline{\text{pid:integer}}, \text{ pname:string, color:string}) Catalog(sid:integer, pid:integer‾,cost:real)\text{Catalog}(\underline {\text{sid:integer, pid:integer}}, \text{cost:real}) Consider the following relational query on the …
Official PYQ2009Software Engineering (Historical)MCQ · 1 mark
Which of the following statements are TRUE? The context diagram should depict the system as a single bubble. External entities should be identified clearly at all levels of DFDs. Control information should not be represented in a DFD. A data store can be connected wither to another data store or to an external entity.