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
If , , , then ________
The figure below shows an annular ring with outer and inner as and , respectively. The annular space has been painted in the form of blue colour circles touching the outer and inner periphery of annular space. If maximum number of circles can be painted, then the unpainted area available in annular space is _____.
Two straight lines are drawn perpendicular to each other in plane. If and are the acute angles the straight lines make with the axis, then is ________.
The total revenue of a company during is shown in the bar graph. If the total expenditure of the company in each year is million rupees, then the aggregate profit or loss (in percentage) on the total expenditure of the company during is ___________.
Consider the functions Which of the above functions is/are increasing everywhere in ?
For parameters and , both of which are , , and . Then is
Consider the following statements. Daisy chaining is used to assign priorities in attending interrupts. When a device raises a vectored interrupt, the CPU does polling to identify the source of interrupt. In polling, the CPU periodically checks the status bits to know if any device needs its attention. During DMA, both the CPU and DMA controller can be bus …
Consider the following data path diagram. Consider an instruction: . The following steps are used to execute it over the given data path. Assume that PC is incremented appropriately. The subscripts and indicate read and write operations, respectively. …
The preorder traversal of a binary search tree is . Which one of the following is the postorder traversal of the tree?
What is the worst case time complexity of inserting elements into an AVL-tree with elements initially?
Which one of the following regular expressions represents the set of all binary strings with an odd number of s?
Consider the following statements. If is regular, then both and must be regular. The class of regular languages is closed under infinite union. Which of the above statements is/are TRUE?
Consider the following statements. Symbol table is accessed only during lexical analysis and syntax analysis. Compilers for programming languages that support recursion necessarily need heap storage for memory allocation in the run-time environment. Errors violating the condition ‘any variable must be declared before its use’ are detected during syntax …
Consider the language and the following statements. is deterministic context-free. is context-free but not deterministic context-free. is not for any . Which of the above statements is/are TRUE?
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 ______.
