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
An instruction pipeline consists of stages – Fetch , Decode field , Execute and Result Write . The instructions in a certain instruction sequence need these stages for the different number of clock cycles as shown by the table below …
Which of the following is/are correct?
Consider the following 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:
The main difference(s) between a CISC and a RISC processor is/are that a RISC processor typically
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?
If , give the correct matching for the following pairs: …
Raid configurations of the disks are used to provide
Arrange the following configuration for CPU in decreasing order of operating speeds: Hard wired control, Vertical microprogramming, Horizontal microprogramming.
Zero has two representations in
A grammar that is both left and right recursive for a non-terminal, is
The number of full and half-adders required to add -bit numbers is
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:
Which of the following actions is/are typically not performed by the operating system when switching context from process to process ?
Which of the following is/are advantage(s) of virtual memory?
A multi-user, multi-processing operating system cannot be implemented on hardware that does not support
Which of the following sets of component(s) is/are sufficient to implement any arbitrary Boolean function?
Consider the circuit shown below. In a certain steady state, the line is at . What are the possible values of and in this state?
Consider the schema and the dependencies and . Let be a decomposition such that . The decomposition is
For the schedule given below, which of the following is correct: …
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., …
