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.

9 on this page
Official PYQ2005Engineering MathematicsMonoids and GroupsMCQ · 1 mark
The set {1,2,4,7,8,11,13,14}\{1, 2, 4, 7, 8, 11, 13, 14\} is a group under multiplication modulo 1515. The inverses of 44 and 77 are respectively:
Official PYQ2005Engineering MathematicsGraphs: Connectivity, Matching, ColouringMCQ · 1 mark
Let GG be a simple graph with 2020 vertices and 100100 edges. The size of the minimum vertex cover of G is 88. Then, the size of the maximum independent set of GG is:
Official PYQ2005Engineering MathematicsProbability: Random Variables and DistributionsMCQ · 1 mark
Let f(x)f(x) be the continuous probability density function of a random variable xx, the probability that a<x≤ba < x \leq b, is :
Official PYQ2005Engineering MathematicsGraphs: Connectivity, Matching, ColouringMCQ · 1 mark
Let GG be a simple connected planar graph with 1313 vertices and 1919 edges. Then, the number of faces in the planar embedding of the graph is:
Official PYQ2005Engineering MathematicsSets, Relations and FunctionsMCQ · 1 mark
Let A,BA, B and CC be non-empty sets and let X=(A−B)−CX = ( A - B ) - C and Y=(A−C)−(B−C).Y = ( A - C ) - ( B - C ). Which one of the following is TRUE?
Official PYQ2005Engineering MathematicsPartial Orders and LatticesMCQ · 1 mark
The following is the Hasse diagram of the poset [{a,b,c,d,e},≺]\left[\{a,b,c,d,e\},≺\right] The poset is :
Official PYQ2005AlgorithmsSearching, Sorting, HashingMCQ · 1 mark
Suppose there are ⌈log⁡n⌉\lceil \log n \rceil sorted lists of ⌊n/log⁡n⌋\lfloor n /\log n \rfloor elements each. The time complexity of producing a sorted list of all these elements is: (Hint:Use a heap data structure)
Official PYQ2005Digital LogicCombinational CircuitsMCQ · 1 mark
Consider the following circuit involving a positive edge triggered D FF. Consider the following timing diagram. Let AiA_{i} represents the logic level on the line AA in the ii-th clock period. Let A′A' represent the complement of AA. The correct output sequence on YY over the clock periods 11 through 55 is:
Official PYQ2005Operating SystemSystem CallsMCQ · 1 mark
Consider the following code fragment: if (fork() == 0) { a = a + 5; printf("%d, %p n", a, &a); } else { a = a - 5; printf ("%d, %p n", a,& a); } Let u,vu,v be the values printed by the parent process and x,yx,y be the values printed by the child process. Which one of the following is TRUE?