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 PYQ2015AlgorithmsAlgorithm Design: Greedy TechniquesMCQ · 1 mark
Match the following: …
Official PYQ2015Engineering MathematicsSets, Relations and FunctionsMCQ · 1 mark
If g(x)=1−xg(x) = 1 - x and h(x)=xx−1h(x) = \frac{x}{x-1}, then g(h(x))h(g(x))\frac{g(h(x))}{h(g(x))} is:
Official PYQ2015Engineering MathematicsCalculus: Limits, Continuity, DifferentiabilityMCQ · 1 mark
lim⁡x→∞x1x\displaystyle \lim_{x\rightarrow \infty } x^{ \tfrac{1}{x}} is
Official PYQ2015Theory of ComputationTuring MachinesMCQ · 1 mark
For any two languages L1L_{1} and L2L_{2} such that L1L_{1} is context-free and L2L_{2} is recursively enumerable but not recursive, which of the following is/are necessarily true? Lˉ1\bar{L}_{1} ( Complement of L1L_{1}) is recursive Lˉ2\bar{L}_{2} ( Complement of L2L_{2}) is recursive Lˉ1\bar{L}_{1} is context-free Lˉ1\bar{L}_{1} ∪ L2L_{2} …
Official PYQ2015AlgorithmsSearching, Sorting, HashingMCQ · 1 mark
Which one of the following is the recurrence equation for the worst case time complexity of the quick sort algorithm for sorting n  (≥2)n\;( \geq 2) numbers? In the recurrence equations given in the options below, cc is a constant.
Official PYQ2015Software Engineering (Historical)MCQ · 1 mark
Match the following: (P) Condition Coverage (i) Black-box testing (Q) Equivalence class partitioning (ii) System testing (R) Volume testing (iii) White-box testing (S) Alpha testing (iv) Performance testing
Official PYQ2015General AptitudeMCQ · 1 mark
The probabilities that a student passes in mathematics, physics and chemistry are m,pm,p and cc respectively. Of these subjects, the student has 75%75\% chance of passing in at least one, a 50%50\% chance of passing in at least two and a 40%40\% chance of passing in exactly two. Following relations are drawn in m,p,cm, p, c: p+m+c=27/20p + m + c = 27/20 …
Official PYQ2015General AptitudeNAT · 1 mark
The pie chart below has the breakup of the number of students from different departments in an engineering college for the year 20122012. The proportion of male to female students in each department is 5:45:4. There are 4040 males in Electrical Engineering. What is the difference between the numbers of female students in the civil department and the …
Official PYQ2015General AptitudeMCQ · 1 mark
The given statement is followed by some courses of action. Assuming the statement to be true, decide the correct option. Statement: There has been a significant drop in the water level in the lakes supplying water to the city. Course of action: The water supply authority should impose a partial cut in supply to tackle the situation. The government should …
Official PYQ2015General AptitudeMCQ · 1 mark
Select the alternative meaning of the underlined part of the sentence. The chain snatchers took to their heels‾\underline{\text{took to their heels}} when the police party arrived.
Official PYQ2015General AptitudeMCQ · 1 mark
The number of students in a class who have answered correctly, wrongly, or not attempted each question in an exam, are listed in the table below. The marks for each question are also listed. There is no negative or partial marking. …
Official PYQ2015General AptitudeMCQ · 1 mark
Which one of the following combinations is incorrect?
Official PYQ2015General AptitudeMCQ · 1 mark
Based on the given statements, select the most appropriate option to solve the given question. If two floors in a certain building are 99 feet apart, how many steps are there in a set of stairs that extends from the first floor to the second floor of the building? Statements: Each step is 3/43/4 foot high. Each step is 11 foot wide.
Official PYQ2015General AptitudeMCQ · 1 mark
Given Set A=2,3,4,5A= {2, 3, 4, 5} and Set B=11,12,13,14,15B= { 11, 12, 13, 14, 15}, two numbers are randomly selected, one from each set. What is the probability that the sum of the two numbers equals 1616?
Official PYQ2015General AptitudeMCQ · 1 mark
Which of the following options is the closest in meaning of the sentence below? She enjoyed herself immensely at the party.
Official PYQ2015General AptitudeMCQ · 1 mark
Didn't you buy ____ when you went shopping?
Official PYQ2015Engineering MathematicsPropositional and First Order LogicMCQ · 1 mark
Which one of the following well-formed formulae is a tautology?
Official PYQ2015Engineering MathematicsSets, Relations and FunctionsNAT · 1 mark
Let XX and YY denote the sets containing 22 and 2020 distinct objects respectively and FF denote the set of all possible functions defined from XX to YY. Let ff be randomly chosen from FF. The probability of ff being one-to-one is ______.
Official PYQ2015Theory of ComputationRegular Expressions and Finite AutomataNAT · 1 mark
The number of states in the minimal deterministic finite automaton corresponding to the regular expression (0+1)∗(10)(0+1)^* (10) is _____.
Official PYQ2015Computer NetworksFragmentation and IP Addressing, IPv4, CIDRMCQ · 1 mark
Host A\text{Host A} sends a UDP\text{UDP} datagram containing 8880 bytes8880\text{ bytes} of user data to host B\text{host B} over an Ethernet LAN.\text{Ethernet LAN}. Ethernet frames may carry data up to 1500 bytes (i.e. MTU = 1500 bytes).1500\text{ bytes (i.e. MTU = 1500 bytes)}. Size of UDP\text{UDP} header is 8 bytes8\text{ bytes} and size of IP\text{IP} header is 20 bytes.20\text{ bytes}. There is no …