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 group of elements. Then the largest possible size of a subgroup of other than itself is _______.
A multiplexer is placed between a group of registers and an accumulator to regulate data movement such that at any given point in time the content of only one register will move to the accumulator. The number of select lines needed for the multiplexer is ______.
Consider the following statements about the functionality of an based router. A router does not modify the packets during forwarding. It is not necessary for a router to implement any routing protocol. A router should reassemble fragments if the of the outgoing link is larger than the size of …
If there are input lines and output lines for a decoder that is used to uniquely address a byte addressable KB RAM, then the minimum value of is ________ .
A direct mapped cache memory of MB has a block size of bytes. The cache has an access time of ns and a hit rate of . During a cache miss, it takes 0 ns to bring the first word of a block from the main memory, while each subsequent word takes ns. The word size is bits. The average memory access time in ns (round …
Consider a double hashing scheme in which the primary hash function is , and the secondary hash function is . Assume that the table size is . Then the address returned by probe in the probe sequence (assume that the probe sequence begins at probe ) for key value …
Consider the following grammar. The number of reduction steps taken by a bottom-up parser while accepting the string is ___________.
Consider the following C program. #include <stdio.h> int main () { int a[4] [5] = {{1, 2, 3, 4, 5}, {6, 7,8, 9, 10}, {11, 12, 13, 14, 15}, {16, 17,18, 19, 20}}; printf(“%d\n”, *(*(a+**a+2)+3)); return(0); } The output of the program is _______.
Assume that you have made a request for a web page through your web browser to a web server. Initially the browser cache is empty. Further, the browser is configured to send requests in non-persistent mode. The web page contains text and five very small images.The minimum number of connections required to display the web …
Consider the Boolean function . Which one of the following minterm lists represents the circuit given above?
Consider three registers , , and that store numbers in single precision floating point format. Assume that and contain the values (in hexadecimal notation) and respectively. If , what is the value stored in ?
Let and be two matrices over real numbers. Let rank() and denote the rank and determinant of a matrix , respectively. Consider the following statements. …
A computer system with a word length of bits has a MB byte- addressable main memory and a KB, -way set associative cache memory with a block size of bytes. Consider the following four physical addresses represented in hexadecimal notation. , , , …
Let be a weighted undirected graph and let be a Minimum Spanning Tree (MST) of maintained using adjacency lists. Suppose a new weighed edge is added to . The worst case time complexity of determining if is still an MST of the resultant graph is
Consider the following languages. Which one of the following is TRUE?
Each of a set of processes executes the following code using two semaphores and initialized to and , respectively. Assume that is a shared variable initialized to and not used in CODE SECTION P. wait(a); count=count+1; if (count==n) …
Consider the productions and . Each of the five non-terminals and has two attributes: is a synthesized attribute, and is an inherited attribute. Consider the following rules. Rule and Rule and …
Consider the following five disk access requests of the form (request id, cylinder number) that are present in the disk scheduler queue at a given time. Assume the head is positioned at cylinder . The scheduler follows Shortest Seek Time First scheduling to service the requests. Which one of the following …
Consider a relational table that is in , but not in BCNF. Which one of the following statements is TRUE?
Which one of the following predicate formulae is NOT logically valid? Note that is a predicate formula without any free occurrence of .
