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 PYQ1994Compiler DesignLexical AnalysisNAT · 1 mark
State whether the following statements are True or False with reasons for your answer A symbol declared as ‘external’ in an assembly language program is assigned an address outside the program by the assembler itself.
Official PYQ1994Programming and Data StructuresRecursionNAT · 1 mark
Consider the following recursive function: function fib (n:integer);integer; begin if (n=0) or (n=1) then fib := 1 else fib := fib(n-1) + fib(n-2) end; The above function is run on a computer with a stack of 6464 bytes. Assuming that only return address and parameter are passed on the stack, and that an integer value and an address takes 22 bytes each, …
Official PYQ1994Compiler DesignLexical AnalysisNAT · 1 mark
State whether the following statements are True or False with reasons for your answer: Coroutine is just another name for a subroutine.
Official PYQ1994Compiler DesignLexical AnalysisNAT · 1 mark
State whether the following statements are True or False with reasons for your answer A subroutine cannot always be used to replace a macro in an assembly language program.
Official PYQ1994Digital LogicSequential CircuitsNAT · 1 mark
Find the contents of the flip-flop Q2,Q1Q_2, Q_1 and Q0Q_0 in the circuit of figure, after giving four clock pulses to the clock terminal. Assume Q2Q1Q0=000Q_2Q_1Q_0=000 initially.
Official PYQ1994Engineering MathematicsPropositional and First Order LogicNAT · 1 mark
Let pp and qq be propositions. Using only the Truth Table, decide whether p⟺qp \Longleftrightarrow q does not imply p→¬qp \to \lnot q is True or False.
Official PYQ1994DatabasesNormal FormsNAT · 1 mark
State True or False with reason Logical data independence is easier to achieve than physical data independence.
Official PYQ1994Engineering MathematicsSets, Relations and FunctionsNAT · 1 mark
Every subset of a countable set is countable. State whether the above statement is true or false with reason.
Official PYQ1994DatabasesNormal FormsNAT · 1 mark
State True or False with reason There is always a decomposition into Boyce-Codd normal form (BCNF) that is lossless and dependency preserving.
Official PYQ1994Digital LogicSequential CircuitsNAT · 1 mark
State True or False with one line explanation A FSM (Finite State Machine) can be designed to add two integers of any arbitrary length (arbitrary number of digits).
Official PYQ1994Computer Organization and ArchitectureMachine Instructions and Addressing ModesNAT · 1 mark
State True or False with one line explanation Expanding opcode instruction formats are commonly employed in RISC. (Reduced Instruction Set Computers) machines.
Official PYQ1994Engineering MathematicsPartial Orders and LatticesNAT · 1 mark
The Hasse diagrams of all the lattices with up to four elements are ________ (write all the relevant Hasse diagrams)
Official PYQ1994Engineering MathematicsProbability: Random Variables and DistributionsNAT · 1 mark
Let A,B,A, B, and CC be independent events which occur with probabilities 0.8,0.5,0.8, 0.5, and 0.30.3 respectively. The probability of occurrence of at least one of the event is _______
Official PYQ1994Operating SystemMemory Management and Virtual MemoryMCQ · 1 mark
Consider the following heap (figure) in which blank regions are not in use and hatched region are in use. The sequence of requests for blocks of sizes 300,25,125,50300, 25, 125, 50 can be satisfied if we use
Official PYQ1994AlgorithmsAsymptotic Worst Case Time and Space ComplexityMSQ · 1 mark
Consider the following two functions: g1(n)={n3 for 0≤n≤10,000n2 for n>10,000g_1(n) = \begin{cases} n^3 \text{ for } 0 \leq n \leq 10,000 \\ n^2 \text{ for } n > 10,000 \end{cases} g2(n)={n for 0≤n≤100n3 for n>100g_2(n) = \begin{cases} n \text{ for } 0 \leq n \leq 100 \\ n^3 \text{ for } n > 100 \end{cases} Which of the following is true?
Official PYQ1994AlgorithmsGraph Traversals (BFS, DFS)MCQ · 1 mark
Which of the following statements is false?
Official PYQ1994Operating SystemMemory Management and Virtual MemoryMCQ · 1 mark
Which one of the following statements is true?
Official PYQ1994AlgorithmsSearching, Sorting, HashingMCQ · 1 mark
Algorithm design technique used in quicksort algorithm is?
Official PYQ1994Compiler DesignParsing (LL, LR)MCQ · 1 mark
Which of the following features cannot be captured by context-free grammars?
Official PYQ1994Theory of ComputationRegular Expressions and Finite AutomataMCQ · 1 mark
Which of the following conversions is not possible (algorithmically)?