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 PYQ2001Theory of ComputationUndecidabilityMCQ · 1 mark
Consider the following problem XX. Given a Turing machine MM over the input alphabet Σ\Sigma, any state qq of MM and a word w∈Σ∗w \in \Sigma^*, does the computation of MM on ww visit the state of qq? Which of the following statements about XX is correct?
Official PYQ2001Theory of ComputationRegular and Context-free LanguagesMCQ · 1 mark
Consider the following languages: L1={ww∣w∈{a,b}∗}L1=\left\{ww \mid w \in \{a,b\}^*\right\} L2={wwR∣w∈{a,b}∗,wR is the reverse of w}L2=\left\{ww^R \mid w \in \{a,b\}^*, w^R \text{ is the reverse of w} \right\} L3={02i∣ i is an integer}L3=\left\{0^{2i} \mid \text{ i is an integer} \right\} L4={0i2∣ i is an integer}L4= \left\{ 0^{i^2} \mid \text{ i is an integer} \right\} Which of the languages are regular?
Official PYQ2001Theory of ComputationRegular Expressions and Finite AutomataMCQ · 1 mark
Consider a DFA over Σ={a,b}\Sigma=\{a,b\} accepting all strings which have number of a's divisible by 66 and number of bb's divisible by 88. What is the minimum number of states that the DFA will have?
Official PYQ2001Engineering MathematicsSets, Relations and FunctionsMCQ · 1 mark
Let f:A→Bf: A \rightarrow B a function, and let E and F be subsets of AA. Consider the following statements about images. S1:f(E∪F)=f(E)∪f(F)S_1: f(E \cup F) = f(E) \cup f(F) S2:f(E∩F)=f(E)∩f(F)S_2: f(E \cap F)=f(E) \cap f(F) Which of the following is true about S1 and S2?
Official PYQ2001Engineering MathematicsCombinatorics: Counting, Recurrence Relations, Generating FunctionsMCQ · 1 mark
How many 44-digit even numbers have all 44 digits distinct?
Official PYQ2001Engineering MathematicsSets, Relations and FunctionsMCQ · 1 mark
Consider the following statements: S1:S_1: There exists infinite sets AA, BB, CC such that A∩(B∪C)A \cap (B \cup C) is finite. S2:S_2: There exists two irrational numbers xx and y such that (x+y)(x+y) is rational. Which of the following is true about S1S_1 and S2S_2?
Official PYQ2001DatabasesRelational Model: Relational AlgebraMCQ · 1 mark
Let r and s be two relations over the relation schemes R and S respectively, and let A be an attribute in R. The relational algebra expression σA=a(r⋈s)\sigma_{A=a}(r \bowtie s) is always equal to
Official PYQ2001Operating SystemI/O SchedulingMCQ · 1 mark
Which of the following requires a device driver?
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?