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
The complement representation of an integer is its decimal representation is ____________
Which one of the following regular expressions represents the language: the set of all binary strings having two consecutive 's and two consecutive 's?
Which one of the following is NOT a part of the ACID properties of database transactions?
Consider the following C program. # include <stdio.h> void mystery (int *ptra, int *ptrb) { int *temp; temp = ptrb; ptrb =ptra; ptra = temp; } int main () { int a = 2016, b=0, c= 4, d = 42; mystery (&a, &b); if (a < c) mystery (&c, &a); mystery (&a, &d); printf("%d\n", a); } The output of the program is _________.
Which of the following languages is generated by the given grammar?
Which one of the following protocols is NOT used to resolve one form of address to another one?
Consider the following "C" program. void f(int, short); void main() { int i = 100; short s = 12; short *p = &s; ____________; // call to f() } Which one of the following expressions , when placed in the blank above, will NOT result in a type checking error?
Which of the following is NOT a superkey in a relational schema with attributes and primary key ?
Let be the number of -bit strings that do NOT contain two consecutive . Which one of the following is the recurrence relation for ?
Two eigenvalues of a real matrix are and . The determinant of is _______
A processor can support a maximum memory of , where the memory is word-addressable (a word consists of two bytes). The size of address bus of the processor is at least _________bits.
Consider the Boolean operator # with the following properties : and Then is equivalent to
Which of the following is/are example(s) of stateful application layer protocol?
Suppose the functions and can be computed in and nanoseconds by functional units and , respectively. Given two instances of and two instances of , it is required to implement the computation for . Ignoring all other delays, the minimum time required to complete …
Consider the following processes, with the arrival time and the length of the CPU burst given in milliseconds. The scheduling algorithm used is preemptive shortest remaining-time first. …
The width of the physical address on a machine is bits. The width of the tag field in a KB -way set associative cache is ________ bits.
Which one of the following well-formed formulae in predicate calculus is NOT valid ?
In an adjacency list representation of an undirected simple graph , each edge has two adjacency list entries: in the adjacency list of , and in the adjacency list of . These are called twins of each other. A twin pointer is a pointer from an adjacency list entry to its twin. If and , and the …
Consider the following database table named water_schemes: …
