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
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.
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.
If then
The simplex method is so named because
A square matrix is singular whenever
The equation has
If and are constants, which of the following is a linear inequality?
For the program given below what will be printed by the write statements marked and 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.
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 and in the program if the variables …
A critical region is
Let be a quicksort program to sort numbers in ascending order. Let and be the time taken by the program for the inputs and , respectively. Which of the following holds?
In a circular linked list organization, insertion of a record involves modification of
Using longer identifiers in a program will necessarily lead to:
An operator precedence parser is a
A context-free grammar is ambiguous if:
FORTRAN is a:
In a compiler the module that checks every character of the source text is called:
The data transfer rate of a double-density floppy disk system is about:
The exponent of a floating-point number is represented in excess- code so that:
On receiving an interrupt from a I/O device the CPU:
