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 PYQ2000Computer Organization and ArchitectureInstruction PipeliningMCQ · 1 mark
Comparing the time T1 taken for a single instruction on a pipelined CPU with time T2 taken on a non-pipelined but identical CPU, we can say that
Official PYQ2000Computer Organization and ArchitectureMachine Instructions and Addressing ModesMCQ · 1 mark
To put the 8085 microprocessor in the wait state
Official PYQ2000Digital LogicNumber Representations (Fixed and Floating Point)MCQ · 1 mark
The number 4343 in 2′s2's complement representation is
Official PYQ2000Theory of ComputationRegular Expressions and Finite AutomataMCQ · 1 mark
Let SS and TT be languages over Σ={a,b}\Sigma=\{a,b\} represented by the regular expressions (a+b∗)∗(a+b^*)^* and (a+b)∗(a+b)^*, respectively. Which of the following is true?
Official PYQ2000Theory of ComputationRegular and Context-free LanguagesMCQ · 1 mark
Let LL denote the languages generated by the grammar S→0S0∣00S \to 0S0 \mid 00. Which of the following is TRUE?
Official PYQ2000Engineering MathematicsLinear Algebra: Matrices, Determinants, System of Linear EquationsMCQ · 1 mark
The determinant of the matrix [2000817220209061]\begin{bmatrix}2 &0 &0 &0 \\ 8& 1& 7& 2\\ 2& 0&2 &0 \\ 9&0 & 6 & 1 \end{bmatrix}
Official PYQ2000Programming and Data StructuresArrays, Stacks and QueuesMCQ · 1 mark
An n×nn \times n array vv is defined as follows: v[i,j]=i−jv\left[i,j\right] = i - j for all i,j,i≤n,1≤j≤ni, j, i \leq n, 1 \leq j \leq n The sum of the elements of the array vv is
Official PYQ2000Engineering MathematicsCombinatorics: Counting, Recurrence Relations, Generating FunctionsMCQ · 1 mark
The minimum number of cards to be dealt from an arbitrarily shuffled deck of 5252 cards to guarantee that three cards are from same suit is
Official PYQ1999Computer Organization and ArchitectureInstruction PipeliningNAT · 1 mark
An instruction pipeline consists of 44 stages – Fetch (F)(F), Decode field (D)(D), Execute (E)(E) and Result Write (W)(W). The 55 instructions in a certain instruction sequence need these stages for the different number of clock cycles as shown by the table below …
Official PYQ1999DatabasesTuple Calculus and SQLMCQ · 1 mark
Which of the following is/are correct?
Official PYQ1999AlgorithmsAsymptotic Worst Case Time and Space ComplexityMCQ · 1 mark
Consider the following CC function definition int Trial (int a, int b, int c) { if ((a>=b) && (c<b)) return b; else if (a>=b) return Trial(a, c, b); else return Trial(b, a, c); } The functional Trial:
Official PYQ1999Computer Organization and ArchitectureMachine Instructions and Addressing ModesMSQ · 1 mark
The main difference(s) between a CISC and a RISC processor is/are that a RISC processor typically
Official PYQ1999Computer Organization and ArchitectureMachine Instructions and Addressing ModesMSQ · 1 mark
A certain processor supports only the immediate and the direct addressing modes. Which of the following programming language features cannot be implemented on this processor?
Official PYQ1999AlgorithmsAsymptotic Worst Case Time and Space ComplexityMCQ · 1 mark
If T1=O(1)T_1 = O(1), give the correct matching for the following pairs: …
Official PYQ1999Operating SystemI/O SchedulingMCQ · 1 mark
Raid configurations of the disks are used to provide
Official PYQ1999Computer Organization and ArchitectureALU, Data-path and Control UnitMCQ · 1 mark
Arrange the following configuration for CPU in decreasing order of operating speeds: Hard wired control, Vertical microprogramming, Horizontal microprogramming.
Official PYQ1999Digital LogicNumber Representations (Fixed and Floating Point)MSQ · 1 mark
Zero has two representations in
Official PYQ1999Compiler DesignParsing (LL, LR)MCQ · 1 mark
A grammar that is both left and right recursive for a non-terminal, is
Official PYQ1999Digital LogicComputer ArithmeticMCQ · 1 mark
The number of full and half-adders required to add 1616-bit numbers is
Official PYQ1999Programming and Data StructuresProgramming in CMCQ · 1 mark
Consider the following program in a language that has dynamic scooping: var x: real; procedure show: begin print(x);end; procedure small; var x: real; begin x: = 0.125; show; end; begin x:=0.25 show; small end. Then the output of the program is: