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 Young tableau is a array of integers increasing from left to right and from top to bottom. Any unfilled entries are marked with , and hence there cannot be any entry to the right of, or below a . The following Young tableau consists of unique entries. …
Consider memory partitions of sizes , , , , and , where refers to . These partitions need to be allotted to four processes of sizes , , …
Consider the intermediate code given below. (1) i=1 (2) j=1 (3) t1 = 5 * i (4) t2 = t1 + j (5) t3 = 4 * t2 (6) t4 = t3 (7) a[t4] = -1 (8) j = j + 1 (9) if j <= 5 goto (3) (10) i = i +1 (11) if i < 5 goto (2) The number of nodes and edges in control-flow-graph constructed for the above code, respectively, are
A graph is self-complementary if it is isomorphic to its complement. For all self-complementary graphs on vertices, is
Perform the following operations on the matrix Add the third row to the second row Subtract the third column from the first column. The determinant of the resultant matrix is _____.
Let and denote the area of region bounded by and the X-axis, when varies from to . Which of the following statements is/are TRUE? is continuous in is not bounded in is nonzero and finite
A computer system implements a virtual address, page size of , and a translation look-aside buffer organized into sets each having ways. Assume that the tag does not store any process id. The minimum length of the tag in bits is ______.
A system has identical resources and processes competing for them. Each process can request at most resources. Which one of the following values of could lead to a deadlock?
Assume that for a certain processor, a read request takes on a cache miss and on a cache hit. Suppose while running a program, it was observed that of the processor's read requests result in a cache hit. The average read access time in nanoseconds is ______.
An unordered list contains distinct elements. The number of comparisons to find an element in this list that is neither maximum nor minimum is
Consider the following statements. The complement of every Turing decidable language is Turing decidable There exists some language which is in NP but is not Turing decidable If L is a language in NP, L is Turing decidable Which of the above statements is/are true?
Identify the correct order in which a server process must invoke the function calls accept, bind, listen, and recv according to UNIX socket API.
Match the following: …
The cardinality of the power set of is _______
Consider a complete binary tree where the left and right subtrees of the root are max-heaps. The lower bound for the number of operations to convert the tree to a heap is
Consider the following function written in the C programming langauge : void foo(char *a) { if (*a && *a != ' ') { foo(a+1); putchar(*a); } } The output of the above function on input "" is
Let be the relation on the set of positive integers such that and only if and are distinct and let have a common divisor other than Which one of the following statements about is true?
In the context of abstract-syntax-tree (AST) and control-flow-graph (CFG), which one of the following is TRUE?
Which of the following statements is NOT correct about HTTP cookies?
Consider the basic COCOMO model where is the effort applied in person-months, is the development time in chronological months, is the estimated number of delivered lines of code (in thousands) and have their useful meanings. The basic COCOMO equations are of the form
