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 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:
Official PYQ1999Operating SystemProcesses and ThreadsMCQ · 1 mark
Which of the following actions is/are typically not performed by the operating system when switching context from process AA to process BB?
Official PYQ1999Operating SystemMemory Management and Virtual MemoryMSQ · 1 mark
Which of the following is/are advantage(s) of virtual memory?
Official PYQ1999Operating SystemMemory Management and Virtual MemoryMSQ · 1 mark
A multi-user, multi-processing operating system cannot be implemented on hardware that does not support
Official PYQ1999Digital LogicBoolean AlgebraMSQ · 1 mark
Which of the following sets of component(s) is/are sufficient to implement any arbitrary Boolean function?
Official PYQ1999Digital LogicCombinational CircuitsMCQ · 1 mark
Consider the circuit shown below. In a certain steady state, the line YY is at ′1′'1'. What are the possible values of A,BA, B and CC in this state?
Official PYQ1999DatabasesNormal FormsMCQ · 1 mark
Consider the schema R=(S,T,U,V)R=(S,T, U, V) and the dependencies S→T,T→U,U→VS \rightarrow T, T \rightarrow U, U \rightarrow V and V→SV \rightarrow S. Let R=(R1 and R2)R = (R1\text{ and } R2) be a decomposition such that R1∩R2≠ϕR1 \cap R2 \neq \phi. The decomposition is
Official PYQ1999DatabasesTransactions and Concurrency ControlMCQ · 1 mark
For the schedule given below, which of the following is correct: …
Official PYQ1999Programming and Data StructuresProgramming in CMCQ · 1 mark
Given the programming constructs assignment for loops where the loop parameter cannot be changed within the loop if-then-else forward go to arbitrary go to non-recursive procedure call recursive procedure/function call repeat loop, which constructs will you not include in a programming language such that it should be possible to program the terminates (i.e., …