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
Given the following binary number in -bit (single precision) format : The decimal value closest to this floating-point number is :
The maximum number of router addresses that can be listed in the record route (RR) option field of an header is______.
An air pressure contour line joins locations in a region having the same atmospheric pressure. The following is an air pressure contour plot of a geographical region. Contour lines are shown at bar intervals in this plot. If the possibility of a thunderstorm is given by how fast air pressure rises or drops over a region, which of the following …
The number of roots of in the range is
is a digit number starting with the digit followed by the digit . Then the number will have
There are three boxes. One contains apples, another contains oranges and the last one contains both apples and oranges. All three are known to be incorrectly labeled. If you are permitted to open just one box and then pull out and inspect only one fruit, which box would you open to determine the contents of all three boxes?
“We lived in a culture that denied any merit to literary works, considering them important only when they were handmaidens to something seemingly more urgent – namely ideology. This was a country where all gestures, even the most private, were interpreted in political terms.” The author’s belief that ideology is not as important as literature is revealed by …
There are red socks, green socks and blue socks.You choose socks. The probability that they are of the same colour is
A test has twenty questions worth marks in total. There are two types of questions. Multiple choice questions are worth marks each and essay questions are worth marks each. How many multiple choice questions does the exam have?
There are five buildings called , , , and in a row (not necessarily in that order). is to the West of . is to the East of and the West of . is to the West of . Which is the building in the middle?
Saturn is ___________ to be seen on a clear night with the naked eye.
Choose the option with words that are not synonyms.
A message is made up entirely of characters from the set . The table of probabilities for each of the characters is shown below: …
If the ordinary generating function of a sequence is , then is equal to ___________ .
Consider the following database table named . …
Consider the following snippet of a C program. Assume that swap exchanges the content of and : int main () { int array[] = {3, 5, 1, 4, 6, 2}; int done =0; int i; while (done==0) { done =1; for (i=0; i<=4; i++) { if (array[i] < array[i+1]) { swap(&array[i], &array[i+1]); done=0; } } for (i=5; i>=1; i--) { if …
Consider the C program fragment below which is meant to divide by using repeated subtractions. The variables , , and are all unsigned int. while (r >= y) { r=r-y; q=q+1; } Which of the following conditions on the variables and before the execution of the fragment will ensure that the loop terminated in a …
The pre-order traversal of a binary search tree is given by . Then the post-order traversal of this tree is
Consider the binary code that consists of only four valid codewords as given below: Let the minimum Hamming distance of the code and the maximum number of erroneous bits that can be corrected by the code be . Then the values of and are
A system shares tape drives. The current allocation and maximum requirement of tape drives for that processes are shown below: …
