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 denotes the power set of set Which of the following is always true?
A relation is defined on the set of integers as iff is even. Which of the following statements is true?
A polynomial satisfies the following: The minimum degree of such a polynomial is
Let , and . Which of the following statements is true?
X, Y and Z are closed intervals of unit length on the real line. The overlap of X and Y is half a unit. The overlap of Y and Z is also half a unit. Let the overlap of X and Z be k units. Which of the following is true?
Given the relations employee (name, salary, dept-no), and department (dept-no, dept-name,address), Which of the following queries cannot be expressed using the basic relational algebra operations ?
B-trees are preferred to binary trees in databases because
Let be mutexes (binary semaphores) and be processes. Suppose each process executes the following: wait (m[i]); wait (m(i+1) mod 4]); ........... release (m[i]); release (m(i+1) mod 4]); This could cause
Which of the following derivations does a top-down parser use while parsing an input string? The input is scanned from left to right.
Which of the following need not necessarily be saved on a context switch between processes?
The number of tokens in the following C statement is printf("i=%d, &i=%x", i, &i);
Aliasing in the context of programming languages refers to
Consider the following C declaration: struct { short x[5]; union { float y; long z; } u; )t; Assume that the objects of the type short, float and long occupy bytes, bytes and bytes, respectively. The memory requirement for variable , ignoring alignment consideration, is:
Let be a sorted array of integers. Let denote the time taken for the most efficient algorithm to determined if there are two elements with sum less than in . Which of the following statement is true?
Consider the following nested representation of binary trees: indicates and are the left and right subtrees, respectively, of node . Note that and may be , or further nested. Which of the following represents a valid binary tree?
The most appropriate matching for the following pairs is:
The most appropriate matching for the following pairs …
The most appropriate matching for the following pairs is
The following C declarations: struct node { int i: float j; }; struct node *s[10]; define s to be:
Comparing the time T1 taken for a single instruction on a pipelined CPU with time T2 taken on a non-pipelined but identical CPU, we can say that
