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, where are Boolean variables, and is the XOR operator. Which one of the following must always be TRUE?
In a rectangle grid shown below, each cell is rectangle. How many rectangles can be observed in the grid?
Among faculty members in an institute, are connected with each other through Facebook and are connected through Whatsapp. faculty members do not have Facebook or Whatsapp accounts. The numbers of faculty members connected only through Facebook accounts is _______.
Open the full question
All hill-stations have a lake. Ooty has two lakes. Which of the statement(s) below is/are logically valid and can be inferred from the above sentences? Ooty is not a hill-station. No hill-station can have more than one lake.
Computers were invented for performing only high-end useful computations. However, it is no understatement that they have taken over our world today. The internet, for example, is ubiquitous. Many believe that the internet itself is an unintended consequence of the original invention. With the advent of mobile computing on our phones, a whole new dimension …
In a quadratic function, the value of the product of the roots is . Find the value of
Nobody knows how the Indian cricket team is going to cope with the difficult and seamer-friendly wickets in Australia. Choose the option which is closest in meaning to the underlined phrase in the above sentence.
Find the odd one in the following group of words. mock, deride, praise, jeer
The man who is now Municipal Commissioner worked as ________________.
Pick the odd one from the following options.
The least number of temporary variables required to create a three-address code in static single assignment form for the expression is__________________.
Let G be a connected planar graph with 10 vertices. If the number of edges on each face is three, then the number of edges in G is_______________.
Suppose that the stop-and-wait protocol is used on a link with a bit rate of per second and propagation delay. Assume that the transmission time for the acknowledgment and the processing time at nodes are negligible. Then the minimum frame size in bytes to achieve a link utilization of at least …
Consider the DFAs and given above. The number of states in a minimal DFA that accept the language is_____________.
Consider the NPDA , where (as per usual convention) is the set of states, is the input alphabet, is the stack alphabet, is …
A variable is said to be live at a statement in a program if the following three conditions hold simultaneously: There exists a statement that uses There is a path from to in the flow graph corresponding to the program The path has no intervening assignment to including at and The …
Let a represent the number of bit strings of length n containing two consecutive s. What is the recurrence relation for ?
Consider a disk pack with a seek time of milliseconds and rotational speed of rotations per minute (RPM). It has sectors per track and each sector can store bytes of data. Consider a file stored in the disk. The file contains sectors. Assume that every sector access necessitates a seek, and the average rotational …
Consider a main memory with five-page frames and the following sequence of page references: . Which one of the following is true with respect to page replacement policies First In First Out (FIFO) and Least Recently Used (LRU)?
