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 PYQ2004AlgorithmsSearching, Sorting, HashingMCQ · 1 mark
The tightest lower bound on the number of comparisons, in the worst case, for comparison-based sorting is of the order of
Official PYQ2004Digital LogicNumber Representations (Fixed and Floating Point)MCQ · 1 mark
What is the result of evaluating the following two expressions using three-digit floating point arithmetic with rounding? (113.+−111.)+7.51(113. + -111.) + 7.51 113.+(−111.+7.51)113. + (-111. + 7.51)
Official PYQ2004Engineering MathematicsLinear Algebra: Matrices, Determinants, System of Linear EquationsMCQ · 1 mark
Let A,B,C,DA, B, C, D be n×nn \times n matrices, each with non-zero determinant. If ABCD=IABCD = I, then B−1B^{-1} is
Official PYQ2004Engineering MathematicsLinear Algebra: Matrices, Determinants, System of Linear EquationsMCQ · 1 mark
The number of different n×nn \times n symmetric matrices with each element being either 0 or 1 is: (Note: power(2,X)\text{power} \left(2, X\right) is same as 2X2^X)
Official PYQ2004Engineering MathematicsProbability: Random Variables and DistributionsMCQ · 1 mark
If a fair coin is tossed four times. What is the probability that two heads and two tails will result?
Official PYQ2004Engineering MathematicsSets, Relations and FunctionsMCQ · 1 mark
Consider the binary relation: S={(x,y)∣y=x+1 and x,y∈{0,1,2}}S= \left\{\left(x, y\right) \mid y=x+1 \text{ and } x, y \in \left\{0, 1, 2\right\} \right\} The reflexive transitive closure is SS is
Official PYQ2004Engineering MathematicsPropositional and First Order LogicMCQ · 1 mark
Identify the correct translation into logical notation of the following assertion. Some boys in the class are taller than all the girls Note: taller(x,y)\text{taller} (x, y) is true if xx is taller than yy.
Official PYQ2004Computer NetworksConcept of Layering: OSI and TCP/IP Protocol StacksMCQ · 1 mark
How many 8−bi8-bit characters can be transmitted per second over a 96009600 baud serial communication link using asynchronous mode of transmission with one start bit, eight data bits, two stop bits and one parity bit?
Official PYQ2004Operating SystemMemory Management and Virtual MemoryMCQ · 1 mark
The minimum number of page frames that must be allocated to a running process in a virtual memory environment is determined by
Official PYQ2004Computer Organization and ArchitectureMachine Instructions and Addressing ModesMCQ · 1 mark
Which of the following addressing modes are suitable for program relocation at run time? Absolute addressing Based addressing Relative addressing Indirect addressing
Official PYQ2004Digital LogicNumber Representations (Fixed and Floating Point)MCQ · 1 mark
If 73x73_x (in base-x number system) is equal to 54y54_y (in base yy-number system), the possible values of xx and yy are
Official PYQ2004Digital LogicSequential CircuitsMCQ · 1 mark
In an SRSR latch made by cross-coupling two NAND gates, if both SS and RR inputs are set to 00, then it will result in
Official PYQ2004Digital LogicBoolean AlgebraMCQ · 1 mark
A Boolean function x’y’+xy+x’yx’y’ + xy + x’y is equivalent to
Official PYQ2004Computer NetworksData Link Layer: Framing, Error Detection, MAC, Ethernet BridgingMCQ · 1 mark
Which of the following is NOT true with respect to a transparent bridge and a router?
Official PYQ2004Computer NetworksConcept of Layering: OSI and TCP/IP Protocol StacksMCQ · 1 mark
Choose the best matching between Group 1\text{Group 1} and Group 2\text{Group 2} …
Official PYQ2004DatabasesRelational Model: Relational AlgebraMCQ · 1 mark
Consider the following relation schema pertaining to a students database: Students (rollno, name, address) Enroll (rollno, courseno, coursename) where the primary keys are shown underlined. The number of tuples in the student and Enroll tables are 120120 and 88 respectively. What are the maximum and minimum number of tuples that can be present in …
Official PYQ2004Operating SystemI/O SchedulingMCQ · 1 mark
Consider an operating system capable of loading and executing a single sequential user process at a time. The disk head scheduling algorithm used is First Come First Served (FCFS). If FCFS is replaced by Shortest Seek Time First (SSTF), claimed by the vendor to give 50%50 \% better benchmark results, what is the expected improvement in the I/O performance …
Official PYQ2004Operating SystemProcesses and ThreadsMCQ · 1 mark
Consider the following statements with respect to user-level threads and kernel-supported threads context switch is faster with kernel-supported threads for user-level threads, a system call can block the entire process Kernel supported threads can be scheduled independently User level threads are transparent to the kernel Which of the above statements are …
Official PYQ2004DatabasesTuple Calculus and SQLMCQ · 1 mark
Let R1(A‾,B,C)R_1 \left(\underline{A}, B, C\right) and R2(D‾,E)R_2\left(\underline{D}, E \right) be two relation schema, where the primary keys are shown underlined, and let C be a foreign key in R1R_1 referring to R2R_2. Suppose there is no violation of the above referential integrity constraint in the corresponding relation instances r1r_1 and r2r_2. Which …
Official PYQ2004Compiler DesignParsing (LL, LR)MCQ · 1 mark
Consider a program PP that consists of two source modules M1M_1 and M2M_2 contained in two different files. If M1M_1 contains a reference to a function defined in M2M_2 the reference will be resolved at