GATE 2016 CS (Set 1) question paper PDF and answer key

The official GATE 2016 Computer Science & Information Technology (Set 1) paper, organised by IISc Bengaluru: 65 questions for 100 marks in 3 hours. Download the official question paper and answer key as PDFs. Below is how the marks were split by topic, the complete official answer key and 5 questions solved step by step.

Source: the official paper and answer key published by IISc Bengaluru for GATE 2016. Spotted a mistake? Email team@lemyte.com.

General Aptitude
10 · 15 marks
Computer Science & Information Technology
55 · 85 marks
MCQ / MSQ / NAT
39 / 0 / 26
Marks to all
None

Not in 2027 2 questions (Q 18, 25) are on topics removed from the GATE 2027 syllabus. They are marked in the answer key below. What changed for CS

Where the marks were

GATE 2016 CS (Set 1) topic-wise marks

Computer Science & Information Technology questions only; General Aptitude adds 15 marks on top. The top three topics carried 29 of the 85 subject marks.

TopicQuestionsMarks
Computer Networks610
Programming and Data Structures610
Theory of Computation69
Algorithms69
Operating System59
Discrete Mathematics58
Compiler Design58
Computer Organization and Architecture46
Digital Logic46
Databases45
Probability and Statistics23
Calculus11
Linear Algebra11

Free solved questions

5 solved questions from GATE 2016 CS (Set 1)

Question text and figures as in the official paper, the answer from the official key, and a worked solution. The other 60 solutions are in your report after you take the paper.

Q7 · General Aptitude · MCQ · 2 marks

If

f(x)=2x7+3x−5,f(x)=2x^7+3x-5,

which of the following is a factor of f(x)f(x)?

  • (A)
    (x3+8)(x^3+8)
  • (B)
    (x−1)(x-1)
  • (C)
    (2x−5)(2x-5)
  • (D)
    (x+1)(x+1)

Answer (official key): B

Solution

Use the factor theorem.

If (x−1)(x-1) is a factor, then:

f(1)=0.f(1)=0.

Now,

f(1)=2(1)7+3(1)−5=2+3−5=0.f(1)=2(1)^7+3(1)-5 = 2+3-5 = 0.

Therefore, (x−1)(x-1) is a factor of f(x)f(x).

The correct answer is Option B.

Q8 · General Aptitude · MCQ · 2 marks

A shaving set company sells 4 different types of razors: Elegance, Smooth, Soft and Executive.

Elegance sells at Rs. 48, Smooth at Rs. 63, Soft at Rs. 78 and Executive at Rs. 173 per piece.

The table below shows the numbers of each razor sold in each quarter of a year.

QuarterEleganceSmoothSoftExecutive
Q12730020009176029999
Q22522219392184458942
Q328976224291954410234
Q421012182291659510109

Which product contributes the greatest fraction to the revenue of the company in that year?

  • (A)
    Elegance
  • (B)
    Executive
  • (C)
    Smooth
  • (D)
    Soft

Answer (official key): B

Solution

Compute yearly revenue for each product.

Elegance:

(27300+25222+28976+21012)×48=102510×48=4920480.(27300+25222+28976+21012)\times48 = 102510\times48 = 4920480.

Smooth:

(20009+19392+22429+18229)×63=80059×63=5043717.(20009+19392+22429+18229)\times63 = 80059\times63 = 5043717.

Soft:

(17602+18445+19544+16595)×78=72186×78=5630508.(17602+18445+19544+16595)\times78 = 72186\times78 = 5630508.

Executive:

(9999+8942+10234+10109)×173=39284×173=6796132.(9999+8942+10234+10109)\times173 = 39284\times173 = 6796132.

Executive contributes the greatest revenue.

Therefore, the correct answer is Option B.

Q30 · Operating System · MCQ · 1 mark

Consider an arbitrary set of CPU-bound processes with unequal CPU burst lengths submitted at the same time to a computer system.

Which one of the following process scheduling algorithms would minimize the average waiting time in the ready queue?

  • (A)
    Shortest remaining time first
  • (B)
    Round-robin with time quantum less than the shortest CPU burst
  • (C)
    Uniform random
  • (D)
    Highest priority first with priority proportional to CPU burst length

Answer (official key): A

Solution

When all processes arrive at the same time and CPU burst lengths are known, executing the shortest job first minimizes average waiting time.

Shortest Remaining Time First is the preemptive version of Shortest Job First. Since all processes are submitted at the same time, it behaves like shortest-job-first ordering.

Therefore, it minimizes the average waiting time.

The correct answer is Option A.

Q31 · Digital Logic · Numerical · 1 mark

We want to design a synchronous counter that counts the sequence:

0−1−0−2−0−30-1-0-2-0-3

and then repeats.

The minimum number of J-K flip-flops required to implement this counter is __________.

Answer (official key): 3 to 4

Solution

The output sequence is:

0,1,0,2,0,30,1,0,2,0,3

and then it repeats.

Although only the values 0, 1, 2 and 3 appear, the state corresponding to output 0 must occur in different positions of the cycle because it is followed by different next outputs: 1, 2 and 3.

So the counter requires 6 distinct states in the cycle.

The number of flip-flops required for 6 states is:

⌈log⁡26⌉=3.\lceil \log_2 6 \rceil = 3.

Therefore, the minimum required number of J-K flip-flops is 3.

The official accepted range is 3 to 4.

Q50 · Digital Logic · MCQ · 2 marks

