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 concurrency control protocols ensure both conflict serializability and freedom from deadlock? -phase locking Time-stamp ordering
A relational schema for a train reservation database is given below. passenger(pid, pname, age) reservation(pid, class, tid) …
Consider a -tree in which the maximum number of keys in a node is . What is the minimum number of keys in any non-root node?
Let be the recursive language. Let and be languages that are recursively enumerable but not recursive. Which of the following statements is not necessarily true?
Which one of the following is not a client-server application?
Which languages necessarily need heap allocation in the runtime environment?
Which data structure in a compiler is used for managing information about variables and their attributes?
Two alternative packages and are available for processing a database having records. Package requires time units and package requires time units to process records. What is the smallest value of for which package will be preferred over ?
What does the following program print? #include<stdio.h> void f(int *p, int *q) { p=q; *p=2; } int i=0, j=1; int main() { f(&i, &j); printf("%d %d\n", i,j); return 0; }
In a binary tree with nodes, every node has an odd number of descendants. Every node is considered to be its own descendant. What is the number of nodes in the tree that have exactly one child?
The Boolean expression of the output of the multiplexer shown below is
is a -bit signed integer. The 's complement representation of is . The 's complement representation of is
The main memory unit with a capacity of is built using DRAM chips. Each DRAM chip has rows of cells with cells in each row. The time taken for a single refresh operation is . The time required to perform one refresh operation on all the cells …
The minterm expansion of is
Suppose the predicate is used to represent the statement that person can fool person at time . Which one of the statements below expresses best the meaning of the formula,
Consider the following matrix If the eigenvalues of A are and , then
The degree sequence of a simple graph is the sequence of the degrees of the nodes in the graph in decreasing order. Which of the following sequences can not be the degree sequence of any graph?
What is the probability that divisor of is a multiple of ?
Consider a company that assembles computers. The probability of a faulty assembly of any computer is . The company therefore subjects each computer to a testing process. This testing process gives the correct result for any computer with a probability of . What is the probability of a computer being declared faulty?
What is the value of ?
