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
A rectangular paper sheet of dimensions is taken. The two longer edges of the sheet are joined together to create a cylindrical tube. A cube whose surface area is equal to the area of the sheet is also taken. Then, the ratio of the volume of the cylindrical tube to the volume of the cube is
The pie chart presents the percentage contribution of different macronutrients to a typical diet of a person. The typical energy density of these macronutrients is given in the table. …
A rectangular paper of is folded times. Each fold is made along the line of symmetry, which is perpendicular to its long edge. The perimeter of the final folded sheet (in ) is
The least number of squares to be added in the figure to make a line of symmetry is
Two wizards try to create a spell using all the four elements, water, air, fire, and earth. For this, they decide to mix all these elements in all possible orders. They also decide to work independently. After trying all possible combination of elements, they conclude that the spell does not work. How many attempts does each wizard make before coming to …
If ' ' denotes increasing order of intensity, then the meaning of the words [walk jog sprint] is analogous to [bothered ________ daunted]. Which one of the given options is appropriate to fill the blank?
In an engineering college of students, like neither their core branches nor other branches. The number of students who like their core branches is of the number of students who like other branches. The number of students who like both their core and other branches is . The number of students who like …
For positive non-zero real variables and , if then, the value of is
In the sequence , a possible value of is
Sequence the following sentences in a coherent passage. : This fortuitous geological event generated a colossal amount of energy and heat that resulted in the rocks rising to an average height of across the contact zone. : Thus, the geophysicists tend to think of the Himalayas as an active geological event …
A person sold two different items at the same price. He made profit in one item, and loss in the other item. In selling these two items, the person made a total of
The pie charts depict the shares of various power generation technologies in the total electricity generation of a country for the years and . The renewable sources of electricity generation consist of Hydro, Solar and Wind. Assuming that the total electricity generated remains the same from to , what is the percentage …
A cube is to be cut into pieces of equal size and shape. Here, each cut should be straight and it should not stop till it reaches the other end of the cube. The minimum number of such cuts required is
In the array shown below, each cell of the first three rows has either a cross or a number. The number in a cell represents the count of the immediate neighboring cells (left, right, top, bottom, diagonals) NOT having a cross ( ). Given that the last row has no crosses , the sum of the four numbers to be filled in the last …
Consider a computer with a processor. Its controller can transfer bytes in cycle from a device to main memory through cycle stealing at regular intervals. Which one of the following is the data transfer rate (in bits per second) of the controller if of the processor cycles are used for …
Let and be the following propositions: : Fail grade can be given. : Student scores more than marks. Consider the statement: "Fail grade cannot be given when student scores more than marks." Which one of the following is the CORRECT representation of the above statement in propositional logic?
Consider the following program. Assume parameters to a function are evaluated from right to left. #include <stdio.h> int g(int p) { printf("%d", p); return p; } int h(int q) { printf("%d", q); return q; } void f(int x, int y) { g(x); h(y); } int main() { f(g(10), h(20)); } Which one of the following options is the CORRECT output of the …
Let be the recurrence relation defined as follows: Which one of the following statements is TRUE?
Let be a continuous function from to such that Which one of the following options is the CORRECT value of ?
Let be the adjacency matrix of a simple undirected graph . Suppose is its own inverse. Which one of the following statements is always TRUE?
