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 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
The country of Zombieland is in distress since more than of its working population is suffering from serious health issues. Studies conducted by competent health experts concluded that a complete lack of physical exercise among its working population was one of the leading causes of their health issues. As one of the measures to address the …
Consider two functions of time where Now consider the following two statements: For some . There exists a such that for all . Which one of the following options is
Which one of the following sentence sequences creates a coherent narrative? Once on the terrace, on her way to her small room in the corner, she notices the man right away. She begins to pant by the time she has climbed all the stairs. Mina has bought vegetables and rice at the market, so her bags are heavy. He was leaning against the parapet, watching the …
