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
In the diagram shown below, is an Ethernet LAN and is a Token-Ring LAN. An packet originates from sender and traverses to , as shown. The links within each and across the two s, are all point-to-point optical links. The initial value of the field is . The maximum possible value …
Which of the following socket API functions converts an unconnected active TCP socket into a passive socket?
Which of the following is TRUE about the interior gateway routing protocols Routing Information Protocol and Open Shortest Path First
Given an instance of the STUDENTS relation as shown as below …
The maximum number of superkeys for the relation schema with as the key is _____.
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
