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
Consider the following C function. int fun(int n) { int x=1, k; if (n==1) return x; for (k=1; k<n; ++k) x = x + fun(k) * fun (n-k); return x; } The return value of is ______.
The number of divisors of is ____.
A binary tree T has leaves. The number of nodes in T having two children is ______.
The minimum number of flip-flops required to construct a synchronous counter with the count sequence is _______.
With reference to the tree index of order shown below, the minimum number of nodes (including the Root node) that must be fetched in order to satisfy the following query. "Get all records with a search key greater than or equal to and less than " is ______.
The larger of the two eigenvalues of the matrix is _______.
A software requirements specification (SRS) document should avoid discussing which one of the following?
Consider the following two statements. : If a candidate is known to be corrupt, then he will not be elected : If a candidate is kind, he will be elected Which one of the following statements follows from and as per sound inference rules of logic?
Consider two decision problems such that reduces in polynomial time to 3-SAT and 3-SAT reduces in polynomial time to . Then which one of the following is consistent with the above statement?
Consider the following transaction involving two bank accounts and . read(x); x:=x-50; write (x); read(y); y:=y+50; write(y) The constraint that the sum of the accounts and should remain constant is that of
Out of the following sentences, select the most suitable sentence with respect to grammar and usage:
If are distinct integers such that: …
In a triangle is the angle bisector of . What is the length of ?
Four branches of a company are located at and is north of at a distance of is south of at a distance of is southeast of by . What is the distance between and in ?
If the list of letters , , , , is an arithmetic sequence, which of the following are also in arithmetic sequence?
Based on the given statements, select the most appropriate option to solve the given question. What will be the total weight of poles each of same weight? Statements: One fourth of the weight of the pole is . The total weight of these poles is more than the total weight of two poles.
A generic term that includes various items of clothing such as a skirt, a pair of trousers and a shirt is
Consider a function . The value of at which the function attains a maximum, and the maximum value of the function are:
Choose the statement where underlined word is used correctly.
We __________ our friends's birthday and we _________ how to make it up to him.
