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 source computer transmitting a file of size bits to a destination computer over a network of two routers and three links . connects to ; connects to ; and connects to . Let each …
Suppose and are two relation schemas. Let and be the corresponding relation instances. is a foreign key that refers to in . If data in and satisfy referential integrity constraints, which of the following is ALWAYS TRUE?
Consider the virtual page reference string on a demand paged virtual memory system running on a computer system that has main memory size of page frames which are initially empty. Let , and denote the number of page faults under the corresponding page replacement …
A list of strings, each of length , is sorted into lexicographic order using the merge-sort algorithm. The worst case running time of this computation is
A file system with GByte disk uses a file descriptor with direct block addresses, indirect block address and doubly indirect block address. The size of each disk block is Bytes and the size of each disk block address is Bytes. The maximum possible file size in this file system is
How many onto (or surjective) functions are there from an -element set to a -element set?
Suppose a circular queue of capacity elements is implemented with an array of elements. Assume that the insertion and deletion operations are carried out using and as array index variables, respectively. Initially, . The conditions to detect queue full and queue empty …
An Internet Service Provider (ISP) has the following chunk of CIDR-based IP addresses available with it: . The ISP wants to give half of this chunk of addresses to Organization , and a quarter to Organization , while retaining the remaining with itself. Which of the following is a valid allocation of addresses to and …
Suppose a fair six-sided die is rolled once. If the value on the die is or the die is rolled a second time. What is the probability that the sum total of values that turn up is at least ?
Fetch_And_Add(X,i) is an atomic Read-Modify-Write instruction that reads the value of memory location , increments it by the value , and returns the old value of . It is used in the pseudocode shown below to implement a busy-wait lock. is an unsigned integer shared variable initialized to . The value of corresponds to lock …
Consider the processes, and shown in the table. The completion order of the …
What is the minimal form of the Karnaugh map shown below? Assume that denotes a don’t care term
The bisection method is applied to compute a zero of the function in the interval [1,9]. The method converges to a solution after ––––– iterations.
Consider the following transactions with data items and initialized to zero: …
Which of the following graphs is isomorphic to
Given the language , which of the following strings are in ?
Which of the following problems are decidable? Does a given program ever produce an output? If is a context-free language, then, is also context-free? If is a regular language, then, is also regular? If is a recursive language, then, is also recursive?
In the IPv4 addressing format, the number of networks allowed under Class addresses is:
Which of the following transport layer protocols is used to support electronic mail?
Consider a random variable that takes values and with probability each. The values of the cumulative distribution function at and are
