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 is FALSE?
Suppose a disk has cylinders, numbered from to . At some time the disk arm is at cylinder , and there is a queue of disk access requests for cylinders and . If Shortest-Seek Time First (SSTF) is being used for scheduling the disk access, the request for cylinder is serviced after …
Match the following: 1) Waterfall model a) Specifications can be developed incrementally 2) Evolutionary model b) Requirements compromises are inevitable 3) Component-based software engineering c) Explicit recognition of risk 4) Spiral development d) Inflexible partitioning of the project into stages
Consider the finite automaton in the following figure: What is the set of reachable states for the input string ?
Which one of the following is TRUE?
Which one of the following is FALSE?
Consider the directed graph below given. Which one of the following is TRUE?
Let be quicksort program to sort numbers in ascending order using the first element as the pivot. Let and be the number of comparisons made by P for the inputs and respectively. Which one of the following holds?
Consider a rooted n node binary tree represented using pointers. The best upper bound on the time required to determine the number of subtrees having exactly nodes is . Then the value of is __________.
Let be a graph with vertices and edges. What is the tightest upper bound on the running time of Depth First Search on , when is represented as an adjacency matrix?
Consider the following program in C language: #include <stdio.h> main() { int i; int*pi = &i; scanf("%d",pi); printf("%d\n", i+5); } Which one of the following statements is TRUE?
The base (or radix) of the number system such that the following equation holds is____________.
A machine has a architecture, with long instructions. It has registers, each of which is bits long. It needs to support instructions, which have an immediate operand in addition to two register operands. Assuming that the immediate operand is an unsigned integer, the maximum value of the immediate …
Consider the following Boolean expression for F: The minimal sumofproducts form of is
Let the function where and denote the …
The value of the dot product of the eigenvectors corresponding to any pair of different eigenvalues of a symmetric positive definite matrix is ___________
Consider the following system of equations: The number of solutions for this system is ______________
Let be a directed graph where is the set of vertices and the set of edges. Then which one of the following graphs has the same strongly connected components as ?
Suppose you break a stick of unit length at a point chosen uniformly at random. Then the expected length of the shorter stick is ________ .
When a point inside of a tetrahedron (a solid with four triangular surfaces) is connected by straight lines to its corners, how many (new) internal planes are created with these lines?
