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
A FAT (file allocation table) based file system is being used and the total overhead of each entry in the FAT is bytes in size. Given a bytes disk on which the file system is stored and data block size is bytes, the maximum size of a file that can be stored on this disk in units of bytes is _________.
Which one of the following is TRUE?
Which one of the following is NOT performed during compilation?
Consider the grammar defined by the following production rules, with two operators and Which one of the following is TRUE?
Let denotes that language is mapping reducible (also known as many-to-one reducible) to language . Which one of the following is FALSE?
If and , consider is a regular language Which one of the following is CORRECT?
Consider the tree arcs of a BFS traversal from a source node in an unweighted, connected, undirected graph. The tree formed by the tree arcs is a data structure for computing
A priority queue is implemented as a Max-Heap. Initially, it has elements. The level-order traversal of the heap is: . Two new elements and are inserted into the heap in that order. The level-order traversal of the heap after the insertion of the elements is:
Suppose and are unsigned int variables in a C program. We wish to set to . If is large, which one of the following statements is most likely to set correctly?
Which one of the following correctly determines the solution of the recurrence relation with ?
Consider the function func shown below: int func(int num) { int count = 0; while (num) { count++; num>>= 1; } return (count); } The value returned by func() is ________
A -way set-associative cache memory unit with a capacity of KB is built using a block size of words. The word length is bits. The size of the physical address space is GB. The number of bits for the TAG field is ____
Let . A circuit is built by giving the output of an -bit binary counter as input to an bit decoder. This circuit is equivalent to a
Consider the equation with and as unknown. The number of possible solutions is _____ .
The dual of a Boolean function , written as is the same expression as that of with and swapped. is said to be self-dual if . The number of self-dual functions with Boolean variables is
A non-zero polynomial of degree 3 has roots at , and . Which one of the following must be TRUE?
If the matrix is such that then the determinant of is equal to ______.
The maximum number of edges in a bipartite graph on vertices is____
Each of the nine words in the sentence is written on a separate piece of paper. These nine pieces of paper are kept in a box. One of the pieces is drawn at random from the box. The length of the word drawn is _____________. (The answer should be rounded to one decimal place.)
The ratio of male to female students in a college for five years is plotted in the following line graph. If the number of female students doubled in , by what percent did the number of male students increase in ?
