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
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
To put the 8085 microprocessor in the wait state
The number in complement representation is
Let and be languages over represented by the regular expressions and , respectively. Which of the following is true?
Let denote the languages generated by the grammar . Which of the following is TRUE?
The determinant of the matrix
An array is defined as follows: for all The sum of the elements of the array is
The minimum number of cards to be dealt from an arbitrarily shuffled deck of cards to guarantee that three cards are from same suit is
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:
