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
The time complexity of the following C function is (assume ) int recursive (int n) { if(n == 1) return (1); else return (recursive (n-1) + recursive (n-1)); }
Let and be connected graphs on the same vertex set with more than two vertices. If is not a connected graph, then the graph
A point is randomly selected with uniform probability in the plane within the rectangle with corners at and If is the length of the position vector of the point, the expected value of is
How many graphs on labeled vertices exist which have at least edges ?
Two bit binary strings, and are chosen randomly with uniform probability. The probability that the Hamming distance between these strings (the number of bit positions where the two strings differ) is equal to is
The minimum number of colours required to colour the following graph, such that no two adjacent vertices are assigned the same color, is
In an matrix all non-zero entries are covered in rows and columns. Then the maximum number of non-zero entries, such that no two are on the same row or column, is
Mala has the colouring book in which each English letter is drawn two times. She wants to paint each of these prints with one of colours, such that the colour pairs used to colour any two letters are different. Both prints of a letter can also be coloured with the same colour. What is the minimum value of that satisfies this requirement?
An examination paper has multiple choice questions of one mark each, with each question having four choices. Each incorrect answer fetches marks. Suppose students choose all their answers randomly with uniform probability. The sum total of the expected marks obtained by all these students is
The inclusion of which of the following sets into is necessary and sufficient to make a complete lattice under the partial order defined by set containment?
The following is the incomplete operation table of a element group. …
How many solutions does the following system of linear equations have?
A 4-stage pipeline has the stage delays as , , and , respectively. Registers that are used between the stages have a delay of each. Assuming constant clocking rate, the total time taken to process data items on this pipeline will be:
The following propositional statement is
A hard disk with a transfer rate of Mbytes/second is constantly transferring data to memory using DMA. The processor runs at MHz, and takes and clock cycles to initiate and complete DMA transfer respectively. If the size of the transfer is Kbytes, what is the percentage of processor time consumed for the transfer …
The microinstructions stored in the control memory of a processor have a width of bits. Each microinstruction is divided into three fields: a micro-operation field of bits, a next address field and a MUX select field There are status bits in the input of the MUX. How many bits are there in the and fields, and …
Let and be two complement numbers. Their product in complement is
Consider a small two-way set-associative cache memory, consisting of four blocks. For choosing the block to be replaced, use the least recently used (LRU) scheme. The number of cache misses for the following sequence of block addresses is: .
Consider the following program segment for a hypothetical CPU having three user registers and …
A 4-bit carry look ahead adder, which adds two 4-bit numbers, is designed using AND, OR, NOT, NAND, NOR gates only. Assuming that all the inputs are available in both complemented and uncomplemented forms and the delay of each gate is one time unit, what is the overall propagation delay of the adder? Assume that the carry network has been implemented using …
