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 PYQ1999Theory of ComputationRegular and Context-free LanguagesMSQ · 1 mark
If L1L1 is context free language and L2L2 is a regular language which of the following is/are false?
Official PYQ1999Engineering MathematicsSets, Relations and FunctionsMSQ · 1 mark
Let LL be a set with a relation RR which is transitive, anti-symmetric and reflexive and for any two elements a,b∈La, b \in L, let the least upper bound lub(a,b)lub (a, b) and the greatest lower bound glb(a,b)glb (a, b) exist. Which of the following is/are true?
Official PYQ1999Engineering MathematicsCombinatorics: Counting, Recurrence Relations, Generating FunctionsMCQ · 1 mark
Two girls have picked 1010 roses, 1515 sunflowers and 1515 daffodils. What is the number of ways they can divide the flowers among themselves?
Official PYQ1999Engineering MathematicsProbability: Random Variables and DistributionsMCQ · 1 mark
Consider two events E1E_1 and E2E_2 such that probability of E1E_1, Pr[E1]=12P_r[E_1]=\frac{1}{2}, probability of E2E_2, Pr[E2]=13P_r[E_{2}]=\frac{1}{3}, and probability of E1E_1, and E2E_2, Pr[E1 and E2]=15P_r[E_1 \: and \: E_2] = \frac{1}{5}. Which of the following statements is/are true?
Official PYQ1999DatabasesFile Organization and Indexing (B and B+ Trees)MCQ · 1 mark
Which of the following is correct?
Official PYQ1999DatabasesNormal FormsMCQ · 1 mark
Let R=(A,B,C,D,E,F)R = (A, B, C, D, E, F) be a relation scheme with the following dependencies C→F,E→A,EC→D,A→BC \rightarrow F, E \rightarrow A, EC \rightarrow D, A \rightarrow B. Which one of the following is a key for RR?
Official PYQ1999Numerical Methods (Historical)MCQ · 1 mark
The Newton-Raphson method is to be used to find the root of the equation f(x)=0f(x)=0 where xox_o is the initial approximation and f’f’ is the derivative of ff. The method converges
Official PYQ1999Computer Organization and ArchitectureMemory Hierarchy: Cache, Main Memory and Secondary StorageMCQ · 1 mark
The main memory of a computer has 2  cm2\;\text{cm} blocks while the cache has 2  c2\;\text{c} blocks. If the cache uses the set associative mapping scheme with 22 blocks per set, then block kk of the main memory maps to the set:
Official PYQ1999Digital LogicComputer ArithmeticMCQ · 1 mark
The maximum gate delay for any output to appear in an array multiplier for multiplying two nn bit numbers is
Official PYQ1999Digital LogicNumber Representations (Fixed and Floating Point)MCQ · 1 mark
Booth's coding in 88 bits for the decimal number −57-57 is:
Official PYQ1999DatabasesTuple Calculus and SQLMCQ · 1 mark
The relational algebra expression equivalent to the following tuple calculus expression: {t∣t∈r∧(t[A]=10∧t[B]=20)}\left\{t \mid t \in r \land \left(t[A] = 10 \land t[B]=20\right)\right\} is
Official PYQ1999DatabasesRelational Model: Relational AlgebraMCQ · 1 mark
Consider the join of a relation RR with a relation SS. If RR has mm tuples and SS has nn tuples then the maximum and minimum sizes of the join respectively are
Official PYQ1999Compiler DesignParsing (LL, LR)MCQ · 1 mark
Which of the following is the most powerful parsing method?
Official PYQ1999AlgorithmsAsymptotic Worst Case Time and Space ComplexityMCQ · 1 mark
If nn is a power of 22, then the minimum number of multiplications needed to compute ana^n is
Official PYQ1999Engineering MathematicsGraphs: Connectivity, Matching, ColouringMCQ · 1 mark
The number of articulation points of the following graph is
Official PYQ1999AlgorithmsSearching, Sorting, HashingMCQ · 1 mark
If one uses straight two-way merge sort algorithm to sort the following elements in ascending order: 20, 47, 15, 8, 9, 4, 40, 30, 12, 1720, \ 47, \ 15, \ 8, \ 9, \ 4, \ 40, \ 30, \ 12, \ 17 then the order of these elements after second pass of the algorithm is:
Official PYQ1999AlgorithmsAsymptotic Worst Case Time and Space ComplexityMCQ · 1 mark
Suppose we want to arrange the nn numbers stored in any array such that all negative values occur before all positive ones. Minimum number of exchanges required in the worst case is
Official PYQ1999AlgorithmsSearching, Sorting, HashingMCQ · 1 mark
A sorting technique is called stable if
Official PYQ1999Operating SystemMemory Management and Virtual MemoryMCQ · 1 mark
System calls are usually invoked by using
Official PYQ1999Operating SystemI/O SchedulingMCQ · 1 mark
Which of the following disk scheduling strategies is likely to give the best throughput?