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 PYQ2013Theory of ComputationUndecidabilityMCQ · 1 mark
Which of the following statements are TRUE? The problem of determining whether there exists a cycle in an undirected graph is in PP. The problem of determining whether there exists a cycle in an undirected graph is in NPNP. If a problem A is NP−CompleteNP-Complete, there exists a non-deterministic polynomial time algorithm to solve AA
Official PYQ2013Theory of ComputationRegular and Context-free LanguagesMCQ · 1 mark
Which of the following statements is/are FALSE? For every non-deterministic Turing machine, there exists an equivalent deterministic Turing machine. Turing recognizable languages are closed under union and complementation. Turing decidable languages are closed under intersection and complementation. Turing recognizable languages are closed under union and …
Official PYQ2013Operating SystemDeadlockMCQ · 1 mark
Three concurrent processes XX, YY, and ZZ execute three different code segments that access and update certain shared variables. Process XX executes the PP operation (i.e., waitwait) on semaphores aa, b,b, and cc; process YY executes the PP operation on semaphores bb, c,c, and dd; process ZZ executes the PP …
Official PYQ2013DatabasesFile Organization and Indexing (B and B+ Trees)MCQ · 1 mark
An index is clustered, if
Official PYQ2013Computer NetworksConcept of Layering: OSI and TCP/IP Protocol StacksMCQ · 1 mark
Assume that source S and destination D are connected through two intermediate routers labeled R. Determine how many times each packet has to visit the network layer and the data link layer during a transmission from S to D.
Official PYQ2013Computer NetworksConcept of Layering: OSI and TCP/IP Protocol StacksMCQ · 1 mark
Using public key cryptography, XX adds a digital signature σ to message MM, encrypts ⟨M,σ⟩\langle M, \sigma \rangle, and sends it to YY, where it is decrypted. Which one of the following sequences of keys is used for the operations?
Official PYQ2013Computer NetworksTransport Layer: Flow Control, Congestion Control, UDP, TCP, SocketsMCQ · 1 mark
The transport layer protocols used for real time multimedia, file transfer, DNS\textsf{DNS} and email, respectively are
Official PYQ2013Operating SystemCPU SchedulingMCQ · 1 mark
A scheduling algorithm assigns priority proportional to the waiting time of a process. Every process starts with zero (the lowest priority). The scheduler re-evaluates the process priorities every TT time units and decides the next process to schedule. Which one of the following is TRUE if the processes have no I/O operations and all arrive at time zero?
Official PYQ2013Software Engineering (Historical)MCQ · 1 mark
Match the problem domains in GROUP I with the solution technologies in GROUP II. GROUP I GROUP II (P) Service oriented computing (1) Interoperability (Q) Heterogeneous communicating systems (2) BPMN (R) Information representation (3) Publish-find-bind (S) Process description (4) XML
Official PYQ2013Compiler DesignParsing (LL, LR)MCQ · 1 mark
What is the maximum number of reduce moves that can be taken by a bottom-up parser for a grammar with no epsilon and unit-production (i.e., of type A→ϵA \rightarrow \epsilon and A→aA \rightarrow a) to parse a string with nn tokens?
Official PYQ2013Theory of ComputationRegular and Context-free LanguagesMCQ · 1 mark
Consider the languages L1=ϕL_1 = \phi and L2={a}L_2 = \{a\}. Which one of the following represents L1L2∗∪L1∗L_1 {L_2}^* \cup {L_1}^* ?
Official PYQ2013Programming and Data StructuresBinary Search TreesMCQ · 1 mark
Which one of the following is the tightest upper bound that represents the time complexity of inserting an object into a binary search tree of nn nodes?
Official PYQ2013AlgorithmsSearching, Sorting, HashingMCQ · 1 mark
Which one of the following is the tightest upper bound that represents the number of swaps required to sort nn numbers using selection sort?
Official PYQ2013Digital LogicCombinational CircuitsMCQ · 1 mark
In the following truth table, V=1V = 1 if and only if the input is valid. …
Official PYQ2013Digital LogicNumber Representations (Fixed and Floating Point)MCQ · 1 mark
The smallest integer that can be represented by an 8-bit8\text{-bit} number in 2′s2's complement form is
Official PYQ2013Engineering MathematicsLinear Algebra: Matrices, Determinants, System of Linear EquationsMCQ · 1 mark
Which one of the following does NOT equal ∣1xx21yy21zz2∣?\begin{vmatrix} 1 & x & x^{2}\\ 1& y & y^{2}\\ 1 & z & z^{2} \end{vmatrix} \quad ?
Official PYQ2013Computer Organization and ArchitectureInstruction PipeliningMCQ · 1 mark
Consider an instruction pipeline with five stages without any branch prediction: Fetch Instruction (FI), Decode Instruction (DI), Fetch Operand (FO), Execute Instruction (EI) and Write Operand (WO). The stage delays for FI, DI, FO, EI and WO are 5 ns, 7 ns, 10 ns, 8 ns and 6 ns,\text{5 ns, 7 ns, 10 ns, 8 ns and 6 ns}, respectively. There are intermediate storage buffers after each stage …
Official PYQ2013Engineering MathematicsPropositional and First Order LogicMCQ · 1 mark
Which one of the following is NOT logically equivalent to ¬∃x(∀y(α)∧∀z(β))¬∃x(∀ y (α)∧∀z(β )) ?
Official PYQ2013Operating SystemMemory Management and Virtual MemoryMCQ · 1 mark
A computer uses 46-bit46\text{-bit} virtual address, 32-bit32\text{-bit} physical address, and a three–level paged page table organization. The page table base register stores the base address of the first-level table (T1)\text{(T1)}, which occupies exactly one page. Each entry of T1\text{T1} stores the base address of a page of the second-level table …
Official PYQ2013Engineering MathematicsProbability: Random Variables and DistributionsMCQ · 1 mark
Suppose pp is the number of cars per minute passing through a certain road junction between 55 PM and 66 PM, and pp has a Poisson distribution with mean 33. What is the probability of observing fewer than 33 cars during any given minute in this interval?