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 PYQ1987Computer Organization and ArchitectureI/O Interface: Interrupt and DMA ModeNAT · 1 mark
State whether the following statements are TRUE or FALSE: Data transfer between a microprocessor and an I/O device is usually faster in memory-mapped-I/O scheme than in I/O-mapped -I/O scheme.
Official PYQ1987Computer Organization and ArchitectureI/O Interface: Interrupt and DMA ModeNAT · 1 mark
State whether the following statements are TRUE or FALSE In a microprocessor-based system, if a bus (DMA) request and an interrupt request arrive sumultaneously, the microprocessor attends first to the bus request.
Official PYQ1987Engineering MathematicsMaxima and Minima, Mean Value Theorem, IntegrationMCQ · 1 mark
If f(xi).f(xi+1)<0f(x_{i}).f(x_{i+1})< 0 then
Official PYQ1987Numerical Methods (Historical)MCQ · 1 mark
The simplex method is so named because
Official PYQ1987Engineering MathematicsLinear Algebra: Matrices, Determinants, System of Linear EquationsMCQ · 1 mark
A square matrix is singular whenever
Official PYQ1987Engineering MathematicsCalculus: Limits, Continuity, DifferentiabilityMCQ · 1 mark
The equation 7x7+14x6+12x5+3x4+12x3+10x2+5x+7=07x^{7}+14x^{6}+12x^{5}+3x^{4}+12x^{3}+10x^{2}+5x+7=0 has
Official PYQ1987Engineering MathematicsLinear Algebra: Matrices, Determinants, System of Linear EquationsMCQ · 1 mark
If a,b,a, b, and cc are constants, which of the following is a linear inequality?
Official PYQ1987Compiler DesignRuntime EnvironmentsMCQ · 1 mark
For the program given below what will be printed by the write statements marked (1)(1) and (2)(2) in the program if the variables are dynamically scoped? Var x, y:interger; procedure P(n:interger); begin x := (n+2)/(n-3); end; procedure Q Var x, y:interger; begin x:=3; y:=4; P(y); Write(x); __(1) end; begin x:=7; y:=8; Q; Write(x); __(2) end.
Official PYQ1987Compiler DesignRuntime EnvironmentsMCQ · 1 mark
Study the following program written in a block-structured language: Var x, y:interger; procedure P(n:interger); begin x:=(n+2)/(n-3); end; procedure Q Var x, y:interger; begin x:=3; y:=4; P(y); Write(x) __(1) end; begin x:=7; y:=8; Q; Write(x); __(2) end. What will be printed by the write statements marked (1)(1) and (2)(2) in the program if the variables …
Official PYQ1987Operating SystemConcurrency and SynchronizationMCQ · 1 mark
A critical region is
Official PYQ1987AlgorithmsSearching, Sorting, HashingMCQ · 1 mark
Let PP be a quicksort program to sort numbers in ascending order. Let t1t_{1} and t2t_{2} be the time taken by the program for the inputs [1 2 3 4]\left[1 \ 2 \ 3 \ 4\right] and [5 4 3 2 1]\left[5 \ 4 \ 3 \ 2 \ 1\right], respectively. Which of the following holds?
Official PYQ1987Programming and Data StructuresLinked ListsMCQ · 1 mark
In a circular linked list organization, insertion of a record involves modification of
Official PYQ1987Compiler DesignLexical AnalysisMCQ · 1 mark
Using longer identifiers in a program will necessarily lead to:
Official PYQ1987Compiler DesignParsing (LL, LR)MCQ · 1 mark
An operator precedence parser is a
Official PYQ1987Compiler DesignParsing (LL, LR)MCQ · 1 mark
A context-free grammar is ambiguous if:
Official PYQ1987Theory of ComputationRegular and Context-free LanguagesMCQ · 1 mark
FORTRAN is a:
Official PYQ1987Compiler DesignLexical AnalysisMCQ · 1 mark
In a compiler the module that checks every character of the source text is called:
Official PYQ1987Computer Peripherals (Historical)MCQ · 1 mark
The data transfer rate of a double-density floppy disk system is about:
Official PYQ1987Digital LogicNumber Representations (Fixed and Floating Point)MCQ · 1 mark
The exponent of a floating-point number is represented in excess-N\text{N} code so that:
Official PYQ1987Computer Organization and ArchitectureI/O Interface: Interrupt and DMA ModeMCQ · 1 mark
On receiving an interrupt from a I/O device the CPU: