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
Let be a polynomial and be its derivative. If the degree of is , then the degree of is __________.
The Floyd-Warshall algorithm for all-pair shortest paths computation is based on
Consider the following expressions: The number of expressions given above that are logically implied by is ___________.
B+ Trees are considered BALANCED because.
The value printed by the following program is _______. void f (int * p, int m) { m = m + 5; *p = *p + m; return; } void main () { int i=5, j=10; f (&i, j); printf ("%d", i+j); }
Breadth First Search (BFS) is started on a binary tree beginning from the root vertex. There is a vertex at a distance four from the root. If is the vertex in this BFS traversal, then the maximum possible value of is __________
The number of states in the minimum sized DFA that accepts the language defined by the regular expression. is ________.
Assume that the algorithms considered here sort the input sequences in ascending order. If the input is already in the ascending order, which of the following are TRUE? Quicksort runs in time Bubblesort runs in time Mergesort runs in time Insertion sort runs in time
In which one of the following page replacement algorithms it is possible for the page fault rate to increase even when the number of allocated frames increases?
items are stored in a sorted doubly linked list. For a delete operation, a pointer is provided to the record to be deleted. For a decrease-key operation, a pointer is provided to the record on which the operation is to be performed. An algorithm performs the following operations on the list in this order: delete, …
Anarkali digitally signs a message and sends it to Salim. Verification of the signature by Salim requires.
The minimum number of colours that is sufficient to vertex-colour any planar graph is ________.
Suppose a database schedule involves transactions . Construct the precedence graph of with vertices representing the transactions and edges representing the conflicts. If is serializable, which one of the following orderings of the vertices of the precedence graph is guaranteed to yield a serial schedule?
Suppose that the eigenvalues of matrix are . The determinant of is _________.
Let be the number of distinct -bit integers in complement representation. Let be the number of distinct -bit integers in sign magnitude representation Then is______.
A processor has distinct instruction and general purpose registers. A -bit instruction word has an opcode, two registers operands and an immediate operand. The number of bits available for the immediate operand field is_______.
Consider the systems, each consisting of linear equations in variables. If , then all such systems have a solution. If , then none of these systems has a solution. If , then there exists a system which has a solution. Which one of the following is CORRECT?
In an Ethernet local area network, which one of the following statements is TRUE?
Language is defined by the grammar: Language is defined by the grammar: Consider the following statements: P: is regular Q: is regular Which one of the following is TRUE?
Suppose that a shop has an equal number of LED bulbs of two different types. The probability of an LED bulb lasting more than hours given that it is of Type is , and given that it is of Type is . The probability that an LED bulb chosen uniformly at random lasts more than hours is _________.
