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 the set of functional dependencies hold on a relation schema . is not in BCNF. Suppose is decomposed into two schemas and , where and . Consider the two statements given below. Both and are in BCNF Decomposition of …
Assume that in a certain computer, the virtual addresses are bits long and the physical addresses are bits long. The memory is word addressible. The page size is kB and the word size is bytes. The Translation Look-aside Buffer (TLB) in the address translation path has valid entries. At most how many distinct virtual …
Consider the following sets: S1: Set of all recursively enumerable languages over the alphabet S2: Set of all syntactically valid C programs S3: Set of all languages over the alphabet S4: Set of all non-regular languages over the alphabet Which of the above sets are uncountable?
Consider the first order predicate formula : Here denotes that , where and are integers. Consider the following sets: …
There are unsorted arrays: . Assume that is odd.Each of contains distinct elements. There are no common elements between any two arrays. The worst-case time complexity of computing the median of the medians of is
Consider the following grammar and the semantic actions to support the inherited type declaration attributes. Let , and be the placeholders for the non-terminals or in the following table: …
Let be any connected, weighted, undirected graph. has a unique minimum spanning tree, if no two edges of have the same weight. has a unique minimum spanning tree, if, for every cut of , there is a unique minimum-weight edge crossing the cut. Which of the following statements is/are TRUE?
Consider the following snapshot of a system running concurrent processes. Process is holding instances of a resource , . Assume that all instances of are currently in use. Further, for all , process can place a request for at most additional instances of while holding the …
Consider the following statements: The smallest element in a max-heap is always at a leaf node The second largest element in a max-heap is always a child of a root node A max-heap can be constructed from a binary search tree in time A binary search tree can be constructed from a max-heap in time Which of the above statements are …
Consider the following four processes with arrival times (in milliseconds) and their length of CPU bursts (in milliseconds) as shown below: …
Consider the augmented grammar given below: Let The number of items in the set is______
The index node (inode) of a Unix -like file system has direct, one single-indirect and one double-indirect pointers. The disk block size is kB, and the disk block address is -bits long. The maximum possible file size is (rounded off to decimal place) ____ GB
Consider the following matrix: The absolute value of the product of Eigen values of is _______
A certain processor deploys a single-level cache. The cache block size is words and the word size is bytes. The memory system uses a -MHz clock. To service a cache miss, the memory controller first takes cycle to accept the starting address of the block, it then takes cycles to fetch all the eight words of the block, and finally …
Let be a full binary tree with leaves. (A full binary tree has every level full.) Suppose two leaves and of are chosen uniformly and independently at random. The expected value of the distance between and in (ie., the number of edges in the unique path between and ) is (rounded off to decimal …
Suppose is distributed uniformly in the open interval . The probability that the polynomial has only real roots is (rounded off to decimal place) _______
Consider that machines need to be connected in a LAN using -port Ethernet switches. Assume that these switches do not have any separate uplink ports. The minimum number of switches needed is ______
Let be the set of all bijections from to , where denotes the identity function, i.e. . Let denote composition on functions. For a string , let . Consider the language …
What is the minimum number of -input NOR gates required to implement a -variable function expressed in sum-of-minterms form as Assume that all the inputs and their complements are available. Answer: _______
A relational database contains two tables Student and Performance as shown below: …
