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 PYQ1993Digital LogicSequential CircuitsMSQ · 1 mark
For the initial state of 000000, the function performed by the arrangement of the J-K\text{J-K} flip-flops in figure is:
Official PYQ1993Digital LogicSequential CircuitsMCQ · 1 mark
If the state machine described in figure should have a stable state, the restriction on the inputs is given by
Official PYQ1993DatabasesFile Organization and Indexing (B and B+ Trees)NAT · 1 mark
An ISAM\text{ISAM} (indexed sequential) file consists of records of size 6464 bytes each, including key field of size 1414 bytes. An address of a disk block takes 22 bytes. If the disk block size is 512512 bytes and there are 16K16K records, compute the size of the data and index areas in terms of number blocks. How many levels of tree\text{tree} do …
Official PYQ1993AlgorithmsAsymptotic Worst Case Time and Space ComplexityMSQ · 1 mark
∑1≤k≤nO(n)\displaystyle \sum_{1\leq k\leq n} O(n), where O(n)O(n) stands for order nn is:
Official PYQ1993Engineering MathematicsPartial Orders and LatticesMCQ · 1 mark
The less-than relation, <,<, on real number is
Official PYQ1993Engineering MathematicsSets, Relations and FunctionsMCQ · 1 mark
Let AA and BB be sets with cardinalities mm and nn respectively. The number of one-one mappings from AA to BB, when m<nm < n, is
Official PYQ1993Engineering MathematicsPropositional and First Order LogicMCQ · 1 mark
Let A be a finite set of size n. The number of elements in the power set of A×AA\times A is:
Official PYQ1993Engineering MathematicsPropositional and First Order LogicMCQ · 1 mark
The proposition p∧(∼p∨q)p \wedge (\sim p \vee q) is:
Official PYQ1993Engineering MathematicsSets, Relations and FunctionsMCQ · 1 mark
Let SS be an infinite set and S1…,SnS_1 \dots , S_n be sets such that S1∪S2∪⋯∪Sn=SS_1 \cup S_2 \cup \dots \cup S_n = S. Then
Official PYQ1993Engineering MathematicsGraphs: Connectivity, Matching, ColouringMSQ · 1 mark
Consider a simple connected graph GG with nn vertices and nn edges (n>2)(n > 2). Then, which of the following statements are true?
Official PYQ1993Operating SystemCPU SchedulingMCQ · 1 mark
Assume that the following jobs are to be executed on a single processor systemJob IdCPU Burst Timep4q1r8s1t2\begin{array}{|c|c|} \hline \textbf{Job Id} & \textbf{CPU Burst Time} \\ \hline \text{p} & 4 \\ \hline \text{q} & 1 \\ \hline \text{r} & 8 \\ \hline \text{s} & 1 \\ \hline \text{t} & 2 \\ \hline \end{array}The jobs are assumed to have arrived at time …
Official PYQ1993Operating SystemDeadlockMSQ · 1 mark
Consider a system having mm resources of the same type. These resources are shared by 33 processes A,BA, B, and CC which have peak demands of 3,43, 4, and 66 respectively. For what value of mm deadlock will not occur?
Official PYQ1993Compiler DesignRuntime EnvironmentsMCQ · 1 mark
A part of the system software which under all circumstances must reside in the main memory is:
Official PYQ1993Operating SystemI/O SchedulingMCQ · 1 mark
The root directory of a disk should be placed
Official PYQ1993Compiler DesignLexical AnalysisMSQ · 1 mark
A simple two-pass assembler does the following in the first pass:
Official PYQ1993AlgorithmsAsymptotic Worst Case Time and Space ComplexityMCQ · 1 mark
What does the following code do? var a, b: integer; begin a:=a+b; b:=a-b; a:=a-b; end;
Official PYQ1993Operating SystemSystem CallsNAT · 1 mark
The details of an interrupt cycle are shown in figure. Given that an interrupt input arrives every 11 msec, what is the percentage of the total time that the CPU devotes for the main program execution.
Official PYQ1993Digital LogicCombinational CircuitsMCQ · 1 mark
Identify the logic function performed by the circuit shown in figure.
Official PYQ1993Computer NetworksConcept of Layering: OSI and TCP/IP Protocol StacksMCQ · 1 mark
Assume that each character code consists of 88 bits. The number of characters that can be transmitted per second through an asynchronous serial line at 24002400 baud rate, and with two stop bits is
Official PYQ1993Engineering MathematicsCalculus: Limits, Continuity, DifferentiabilityNAT · 1 mark
lim⁡x→0x(ex−1)+2(cos⁡x−1)x(1−cos⁡x)\displaystyle \lim_{x \to 0} \frac{x(e^x - 1) + 2(\cos x -1)}{x(1 - \cos x)} is __________