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 PYQ2010Digital LogicCombinational CircuitsMCQ · 1 mark
In the sequential circuit shown below, if the initial value of the output Q1Q0Q_1Q_0 is 0000. What are the next four values of Q1Q0Q_1Q_0?
Official PYQ2010Digital LogicCombinational CircuitsMCQ · 1 mark
What is the boolean expression for the output ff of the combinational logic circuit of NOR gates given below?
Official PYQ2010Operating SystemCPU SchedulingMCQ · 1 mark
Which of the following statements are true? Shortest remaining time first scheduling may cause starvation Preemptive scheduling may cause starvation Round robin is better than FCFS in terms of response time
Official PYQ2010Operating SystemMemory Management and Virtual MemoryMCQ · 1 mark
A system uses FIFO policy for system replacement. It has 44 page frames with no pages loaded to begin with. The system first accesses 100100 distinct pages in some order and then accesses the same 100100 pages but now in the reverse order. How many page faults will occur?
Official PYQ2010Software Engineering (Historical)MCQ · 1 mark
What is the appropriate pairing of items in the two columns listing various activities encountered in a software life cycle? P. Requirements Capture 1. Module Development and Integration Q. Design 2. Domain Analysis R. Implementation 3. Structural and Behavioral Modeling S. Maintenance 4. Performance Tuning
Official PYQ2010Operating SystemConcurrency and SynchronizationMCQ · 1 mark
Consider the methods used by processes P1P1 and P2P2 for accessing their critical sections whenever needed, as given below. The initial values of shared boolean variables S1S1 and S2S2 are randomly assigned. …
Official PYQ2010Software Engineering (Historical)MCQ · 1 mark
The cyclomatic complexity of each of the modules A\text{A} and B\text{B} shown below is 10.10. What is the cyclomatic complexity of the sequential integration shown on the right hand side?
Official PYQ2010DatabasesTransactions and Concurrency ControlMCQ · 1 mark
Which of the following concurrency control protocols ensure both conflict serializability and freedom from deadlock? 22-phase locking Time-stamp ordering
Official PYQ2010DatabasesTuple Calculus and SQLMCQ · 1 mark
A relational schema for a train reservation database is given below. passenger(pid, pname, age) reservation(pid, class, tid) …
Official PYQ2010DatabasesFile Organization and Indexing (B and B+ Trees)MCQ · 1 mark
Consider a B+B^+-tree in which the maximum number of keys in a node is 55. What is the minimum number of keys in any non-root node?
Official PYQ2010Theory of ComputationUndecidabilityMCQ · 1 mark
Let L1L_1 be the recursive language. Let L2L_2 and L3L_3 be languages that are recursively enumerable but not recursive. Which of the following statements is not necessarily true?
Official PYQ2010Web Technologies (Historical)MCQ · 1 mark
Which one of the following is not a client-server application?
Official PYQ2010Compiler DesignRuntime EnvironmentsMCQ · 1 mark
Which languages necessarily need heap allocation in the runtime environment?
Official PYQ2010Compiler DesignLexical AnalysisMCQ · 1 mark
Which data structure in a compiler is used for managing information about variables and their attributes?
Official PYQ2010AlgorithmsAsymptotic Worst Case Time and Space ComplexityMCQ · 1 mark
Two alternative packages AA and BB are available for processing a database having 10k10^k records. Package AA requires 0.0001n20.0001 n^2 time units and package BB requires 10nlog⁡10n10n\log_{10} n time units to process nn records. What is the smallest value of kk for which package BB will be preferred over AA?
Official PYQ2010Programming and Data StructuresProgramming in CMCQ · 1 mark
What does the following program print? #include<stdio.h> void f(int *p, int *q) { p=q; *p=2; } int i=0, j=1; int main() { f(&i, &j); printf("%d %d\n", i,j); return 0; }
Official PYQ2010Programming and Data StructuresTreesMCQ · 1 mark
In a binary tree with nn nodes, every node has an odd number of descendants. Every node is considered to be its own descendant. What is the number of nodes in the tree that have exactly one child?
Official PYQ2010Digital LogicCombinational CircuitsMCQ · 1 mark
The Boolean expression of the output ff of the multiplexer shown below is
Official PYQ2010Digital LogicNumber Representations (Fixed and Floating Point)MCQ · 1 mark
PP is a 1616-bit signed integer. The 22's complement representation of PP is (F87B)16(F87B)_{16}. The 22's complement representation of 8×P8\times P is
Official PYQ2010Digital LogicCombinational CircuitsMCQ · 1 mark
The main memory unit with a capacity of 44 megabytes\text{megabytes} is built using 1M×1-bit1\text{M} \times \text{1-bit} DRAM chips. Each DRAM chip has 1K1\text{K} rows of cells with 1K1\text{K} cells in each row. The time taken for a single refresh operation is 100  nanoseconds100\; \text{nanoseconds}. The time required to perform one refresh operation on all the cells …