Skip to content

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
Official PYQ2017Digital LogicSequential CircuitsMCQ · 1 mark
The next state table of a 2−2-bit saturating up-counter is given below. Q1Q0Q1+Q0+0001011010111111\begin{array}{cc|cc} Q_1 & Q_0 & Q_1^+ & Q_0^+ \\ \hline 0 & 0 & 0 & 1 \\ 0 & 1 & 1 & 0 \\ 1 & 0 & 1 & 1 \\ 1 & 1 & 1 & 1 \end{array} The counter is built as a synchronous sequential circuit using TT flip-flops. The …
Official PYQ2017Computer NetworksTransport Layer: Flow Control, Congestion Control, UDP, TCP, SocketsMCQ · 1 mark
Consider two hosts XX and YY, connected by a single direct link of rate 106  bits/sec10^6\; \text{bits/sec}. The distance between the two hosts is 10,000  km10,000\;\text{km} and the propagation speed along the link is 2×108  m/sec2 \times 10^8 \;\text{m/sec}. Host XX sends a file of 50,000  bytes50,000\;\text{bytes} as one large message to host YY continuously. Let the …
Official PYQ2017Engineering MathematicsProbability: Random Variables and DistributionsNAT · 1 mark
If a random variable XX has a Poisson distribution with mean 55, then the expectation E[(x+2)2]E\left [ \left ( x+2 \right )^{2} \right ] equals ___.
Official PYQ2017Digital LogicBoolean AlgebraMCQ · 1 mark
If w,x,y,zw, x, y, z are Boolean variables, then which one of the following is INCORRECT?
Official PYQ2017Operating SystemFile SystemsMCQ · 1 mark
In a file allocation system, which of the following allocation scheme(s) can be used if no external fragmentation is allowed? Contiguous Linked Indexed
Official PYQ2017Digital LogicNumber Representations (Fixed and Floating Point)MCQ · 1 mark
Given the following binary number in 3232-bit (single precision) IEEE-754\text{IEEE-754} format : 00111110011011010000000000000000\large 00111110011011010000000000000000 The decimal value closest to this floating-point number is :
Official PYQ2017Computer NetworksFragmentation and IP Addressing, IPv4, CIDRNAT · 1 mark
The maximum number of IPv4\textsf{IPv4} router addresses that can be listed in the record route (RR) option field of an IPv4\textsf{IPv4} header is______.
Official PYQ2017General AptitudeMCQ · 1 mark
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 0.050.05 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 …
Official PYQ2017General AptitudeMCQ · 1 mark
The number of roots of ex+0.5x2−2=0e^{x}+0.5x^{2}-2=0 in the range [−5,5][-5,5] is
Official PYQ2017General AptitudeMCQ · 1 mark
XX is a 3030 digit number starting with the digit 44 followed by the digit 77. Then the number X3X^3 will have
Official PYQ2017General AptitudeMCQ · 1 mark
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?
Official PYQ2017General AptitudeMCQ · 1 mark
“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 …
Official PYQ2017General AptitudeMCQ · 1 mark
There are 33 red socks, 44 green socks and 33 blue socks.You choose 22 socks. The probability that they are of the same colour is
Official PYQ2017General AptitudeMCQ · 1 mark
A test has twenty questions worth 100100 marks in total. There are two types of questions. Multiple choice questions are worth 33 marks each and essay questions are worth 1111 marks each. How many multiple choice questions does the exam have?
Official PYQ2017General AptitudeMCQ · 1 mark
There are five buildings called VV, WW, XX, YY and ZZ in a row (not necessarily in that order). VV is to the West of WW. ZZ is to the East of XX and the West of VV. WW is to the West of YY. Which is the building in the middle?
Official PYQ2017General AptitudeMCQ · 1 mark
Saturn is ___________ to be seen on a clear night with the naked eye.
Official PYQ2017General AptitudeMCQ · 1 mark
Choose the option with words that are not synonyms.
Official PYQ2017AlgorithmsAlgorithm Design: Greedy TechniquesNAT · 1 mark
A message is made up entirely of characters from the set X={P,Q,R,S,T}X=\{P, Q, R, S, T\}. The table of probabilities for each of the characters is shown below: …
Official PYQ2017Engineering MathematicsCombinatorics: Counting, Recurrence Relations, Generating FunctionsNAT · 1 mark
If the ordinary generating function of a sequence {an}n=0∞\left \{a_n\right \}_{n=0}^\infty is 1+z(1−z)3\large \frac{1+z}{(1-z)^3}, then a3−a0a_3-a_0 is equal to ___________ .
Official PYQ2017DatabasesTuple Calculus and SQLNAT · 1 mark
Consider the following database table named top_scorer\text{top\_scorer}. …