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 PYQ2011Software Engineering (Historical)MCQ · 1 mark
A company needs to develop a digital signal processing software for one of its newest inventions. The software is expected to have 40000 lines of code. The company needs to determine the effort in person-months needed to develop this software using the basic COCOMO model. The multiplicative factor for this model is given as 2.8 for the software development …
Official PYQ2011Operating SystemProcesses and ThreadsMCQ · 1 mark
Let the time taken to switch from user mode to kernel mode of execution be T1T1 while time taken to switch between two user processes be T2T2. Which of the following is correct?
Official PYQ2011Software Engineering (Historical)MCQ · 1 mark
A company needs to develop a strategy for software product development for which it has a choice of two programming languages L1 and L2. The number lines of code (LOC) developed using L2 is estimated to be twice of the LOC developed with L1. The product will have to be maintained for five years. Various parameters for the company are given in the table …
Official PYQ2011Computer NetworksApplication Layer Protocols: DNS, SMTP, HTTP, FTP, EmailMCQ · 1 mark
Consider the different activities related to email. m1:\text{m1}: Send an email from mail client to mail server m2:\text{m2}: Download an email from mailbox server to a mail client m3:\text{m3}: Checking email in a web browser Which is the application level protocol used in each activity?
Official PYQ2011Engineering MathematicsConditional Probability and Bayes TheoremMCQ · 1 mark
If two fair coins are flipped and at least one of the outcomes is known to be a head, what is the probability that both outcomes are heads?
Official PYQ2011Computer NetworksConcept of Layering: OSI and TCP/IP Protocol StacksMCQ · 1 mark
A layer-44 firewall (a device that can look at all protocol headers up to the transport layer) CANNOT
Official PYQ2011Compiler DesignLexical AnalysisMCQ · 1 mark
In a compiler, keywords of a language are recognized during
Official PYQ2010Computer Organization and ArchitectureMemory Hierarchy: Cache, Main Memory and Secondary StorageMCQ · 1 mark
A computer system has an L1L1 cache, an L2L2 cache, and a main memory unit connected as shown below. The block size in L1L1 cache is 44 words. The block size in L2L2 cache is 1616 words. The memory access times are 22 nanoseconds, 2020 nanoseconds and 200200 nanoseconds for L1L1 cache, L2L2 cache and the main memory unit respectively. …
Official PYQ2010AlgorithmsMinimum Spanning TreesMCQ · 1 mark
Consider a complete undirected graph with vertex set {0,1,2,3,4}\{0, 1, 2, 3, 4\}. Entry WijW_{ij} in the matrix WW below is the weight of the edge {i,j}\{i, j\} …
Official PYQ2010Programming and Data StructuresArrays, Stacks and QueuesMCQ · 1 mark
A hash table of length 1010 uses open addressing with hash function h(k)=k mod   10h(k) = k \: \mod \: 10, and linear probing. After inserting 66 values into an empty hash table, the table is shown as below …
Official PYQ2010Computer NetworksRouting Protocols: Shortest Path, Flooding, Distance Vector, Link StateMCQ · 1 mark
Consider a network with 66 routers R1R1 to R6R6 connected with links having weights as shown in the following diagram. Suppose the weights of all unused links are changed to 22 and the distance vector algorithm is used again until all routing tables stabilize. How many links will now remain unused?
Official PYQ2010General AptitudeMCQ · 1 mark
Given digits 2,2,3,3,3,4,4,4,42, 2, 3, 3, 3, 4, 4, 4, 4 how many distinct 44 digit numbers greater than 30003000 can be formed?
Official PYQ2010General AptitudeMCQ · 1 mark
55 skilled workers can build a wall in 2020 days; 88 semi-skilled workers can build a wall in 2525 days; 1010 unskilled workers can build a wall in 3030 days. If a team has 22 skilled, 66 semi-skilled and 55 unskilled workers, how long it will take to build the wall?
Official PYQ2010General AptitudeMCQ · 1 mark
Modern warfare has changed from large scale clashes of armies to suppression of civilian populations. Chemical agents that do their work silently appear to be suited to such warfare; and regretfully, there exist people in military establishments who think that chemical agents are useful tools for their cause. Which of the following statements best sums up …
Official PYQ2010General AptitudeMCQ · 1 mark
Hari(H), Gita(G), Irfan(I) and Saira(S) are siblings (i.e., brothers and sisters). All were born on 1st1^{\text{st}} January. The age difference between any two successive siblings (that is born one after another) is less than three years. Given the following facts: Hari's age ++ Gita's age >> Irfan's age ++ Saira's age The age difference …
Official PYQ2010General AptitudeMCQ · 1 mark
If 137+276=435137 + 276 = 435 how much is 731+672?731+672?
Official PYQ2010General AptitudeMCQ · 1 mark
The question below consists of a pair of related words followed by four pairs of words. Select the pair that best expresses the relation in the original pair. Unemployed : Worker
Official PYQ2010General AptitudeMCQ · 1 mark
2525 persons are in a room. 1515 of them play hockey, 1717 of them play football and 1010 of them play both hockey and football. Then the number of persons playing neither hockey nor football is:
Official PYQ2010General AptitudeMCQ · 1 mark
Choose the most appropriate word from the options given below to complete the following sentence: If we manage to __________ our natural resources, we would leave a better planet for our children.
Official PYQ2010General AptitudeMCQ · 1 mark
Which of the following options is the closest in meaning to the word given below: Circuitous