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 one of the following combinations is incorrect?
Based on the given statements, select the most appropriate option to solve the given question. If two floors in a certain building are feet apart, how many steps are there in a set of stairs that extends from the first floor to the second floor of the building? Statements: Each step is foot high. Each step is foot wide.
Given Set and Set , two numbers are randomly selected, one from each set. What is the probability that the sum of the two numbers equals ?
Which of the following options is the closest in meaning of the sentence below? She enjoyed herself immensely at the party.
Didn't you buy ____ when you went shopping?
Which one of the following well-formed formulae is a tautology?
Let and denote the sets containing and distinct objects respectively and denote the set of all possible functions defined from to . Let be randomly chosen from . The probability of being one-to-one is ______.
The number of states in the minimal deterministic finite automaton corresponding to the regular expression is _____.
sends a datagram containing of user data to over an Ethernet frames may carry data up to Size of header is and size of header is There is no …
In a connected graph, a bridge is an edge whose removal disconnects the graph. Which one of the following statements is true?
Which of the following is/are regular languages?
Consider a typical disk that rotates at rotations per minute (RPM) and has a transfer rate of bytes/sec. If the average seek time of the disk is twice the average rotational delay and the controller's transfer time is times the disk transfer time, the average time (in milliseconds) to read or write a -byte sector of …
A half adder is implemented with XOR and AND gates. A full adder is implemented with two half adders and one OR gate. The propagation delay of an XOR gate is twice that of an AND/OR gate. The propagation delay of an AND/OR gate is microseconds. A -bit-ripple-carry binary adder is implemented by using four full adders. The total propagation time …
A computer system implements pages and a physical address space. Each page table entry contains a valid bit, a dirty bit, three permission bits, and the translation. If the maximum size of the page table of a process is , the length of the virtual address supported by the system is _______ …
Consider a simple checkpointing protocol and the following set of operations in the log. (start, T4); (write, T4, y, 2, 3); (start, T1); (commit, T4); (write, T1, z, 5, 7); (checkpoint); (start, T2); (write, T2, x, 1, 9); (commit, T2); (start, T3); (write, T3, z, 7, 2); If a crash happens now and the system tries to recover using both undo and redo …
Suppose you are provided with the following function declaration in the C programming language. int partition(int a[], int n); The function treats the first element of as a pivot and rearranges the array so that all elements less than or equal to the pivot is in the left part of the array, and all elements greater than the pivot is in the right …
Consider the sequence of machine instruction given below: In the above sequence, to are general purpose registers. In the instructions shown, the first register …
Which one of the following assertions concerning code inspection and code walkthrough is true?
Consider a processor with byte-addressable memory. Assume that all registers, including program counter (PC) and Program Status Word (PSW), are size of two bytes. A stack in the main memory is implemented from memory location and it grows upward. The stack pointer (SP) points to the top element of the stack. The current value of SP is …
Consider the following routing table at an IP router: …
