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
Which of the following is/are EQUAL to in radix - (i.e., base - ) notation?
Consider -variable functions expressed in sum-of-minterms form as given below. With respect to the circuit given above, which of the following options is/are CORRECT?
Let be an undirected connected graph in which every edge has a positive integer weight. Suppose that every spanning tree in has even weight. Which of the following statements is/are TRUE for every such graph ?
Consider a context-free grammar with the following rules. Let . Let denote the number of times occur in , respectively. Which of the following statements is/are TRUE?
Consider a disk with the following specifications: rotation speed of RPM, average seek time of milliseconds, sectors/track, -byte sectors. A file has content stored in sectors located randomly on the disk. Assuming average rotational latency, the total time (in seconds, rounded off to decimal places) to read the …
Consider a connection operating at a point of time with the congestion window of size (Maximum Segment Size), when a timeout occurs due to packet loss. Assuming that all the segments transmitted in the next two (Round Trip Time) are acknowledged correctly, the congestion window size (in ) during the …
Consider an Ethernet segment with a transmission speed of and a maximum segment length of meters. If the speed of propagation of the signal in the medium is , then the minimum frame size (in bits) required for collision detection is ___________.
A functional dependency is termed as a useful functional dependency if and only if it satisfies all the following three conditions: is not the empty set. is not the empty set. Intersection of and is the empty set. For a relation with attributes, the total number of …
A processor with general purpose registers uses a -bit instruction format. The instruction format consists of an opcode field, an addressing mode field, two register operand fields, and a -bit scalar field. If addressing modes are to be supported, the maximum number of unique opcodes possible for every addressing mode is ___________.
A non-pipelined instruction execution unit operating at takes an average of cycles to execute an instruction of a program . The unit is then redesigned to operate on a -stage pipeline at . Assume that the ideal throughput of the pipelined unit is instruction per cycle. In the execution of …
The number of distinct minimum-weight spanning trees of the following graph is
The chromatic number of a graph is the minimum number of colours used in a proper colouring of the graph. The chromatic number of the following graph is __________.
A processor uses a -bit instruction format and supports byte-addressable memory access. The of the processor has distinct instructions. The instructions are equally divided into two types, namely -type and -type, whose formats are shown below. R - type Instruction Format: \begin{array}{|l|l|l|l|l|} \hline …
Let be the language represented by the regular expression and , where denotes the length of string . The number of strings in which are also in is _________.
Let be the group of integers with addition modulo as the group operation. The number of elements in the group that are their own inverses is ___________.
Consider a -bit system with page size and page table entries of size bytes each. Assume bytes. The OS uses a -level page table for memory management, with the page table containing an outer page directory and an inner page table. The allocates a page for the outer page directory upon …
Consider the following augmented grammar, which is to be parsed with a parser. The set of terminals is Let …
Consider the following statements regarding the front-end and back-end of a compiler. S1: The front-end includes phases that are independent of the target hardware. S2: The back-end includes phases that are specific to the target hardware. S3: The back-end includes phases that are specific to the programming language used in the source code. Identify the …
Which one of the following sequences when stored in an array at locations forms a max-heap?
Let be a function that deletes a node in a singly-linked list given a pointer to the node and a pointer to the head of the list. Similarly, let be another function that deletes a node in a doubly-linked list given a pointer to the node and a pointer to the head of the list. Let denote the number of nodes in each …
