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
Consider allocation of memory to a new process. Assume that none of the existing holes in the memory will exactly fit the process’s memory requirement. Hence, a new hole of smaller size will be created if allocation is made in any of the existing holes. Which one of the following statement is TRUE?
Consider the following statements about process state transitions for a system using preemptive scheduling. A running process can move to ready state. A ready process can move to running state. A blocked process can move to running state. A blocked process can move to ready state. Which of the above statements are TRUE?
Consider a relational database containing the following schemas. …
Which one of the following is used to represent the supporting many-one relationships of a weak entity set in an entity-relationship diagram?
What is the worst case time complexity of inserting elements into an empty linked list, if the linked list needs to be maintained in sorted order?
Let be the set of all binary relations on the set . Suppose a relation is chosen from at random. The probability that the chosen relation is reflexive (round off to decimal places) is ______.
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
