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 PYQ2015Engineering MathematicsEigenvalues and Eigenvectors, LU DecompositionMCQ · 1 mark
In the given matrix [1−12010121]\begin{bmatrix} 1 & -1 & 2 \\ 0 & 1 & 0 \\ 1 & 2 & 1 \end{bmatrix} , one of the eigenvalues is 1.1. The eigenvectors corresponding to the eigenvalue 11 are
Official PYQ2015Computer Organization and ArchitectureMemory Hierarchy: Cache, Main Memory and Secondary StorageMCQ · 1 mark
Consider a machine with a byte addressable main memory of 2202^{20} bytes, block size of 1616 bytes and a direct mapped cache having 2122^{12} cache lines. Let the addresses of two consecutive bytes in main memory be (E201F)16\textsf{(E201F)}_{16} and (E2020)16\textsf{(E2020)}_{16}. What are the tag and cache line addresses ( in hex) for main memory address …
Official PYQ2015Programming and Data StructuresBinary Search TreesMCQ · 1 mark
While inserting the elements 71,65,84,69,67,8371, 65, 84, 69, 67, 83 in an empty binary search tree (BST) in the sequence shown, the element in the lowest level is
Official PYQ2015Programming and Data StructuresArrays, Stacks and QueuesMCQ · 1 mark
The result evaluating the postfix expression 10 5+60 6/∗8−10 \ 5 + 60 \ 6 / * 8 - is
Official PYQ2015Software Engineering (Historical)NAT · 1 mark
Consider a software program that is artificially seeded with 100 faults. While testing this program, 159 faults are detected, out of which 75 faults are from those artificially seeded faults. Assuming that both real and seeded faults are of same nature and have same distribution, the estimated number of undetected real faults is _______.
Official PYQ2015Operating SystemConcurrency and SynchronizationMCQ · 1 mark
Two processes XX and YY need to access a critical section. Consider the following synchronization construct used by both the processes …
Official PYQ2015Engineering MathematicsCalculus: Limits, Continuity, DifferentiabilityMCQ · 1 mark
The value of lim⁡x→∞(1+x2)e−x\displaystyle \lim_{x \rightarrow \infty} (1+x^2)^{e^{-x}} is
Official PYQ2015Web Technologies (Historical)MCQ · 1 mark
In a web server, ten WebPages are stored with the URLs of the form http://www.yourname.com/var.html; where var is a different number from 1 to 10 for each Webpage. Suppose the client stores the Webpage with var = 1 (say W1) in the local machine, edits and then tests. Rest of the Webpages remains on the web server. W1 contains several relative URLs of the …
Official PYQ2015Programming and Data StructuresArrays, Stacks and QueuesMCQ · 1 mark
Consider the following C program segment. # include <stdio.h> int main() { char s1[7] = "1234", *p; p = s1 + 2; *p = '0'; printf("%s", s1); } What will be printed by the program?
Official PYQ2015Computer NetworksTransport Layer: Flow Control, Congestion Control, UDP, TCP, SocketsMCQ · 1 mark
Consider a CSMA/CD network that transmits data at a rate of 100  Mbps  (108  bits100\;\textsf{Mbps}\; (10^8\;\text{bits} per second) over a 1  km1\;\textsf{km} (kilometre) cable with no repeaters. If the minimum frame size required for this network is 1250  bytes,1250\;\text{bytes}, What is the signal speed (km/sec)\textsf{(km/sec)} in the cable?
Official PYQ2015Engineering MathematicsCombinatorics: Counting, Recurrence Relations, Generating FunctionsNAT · 1 mark
The number of 44 digit numbers having their digits in non-decreasing order (from left to right) constructed by using the digits belonging to the set {1,2,3}\{1, 2, 3\} is ________.
Official PYQ2015DatabasesTuple Calculus and SQLMCQ · 1 mark
Consider the following relation Cinema(theater, address, capacity\textit{theater, address, capacity}) Which of the following options will be needed at the end of the SQL query SELECT P1.address FROM Cinema P1 such that it always finds the addresses of theaters with maximum capacity?
Official PYQ2015AlgorithmsAsymptotic Worst Case Time and Space ComplexityMCQ · 1 mark
Consider the equality ∑i=0ni3=X\displaystyle{\sum_{i=0}^n} i^3 = X and the following choices for XX: Θ(n4)\Theta(n^4) Θ(n5)\Theta(n^5) O(n5)O(n^5) Ω(n3)\Omega(n^3) The equality above remains correct if XX is replaced by
Official PYQ2015Engineering MathematicsSets, Relations and FunctionsMCQ · 1 mark
Let #\# be the binary operator defined as X#Y=X′+Y′X\#Y = X'+Y' where XX and YY are Boolean variables. Consider the following two statements. (S1)(S_1) (P#Q)#R=P#(Q#R)(P\#Q)\#R = P\#(Q\#R) (S2)(S_2) Q#R=(R#Q)Q\#R = (R\#Q) Which are the following is/are true for the Boolean variables P,QP, Q and RR?
Official PYQ2015Operating SystemCPU SchedulingMCQ · 1 mark
The maximum number of processes that can be in Ready\textit{Ready} state for a computer system with nn CPUs is :
Official PYQ2015General AptitudeNAT · 1 mark
The exports and imports (in crores of RsRs.) of a country from the year 20002000 to 20072007 are given in the following bar chart. In which year is the combined percentage increase in imports and exports the highest?
Official PYQ2015General AptitudeMCQ · 1 mark
Most experts feel that in spite of possessing all the technical skills required to be a batsman of the highest order, he is unlikely to be so due to lack of requisite temperament. He was guilty of throwing away his wicket several time after working hard to lay a strong foundation. His critics pointed out that until he addressed his problem, success at the …
Official PYQ2015General AptitudeMCQ · 1 mark
Choose the most appropriate equation for the function drawn as thick line, in the plot below.
Official PYQ2015General AptitudeMCQ · 1 mark
The head of newly formed government desires to appoint five of the six selected members P,Q,R,S,TP, Q, R, S, T and UU to portfolios of Home, Power, Defense, Telecom, and Finance. U does not want any portfolio if SS gets one of the five. RR wants either Home or Finance or no portfolio. QQ says that if SS gets Power or Telecom, then she must get the …
Official PYQ2015General AptitudeMCQ · 1 mark
Alexander turned his attention towards India, since he had conquered Persia. Which one of the statements below is logically valid and can be inferred from the above sentence?