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 PYQ2001DatabasesRelational Model: Relational AlgebraMCQ · 1 mark
Suppose the adjacency relation of vertices in a graph is represented in a table Adj (X,Y).(X,Y). Which of the following queries cannot be expressed by a relational algebra expression of constant length?
Official PYQ2001Operating SystemMemory Management and Virtual MemoryMCQ · 1 mark
Consider a virtual memory system with FIFO page replacement policy. For an arbitrary page access pattern, increasing the number of page frames in main memory will
Official PYQ2001Compiler DesignParsing (LL, LR)MCQ · 1 mark
Which of the following statements is false?
Official PYQ2001Operating SystemMemory Management and Virtual MemoryMCQ · 1 mark
Where does the swap space reside?
Official PYQ2001Compiler DesignRuntime EnvironmentsMCQ · 1 mark
The process of assigning load addresses to the various parts of the program and adjusting the code and the data in the program to reflect the assigned addresses is called
Official PYQ2001AlgorithmsAsymptotic Worst Case Time and Space ComplexityMCQ · 1 mark
Let f(n)=n2log⁡nf(n) = n^2 \log n and g(n)=n(log⁡n)10g(n) = n(\log n)^{10} be two positive functions of nn. Which of the following statements is correct?
Official PYQ2001Programming and Data StructuresBinary HeapsMCQ · 1 mark
Consider any array representation of an nn element binary heap where the elements are stored from index 11 to index nn of the array. For the element stored at index ii of the array (i≤n)(i \leq n), the index of the parent is
Official PYQ2001AlgorithmsSearching, Sorting, HashingMCQ · 1 mark
Randomized quicksort is an extension of quicksort where the pivot is chosen randomly. What is the worst case complexity of sorting n numbers using Randomized quicksort?
Official PYQ2001Operating SystemMemory Management and Virtual MemoryMCQ · 1 mark
A CPU has two modes -- privileged and non-privileged. In order to change the mode from privileged to non-privileged
Official PYQ2001Digital LogicMinimization (K-Maps etc.)MCQ · 1 mark
Given the following karnaugh map, which one of the following represents the minimal Sum-Of-Products of the map?
Official PYQ2001Operating SystemSystem CallsMCQ · 1 mark
A processor needs software interrupt to
Official PYQ2001Computer Organization and ArchitectureMachine Instructions and Addressing ModesMCQ · 1 mark
Suppose a processor does not have any stack pointer registers, which of the following statements is true?
Official PYQ2001Computer Organization and ArchitectureMachine Instructions and Addressing ModesMCQ · 1 mark
A low memory can be connected to 8085 by using
Official PYQ2001Operating SystemMemory Management and Virtual MemoryMCQ · 1 mark
Which of the following statements is false?
Official PYQ2001Computer Organization and ArchitectureMemory Hierarchy: Cache, Main Memory and Secondary StorageMCQ · 1 mark
More than one word are put in one cache block to:
Official PYQ2001Theory of ComputationRegular Expressions and Finite AutomataMCQ · 1 mark
Given an arbitrary non-deterministic finite automaton (NFA) with NN states, the maximum number of states in an equivalent minimized DFA at least
Official PYQ2001Theory of ComputationContext-free Grammars and Push-down AutomataMCQ · 1 mark
Which of the following statements is true?
Official PYQ2001Theory of ComputationRegular and Context-free LanguagesMCQ · 1 mark
Consider the following two statements: S1:{02n∣n≥1}S_1: \left\{ 0^{2n} \mid n \geq 1 \right\} is a regular language S2:{0m1n0m+n∣m≥1 and n≥1}S_2: \left\{0^m1^n0^{m+n} \mid m \geq 1 \text{ and } n \geq 1 \right\} is a regular language Which of the following statement is correct?
Official PYQ2001Engineering MathematicsPropositional and First Order LogicMCQ · 1 mark
Consider two well-formed formulas in propositional logic F1:P⇒¬PF_1: P \Rightarrow \neg P F2:(P⇒¬P)∨(¬P⇒P)F_2: (P \Rightarrow \neg P) \lor ( \neg P \Rightarrow P) Which one of the following statements is correct?
Official PYQ2001Engineering MathematicsSets, Relations and FunctionsMCQ · 1 mark
Consider the following relations: R1 (a,b)R_1\:(a,b) iff (a+b)(a+b) is even over the set of integers R2 (a,b)R_2 \:(a,b) iff (a+b)(a+b) is odd over the set of integers R3 (a,b)R_3 \:(a,b) iff a.b>0a.b > 0 over the set of non-zero rational numbers R4 (a,b)R_4\:(a,b) iff ∣a−b∣≤2|a-b| \leq 2 over the set of natural numbers Which of the following statements is correct?