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?
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?
In a survey, respondents were asked whether they own a vehicle or not. If yes, they were further asked to mention whether they own a car or scooter or both. Their responses are tabulated below. What percent of respondents do not own a scooter? …
Geneticists say that they are very close to confirming the genetic roots of psychiatric illnesses such as depression and schizophrenia, and consequently, that doctors will be able to eradicate these diseases through early identification and gene therapy. On which of the following assumptions does the statement above rely? Select one:
Round-trip tickets to a tourist destination are eligible for a discount of on the total fare. In addition, groups of or more get a discount of on the total fare. If the one way single person fare is , a group of tourists purchasing round-trip tickets will be charged __________
The Palghat Gap (or Palakkad Gap) , a region about wide in the southern part of the Western Ghats in India, is lower than the hilly terrain to its north and south. The exact reasons for the formation of this gap are not clear. It results in the neighbouring regions of Tamil Nadu getting more rainfall from the South West monsoon and the …
If , compute .
