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
Consider a relation with the following three functional dependencies. The number of superkeys in the relation is ______________ .
The number of arrangements of six identical balls in three identical bins is _____________ .
The value of the following limit is ________________.
Consider the resolution of the domain name by a resolver. Assume that no resource records are cached anywhere across the servers and that iterative query mechanism is used in the resolution. The number of query-response pairs involved in completely resolving the domain name is …
A cache memory that has a hit rate of has an access latency and miss penalty An optimization is done on the cache to reduce the miss rate. However, the optimization results in an increase of cache access latency to whereas the miss penalty is not affected. The minimum hit rate (rounded …
Which one of the following is the closed form for the generating function of the sequence defined below?
Consider a simple undirected unweighted graph with at least three vertices. If is the adjacency matrix of the graph, then the number of cycles in the graph is given by the trace of
Which one of the following statements is
Consider a digital display system shown in the figure that displays the contents of register A code word is used to load a word in either from or from is a word memory segment and is a word register file. Based on the value of …
Consider three floating point numbers and stored in registers and respectively as per single precision floating point format. The content stored in these registers are as follows. …
Let and denote read and write operations on a data element by a transaction respectively. Consider the schedule with four transactions. Which one of the following serial schedules is conflict …
Consider four processes and scheduled on a as per round robin algorithm with a time quantum of The processes arrive in the order all at time There is exactly one context switch from to exactly one context switch from …
What is printed by the following program? #include<stdio.h> int main(int argc, char *argv[]) { char a = ‘P’; char b = ‘x’; char c = (a&b) + ‘*’; char d = (a|b) – ‘-’; char e = (a^b) + ‘+’; printf(“%c %c %c\n”, c, d, e); return 0; } encoding for relevant characters is given below …
What is printed by the following program? #include<stdio.h> int main (int argc, char *argv[]) { int a[3][3][3] = {{1, 2, 3, 4, 5, 6, 7, 8, 9}, {10, 11, 12, 13, 14, 15, 16, 17, 18}, {19, 20, 21, 22, 23, 24, 25, 26, 27}}; int i = 0, j = 0, k = 0; for ( i = 0; i < 3; i ++) { for ( k = 0; k < 3; k++) printf(“%d”, a[i][j][k]); printf …
Consider solving the following system of simultaneous equations using decomposition. where and are denoted as …
Consider the following languages: Which of the following statements is/are
Which of the following is/are undecidable?
Consider the following languages: Note that is the reversal of the string Which of the following is/are
Consider a simple undirected weighted graph all of whose edge weights are distinct. Which of the following statements about the minimum spanning trees of is/are
The following simple undirected graph is referred to as the Peterson graph. Which of the following statements is/are The size of the largest independent set of the given graph is (A subset of vertices of a graph form an independent set if no two vertices of the subset are adjacent.)
