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 PYQ2019General AptitudeMCQ · 1 mark
The expenditure on the project _____ as follows: equipment Rs.2020 lakhs, salaries Rs.1212 lakhs, and contingency Rs.33 lakhs.
Official PYQ2019General AptitudeMCQ · 1 mark
The search engine’s business model ____ around the fulcrum of trust.
Official PYQ2019General AptitudeMCQ · 1 mark
Ten friends planned to share equally the cost of buying a gift for their teacher. When two of them decided not to contribute, each of the other friends had to pay Rs. 150150 more. The cost of the gift was Rs. ____
Official PYQ2019General AptitudeMCQ · 1 mark
Two cars at the same time from the same location and go in the same direction. The speed of the first car is 5050 km/h and the speed of the second car is 6060 km/h. The number of hours it takes for the distance between the two cars to be 2020 km is _____.
Official PYQ2019General AptitudeMCQ · 1 mark
A court is to a judge as _________ is to a teacher
Official PYQ2019General AptitudeMCQ · 2 marks
The police arrested four criminals – P,Q,RP, Q, R and S.S. The criminals knew each other. They made the following statements: PP says “Q committed the crime.” QQ says “S committed the crime.” RR says “ I did not do it.” SS says “What Q said about me is false”. Assume only one of the arrested four committed the crime and only one of the …
Official PYQ2019General AptitudeMCQ · 2 marks
“A recent High Court judgement has sought to dispel the idea of begging as a disease – which leads to its stigmatization and criminalization – and to regard it as a symptom. The underlying disease is the failure of the state to protect citizens who fall through the social security net.” Which one of the following statements can be inferred from the given …
Official PYQ2019General AptitudeMCQ · 2 marks
In a college, there are three student clubs, 6060 students are only in the Drama club, 8080 students are only in the Dance club, 3030 students are only in Maths club, 4040 students are in both Drama and Dance clubs, 1212 students are in both Dance and Maths clubs, 77 students are in both Drama and Maths clubs, and 22 students are in all …
Official PYQ2019General AptitudeMCQ · 2 marks
Three of the five students are allocated to a hostel put in special requests to the warden, Given the floor plan of the vacant rooms, select the allocation plan that will accommodate all their requests. Request by X: Due to pollen allergy, I want to avoid a wing next to the garden. Request by Y: I want to live as far from the washrooms as possible, since I …
Official PYQ2019Computer Organization and ArchitectureMemory Hierarchy: Cache, Main Memory and Secondary StorageMCQ · 1 mark
A certain processor uses a fully associative cache of size 1616 kB, The cache block size is 1616 bytes. Assume that the main memory is byte addressable and uses a 3232-bit address. How many bits are required for the Tag and the Index fields respectively in the addresses generated by the processor?
Official PYQ2019Computer Organization and ArchitectureMemory Hierarchy: Cache, Main Memory and Secondary StorageMCQ · 1 mark
The chip select logic for a certain DRAM chip in a memory system design is shown below. Assume that the memory system has 1616 address lines denoted by A15A_{15} to A0A_0. What is the range of address (in hexadecimal) of the memory system that can get enabled by the chip select (CS) signal?
Official PYQ2019General AptitudeMCQ · 2 marks
In the given diagram, teachers are represented in the triangle, researchers in the circle and administrators in the rectangle. Out of the total number of the people, the percentage of administrators shall be in the range of _______
Official PYQ2019Compiler DesignParsing (LL, LR)MCQ · 1 mark
Which one of the following kinds of derivation is used by LR parsers?
Official PYQ2019Digital LogicNumber Representations (Fixed and Floating Point)MCQ · 1 mark
In 1616-bit 22’s complement representation, the decimal number −28-28 is:
Official PYQ2019Digital LogicBoolean AlgebraMCQ · 1 mark
Which one of the following is NOT a valid identity?
Official PYQ2019Theory of ComputationRegular and Context-free LanguagesMCQ · 1 mark
If LL is a regular language over Σ={a,b}\Sigma = \{a,b\}, which one of the following languages is NOT regular?
Official PYQ2019Digital LogicNumber Representations (Fixed and Floating Point)MCQ · 1 mark
Consider Z=X−YZ=X-Y where X,YX, Y and Z are all in sign-magnitude form. X and Y are each represented in nn bits. To avoid overflow, the representation of ZZ would require a minimum of:
Official PYQ2019Engineering MathematicsCombinatorics: Counting, Recurrence Relations, Generating FunctionsMCQ · 1 mark
Let U={1,2,…,n}U = \{1, 2, \dots , n\} Let A={(x,X)∣x∈X,X⊆U}A=\{(x, X) \mid x \in X, X \subseteq U \}. Consider the following two statements on ∣A∣\mid A \mid. ∣A∣=n2n−1\mid A \mid = n2^{n-1} ∣A∣=Σk=1nk(nk)\mid A \mid = \Sigma_{k=1}^{n} k \begin{pmatrix} n \\ k \end{pmatrix} Which of the above statements is/are TRUE?
Official PYQ2019Engineering MathematicsLinear Algebra: Matrices, Determinants, System of Linear EquationsMCQ · 1 mark
Let XX be a square matrix. Consider the following two statements on XX. XX is invertible Determinant of XX is non-zero Which one of the following is TRUE?
Official PYQ2019Engineering MathematicsMonoids and GroupsMCQ · 1 mark
Let GG be an arbitrary group. Consider the following relations on GG: R1:∀a,b∈G, aR1b if and only if ∃g∈G such that a=g−1bgR_1: \forall a , b \in G, \: a R_1 b \text{ if and only if } \exists g \in G \text{ such that } a = g^{-1}bg R2:∀a,b∈G, aR2b if and only if a=b−1R_2: \forall a , b \in G, \: a R_2 b \text{ if and only if } a= b^{-1} Which of the above is/are equivalence relation/relations?