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
The ratio of boys to girls in a class is to . Among the options below, an acceptable value for the total number of students in the class is:
A polygon is convex if, for every pair of points, and belonging to the polygon, the line segment lies completely inside or on the polygon. Which one of the following is a convex polygon?
A circular sheet of paper is folded along the lines in the directions shown. The paper, after being punched in the final folded state as shown and unfolded in the reverse order of folding, will look like _______.
Consider the following sentences: Everybody in the class is prepared for the exam. Babu invited Danish to his home because he enjoys playing chess. Which of the following is the observation about the above two sentences?
___________ is to surgery as writer is to ___________ Which one of the following options maintains a similar logical relation in the above sentence?
Details of prices of two items and are presented in the above table. The ratio of …
There are five bags each containing identical sets of ten distinct chocolates. One chocolate is picked from each bag. The probability that at least two chocolates are identical is __________
Given below are two statements and , and two conclusions and All bacteria are microorganisms. All pathogens are microorganisms. Some pathogens are bacteria. All pathogens are not bacteria. Based on the above statements and …
Some people suggest anti-obesity measures such as displaying calorie information in restaurant menus. Such measures sidestep addressing the core problems that cause obesity: poverty and income inequality. Which one of the following statements summarizes the passage?
Suppose that is a regular language and is a context-free language. Which one of the following languages is necessarily context-free?
Let be an array containing integers. Let be the lowest upper bound on the number of comparisons of the array elements, required to find the minimum and maximum values in an arbitrary array of elements. Which one of the following choices is correct?
Consider the following three functions. Which one of the following options arranges the functions in the increasing order of asymptotic growth rate?
Consider the following statements. The sequence of procedure calls corresponds to a preorder traversal of the activation tree. The sequence of procedure returns corresponds to a postorder traversal of the activation tree. Which one of the following options is correct?
Consider the following statements. Every grammar is unambiguous but there are certain unambiguous grammars that are not . For any context-free grammar, there is a parser that takes at most time to parse a string of length . Which one of the following options is correct?
Let the representation of a number in base be . What is the hexadecimal representation of the number?
Consider the following two statements. : Destination address of an reply is a broadcast address. : Destination address of an request is a broadcast address. Which one of the following choices is correct?
Let and be two propositions. Consider the following two formulae in propositional logic. Which one of the following choices is correct?
Consider the following array. Which algorithm out of the following options uses the least number of comparisons (among the array elements) to sort the above array in ascending order?
A binary search tree contains distinct elements. What is the time complexity of picking an element in that is smaller than the maximum element in ?
In the context of operating systems, which of the following statements is/are correct with respect to paging?