Consider the two cascaded 2-to-1 multiplexers as shown in the figure.

Cascaded 2-to-1 multiplexers for Q30

The minimal sum of products form of the output XX is:

  • (A)
    P‾Q‾+PQR\overline{P}\overline{Q}+PQR
  • (B)
    PQ‾+QRP\overline{Q}+QR
  • (C)
    PQ+P‾QR‾PQ+\overline{P}Q\overline{R}
  • (D)
    Q‾R‾+PQR\overline{Q}\overline{R}+PQR

Answer (official key): D

Solution

Trace the two multiplexers from the given figure.

The output is 1 in the following cases:

  1. Q=0Q=0 and R=0R=0, giving the term:
Q‾R‾\overline{Q}\overline{R}
  1. P=1P=1, Q=1Q=1, and R=1R=1, giving the term:
PQR.PQR.

Therefore, the minimal sum of products form is:

X=Q‾R‾+PQR.X=\overline{Q}\overline{R}+PQR.

The correct answer is Option D.

The other 60 questions are solved in your report when you take GATE 2016 CS (Set 1) as a 3-hour test.

Take GATE 2016 CS (Set 1) as a test

Official answer key

GATE 2016 CS (Set 1) answer key

All 65 answers from the official key. Numerical answers are ranges; “or” means the key accepts either answer.

Download the official GATE 2016 CS (Set 1) answer key (PDF)
QTopicTypeMarksAnswer
1Verbal AptitudeMCQ1A
2Spatial AptitudeMCQ1D
3Verbal AptitudeMCQ1A
4Analytical AptitudeMCQ1A
5Verbal AptitudeMCQ1D
6Quantitative AptitudeMCQ2B
7Quantitative AptitudeMCQ2B
8Quantitative AptitudeMCQ2B
9Analytical AptitudeMCQ2D
10Verbal AptitudeMCQ2D
11DatabasesMCQ1B
12Theory of ComputationMCQ1D
13DatabasesMCQ1B
14AlgorithmsMCQ1D
15AlgorithmsMCQ1A
16Discrete MathematicsMCQ1B
17Theory of ComputationMCQ1C
18Computer NetworksNot in GATE 2027 syllabus: SMTP, FTP and e-mail protocolsMCQ1C
19CalculusNumerical11
20Theory of ComputationMCQ1B
21AlgorithmsNumerical16
22Computer Organization and ArchitectureNumerical1-11
23Programming and Data StructuresNumerical12016
24Digital LogicMCQ1A
25Computer NetworksNot in GATE 2027 syllabus: ARP, DHCP and ICMPMCQ1C
26Compiler DesignMCQ1D
27Compiler DesignNumerical110
28Computer Organization and ArchitectureNumerical131
29Linear AlgebraNumerical115
30Operating SystemMCQ1A
31Digital LogicNumerical13 to 4
32Programming and Data StructuresMCQ1A
33Discrete MathematicsNumerical111
34Probability and StatisticsNumerical10.5
35DatabasesMCQ1D
36Programming and Data StructuresMCQ2D
37Digital LogicMCQ2B
38Compiler DesignMCQ2D
39Programming and Data StructuresNumerical2256
40Discrete MathematicsNumerical210
41Computer Organization and ArchitectureNumerical233 to 34
42Probability and StatisticsNumerical20.33 to 0.34
43Computer Organization and ArchitectureNumerical2456
44Discrete MathematicsNumerical2197.9 to 198.1
45AlgorithmsNumerical212
46Discrete MathematicsNumerical22
47AlgorithmsNumerical27
48Theory of ComputationMCQ2D
49AlgorithmsMCQ2B
50Digital LogicMCQ2D
51Programming and Data StructuresMCQ2B
52Programming and Data StructuresMCQ2A
53DatabasesMCQ2A
54Operating SystemNumerical21
55Theory of ComputationMCQ2C
56Compiler DesignNumerical29
57Computer NetworksNumerical22500
58Computer NetworksMCQ2B
59Computer NetworksNumerical213
60Computer NetworksNumerical21.1
61Theory of ComputationMCQ2D
62Operating SystemMCQ2A
63Compiler DesignMCQ2C
64Operating SystemNumerical2346
65Operating SystemNumerical2384

Questions about GATE 2016 CS (Set 1)

How many questions are in the GATE 2016 CS (Set 1) paper?

65 questions for 100 marks: 10 General Aptitude questions worth 15 marks and 55 Computer Science & Information Technology questions worth 85 marks. By type, there were 39 MCQs, 26 numerical answer (NAT) questions. The paper lasted 3 hours.

Is there negative marking in GATE 2016 CS (Set 1)?

Yes, for MCQs only. A wrong MCQ answer costs one-third of its marks (−⅓ for a 1-mark question, −⅔ for a 2-mark question). MSQ and numerical (NAT) questions have no negative marking, and an MSQ earns marks only when every correct option is chosen.

Which topics carried the most marks in GATE 2016 CS (Set 1)?

Outside General Aptitude, the biggest topics were Computer Networks (10 marks), Programming and Data Structures (10 marks), Theory of Computation (9 marks). The full topic-wise split is in the table on this page.

Were any GATE 2016 CS (Set 1) questions awarded marks to all?

No. Every question was graded with the answer in the official key.

Where does this GATE 2016 CS (Set 1) answer key come from?

From the official answer key published by IISc Bengaluru, which organised GATE 2016. Range answers for numerical questions and questions with more than one accepted answer are kept exactly as the key gives them.

More GATE papers