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 function is linear and has a value of at and at . Find its value at .
Select the pair of best expresses a relationship similar to that expressed in the pair: Children : Pediatrician
Extreme focus on syllabus and studying for tests has become such a dominant concern of Indian student that they close their minds to anything ___________ to the requirements of the exam.
The Tamil version of __________ John Abraham-starrer Madras Cafe __________ cleared by the Censor Board with no cuts last week, but the film's distributor _______ no takers among the exhibitors for a release in Tamilnadu _______ this Friday.
If is written as , then should be written as:
Consider two processors and executing the same instruction set. Assume that under identical conditions, for the same input, a program running on takes less time but incurs more CPI (clock cycles per instruction) as compared to the program running on . If the clock frequency of is …
Given the following schema: employees(emp-id, first-name, last-name, hire-date, dept-id, salary) departments(dept-id, dept-name, manager-id, location-id) You want to display the last names and hire dates of all latest hires in their respective departments in the location You issue the following query: SQL>SELECT last-name, hire-date …
Which one of the following propositional logic formulas is TRUE when exactly two of and are TRUE?
An ordered tuple with is called graphic if there exists a simple undirected graph with vertices having degrees respectively. Which one of the following -tuples is NOT graphic?
Consider an undirected graph where self-loops are not allowed. The vertex set of is . There is an edge between and if and . The number of edges in this graph is______.
Let ܵ denote the set of all functions . Denote by the number of functions from S to the set . The value of is _______.
A pennant is a sequence of numbers, each number being or . An pennant is a sequence of numbers with sum equal to . For example, is a pennant. The set of all possible pennants is , the set of all possible pennants is and the set of all pennants is . …
Four fair six-sided dice are rolled. The probability that the sum of the results being is . The value of is _______
A function is continuous in the interval . It is known that and . Which one of the following statements must be true?
The function satisfies the following equation: The value of is______.
Consider the multiplexer with two select lines and given below The minimal sum-of-products form of the Boolean expression for the output of the multiplexer is
An access sequence of cache block addresses is of length and contains n unique block addresses. The number of unique block addresses between two consecutive accesses to the same block address is bounded above by . What is the miss ratio if the access sequence is passed through a cache of associativity exercising least-recently-used …
Consider a -stage instruction pipeline, where all stages are perfectly balanced. Assume that there is no cycle-time overhead of pipelining. When an application is executing on this -stage pipeline, the speedup achieved with respect to non-pipelined execution if % of the instructions incur pipeline stall cycles is ____________
Consider the following pseudo code. What is the total number of multiplications to be performed? D = 2 for i = 1 to n do for j = i to n do for k = j + 1 to n do D = D * 3
Consider the following C function in which size is the number of elements in the array E: int MyX(int *E, unsigned int size) { int Y = 0; int Z; int i, j, k; for(i = 0; i< size; i++) Y = Y + E[i]; for(i=0; i < size; i++) for(j = i; j < size; j++) { Z = 0; for(k = i; k <= j; k++) Z = Z + E[k]; if(Z > Y) Y = Z; } return Y; } The value returned …
