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
Suppose you are asked to design a new reliable byte-stream transport protocol like This protocol, named , runs over a network with Round Trip Time of milliseconds and the maximum segment lifetime of minutes. Which of the following is/are valid lengths of the Sequence Number field in the …
Suppose in a web browser, you click on the . The browser cache is empty. The for this is not cached in your local host, so a lookup is triggered (by the local server deployed on your local host) over the -tier hierarchy in an …
Consider a random experiment where two fair coins are tossed. Let be the event that denotes on both the throws, be the event that denotes on the first throw, and be the event that denotes on the second throw. Which of the following statements is/are
Let be a simple, finite, undirected graph with vertex set . Let denote the maximum degree of and let denote the set of all possible colors. Color the vertices of using the following greedy strategy: for …
Consider functions and expressed in pseudocode as follows: Function_1 while n>1 do for i=1 to n do x = x + 1; end for n = ⌊n/2⌋; end while Function_2 for i = 1 to 100 * n do x = x + 1; end for Let and denote the number of times the statement is executed in …
Let . Let denote the powerset of . Consider an undirected graph whose vertex set is . For any is an edge in if and only if (i) , and (ii) either or . For any vertex in , the set of all possible orderings in which the …
Consider a computer system with -bit virtual addressing using multi-level tree-structured page tables with levels for virtual to physical address translation. The page size is and a page table entry at any of the levels occupies bytes. The value of is …
Consider the following two-dimensional array in the programming language, which is stored in row-major order: int D[128][128]; Demand paging is used for allocating memory and each physical page frame holds elements of the array The Least Recently Used page-replacement policy is used by the …
Consider a sequence of elements , and . The following operations are performed on a stack and a queue both of which are initially empty. the elements of from to in that order into . the elements of from …
Consider the following table named in a relational database. The primary key of this table is …
Consider the syntax directed translation given by the following grammar and semantic rules. Here and are non-terminals. is the starting non-terminal, and and are lexical tokens corresponding to input letters respectively. denotes the synthesized attribute (a …
Consider the language over the alphabet , given below: The minimum number of states in a Deterministic Finite-State Automaton for is ____________.
Consider a database of fixed-length records, stored as an ordered file. The database has records, with each record being bytes, of which the primary key occupies bytes. The data file is block-aligned in that each data record is fully contained within a block. The database is indexed by a primary index file, which is also stored as a …
An -way set associative cache of size is used in a system with -bit address. The address is sub-divided into and The number of bits in the is ___________.
The forwarding table of a router is shown below. …
We reached the station late, and _______ missed the train.
Kind : _______ : : Often : Frequently (By word meaning)
A series of natural numbers obeys for all integers . If and then what is
A survey for a certain year found that of pregnant women received medical care at least once before giving birth. Of these women, received medical care from doctors, while received medical care from other healthcare providers. Given this information, which one of the following statements can be inferred with certainty?
Looking at the surface of a smooth -dimensional object from the outside, which one of the following options is
