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 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
Official PYQ2008Compiler DesignParsing (LL, LR)MCQ · 1 mark
Which of the following describes a handle (as applicable to LR-parsing) appropriately?
Official PYQ2008Theory of ComputationRegular and Context-free LanguagesMCQ · 1 mark
Which of the following is true for the language {ap∣p is a prime }?\left\{ a^p \mid p \text{ is a prime } \right \}?
Official PYQ2008Digital LogicBoolean AlgebraMCQ · 1 mark
Given f1f_1, f3f_3 and ff in canonical sum of products form (in decimal) for the circuit f1=Σm(4,5,6,7,8)f_1 = \Sigma m(4, 5, 6, 7, 8) f3=Σm(1,6,15)f_3 = \Sigma m(1, 6, 15) f=Σm(1,6,8,15)f = \Sigma m(1, 6, 8, 15) then f2f_2 is
Official PYQ2008AlgorithmsAsymptotic Worst Case Time and Space ComplexityMCQ · 1 mark
The most efficient algorithm for finding the number of connected components in an undirected graph on nn vertices and mm edges has time complexity
Official PYQ2008Digital LogicNumber Representations (Fixed and Floating Point)MCQ · 1 mark
Let rr denote number system radix. The only value(s) of rr that satisfy the equation 121r=11r\sqrt{121_r}={11}_r is/are
Official PYQ2008Digital LogicMinimization (K-Maps etc.)MCQ · 1 mark
In the Karnaugh map shown below, XX denotes a don’t care term. What is the minimal form of the function represented by the Karnaugh map?
Official PYQ2008Digital LogicNumber Representations (Fixed and Floating Point)MCQ · 1 mark
In the IEEE floating point representation the hexadecimal value 0x000000000\text{x}00000000 corresponds to
Official PYQ2008Engineering MathematicsLinear Algebra: Matrices, Determinants, System of Linear EquationsMCQ · 1 mark
The following system of equations x1+x2+2x3=1x_1 + x_2 + 2x_3 = 1 x1+2x2+3x3=2x_1 + 2x_2 + 3x_3 = 2 x1+4x2+αx3=4x_1 + 4x_2 + αx_3 = 4 has a unique solution. The only possible value(s) for αα is/are
Official PYQ2008Engineering MathematicsSets, Relations and FunctionsMCQ · 1 mark
If P,Q,RP, Q, R are subsets of the universal set U, then (P∩Q∩R)∪(Pc∩Q∩R)∪Qc∪Rc(P\cap Q\cap R) \cup (P^c \cap Q \cap R) \cup Q^c \cup R^c is
Official PYQ2008Engineering MathematicsCalculus: Limits, Continuity, DifferentiabilityMCQ · 1 mark
lim⁡x→∞x−sin⁡xx+cos⁡x\displaystyle \lim_{x \to \infty}\frac{x-\sin x}{x+\cos x} equals