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
Consider a simple communication system where multiple nodes are connected by a shared broadcast medium (like Ethernet or wireless). The nodes in the system use the following carrier-sense based medium access protocol. A node that receives a packet to transmit will carrier-sense the medium for units of time. If the node does not detect any other …
Consider a storage disk with platters (numbered as and ), cylinders (numbered as ), and sectors per track (numbered as ). The following disk requests of the form [sector number, cylinder number, platter number] are received by the disk controller at the same time: …
Consider an IP packet with a length of that includes a header and a TCP header. The packet is forwarded to an router that supports a Maximum Transmission Unit (MTU) of . Assume that the length of the IP header in all the outgoing fragments of …
Given a language , define as follows:The order of a language is defined as the smallest such that . Consider the language over alphabet accepted by the following automaton. The order of is ________.
A processor has integer registers and floating point registers It uses a instruction format. There are four categories of instructions: and category consists of four instructions, …
Consider the minterm list form of a Boolean function given below. Here, denotes a minterm and denotes a don't care term. The number of essential prime implicants of the function is ___
The instruction pipeline of a RISC processor has the following stages: Instruction Fetch , Instruction Decode , Operand Fetch , Perform Operation and Writeback , The , , and stages take clock cycle each for every instruction. Consider a sequence of instructions. In the …
Consider the weights and values of items listed below. Note that there is only one unit of each item. …
Consider the following undirected graph : Choose a value for that will maximize the number of minimum weight spanning trees (MWSTs) of . The number of MWSTs of for this value of is ____.
The number of possible min-heaps containing each value from exactly once is _______
Consider the following program written in pseudo-code. Assume that and are integers. Count (x, y) { if (y !=1 ) { if (x !=1) { print("*"); Count (x/2, y); } else { y=y-1; Count (1024, y); } } } The number of times that the statement is executed by the call is _____
Consider Guwahati, and Delhi whose temperatures can be classified as high , medium and low . Let denote the probability that Guwahati has high temperature. Similarly, and denotes the probability of Guwahati having medium and low temperatures respectively. Similarly, we use …
Let be a graph with vertices, with each vertex labelled by a distinct permutation of the numbers There is an edge between vertices and if and only if the label of can be obtained by swapping two adjacent numbers in the label of . Let denote the degree of a vertex in , and denote the …
In a system, there are three types of resources: and . Four processes , , and execute concurrently. At the outset, the processes have declared their maximum resource requirements using a matrix named Max as given below. For example, Max[] is the maximum number of instances of that would …
Consider the following four relational schemas. For each schema , all non-trivial functional dependencies are listed, The bolded attributes are the respective primary keys. Registration(rollno, courses) Field ‘courses’ is a set-valued attribute containing the set of courses a student has registered for. Non-trivial functional dependency …
Consider the relations and , where is a primary key and is a foreign key referencing . Consider the query Let LOJ denote the natural left outer-join operation. Assume that and contain no null values. Which of the following is NOT equivalent to ?
The size of the physical address space of a processor is bytes. The word length is bytes. The capacity of cache memory is bytes. The size of each cache block is words. For a -way set-associative cache memory, the length (in number of bits) of the tag field is
A lexical analyzer uses the following patterns to recognize three tokens , and over the alphabet . Note that ‘’ means or occurrence of the symbol Note also that the analyzer outputs the token that matches the …
Consider the following problems. denotes the language generated by a grammar . L(M) denotes the language accepted by a machine . For an unrestricted grammar and a string , whether Given a Turing machine , whether is regular Given two grammar and , whether Given an …
Consider the following languages: Which of the …
