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

The official GATE 2014 Computer Science & Information Technology (Set 1) paper, organised by IIT Kharagpur: 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 IIT Kharagpur for GATE 2014. Spotted a mistake? Email team@lemyte.com.

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

Where the marks were

GATE 2014 CS (Set 1) topic-wise marks

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

TopicQuestionsMarks
Discrete Mathematics814
Algorithms69
Computer Networks69
Databases58
Operating System58
Programming and Data Structures57
Computer Organization and Architecture47
Theory of Computation46
Calculus35
Digital Logic34
Probability and Statistics23
Compiler Design23
Linear Algebra22

Free solved questions

5 solved questions from GATE 2014 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.

Q5 · General Aptitude · MCQ · 1 mark

The roots of

ax2+bx+c=0ax^2+bx+c=0

are real and positive. Here aa, bb, and cc are real.

Then

ax2+b∣x∣+c=0ax^2+b|x|+c=0

has

  • (A)
    no roots
  • (B)
    2 real roots
  • (C)
    3 real roots
  • (D)
    4 real roots

Answer (official key): D

Solution

For x≥0x \ge 0, ∣x∣=x|x|=x, so the equation becomes:

ax2+bx+c=0.ax^2+bx+c=0.

It has two positive real roots.

For x<0x<0, let u=−x>0u=-x>0. Then ∣x∣=u|x|=u and x2=u2x^2=u^2, so the equation again becomes:

au2+bu+c=0.au^2+bu+c=0.

This gives two negative real roots for xx.

Hence the equation has 4 real roots.

Therefore, the correct answer is Option D.

Q6 · General Aptitude · MCQ · 2 marks

The Palghat Gap (or Palakkad Gap), a region about 30 km wide in the southern part of the Western Ghats in India, is lower than the hilly terrain to its north and south. The exact reasons for the formation of this gap are not clear. It results in the neighbouring regions of Tamil Nadu getting more rainfall from the South West monsoon and the neighbouring regions of Kerala having higher summer temperatures.

What can be inferred from this passage?

  • (A)
    The Palghat gap is caused by high rainfall and high temperatures in southern Tamil Nadu and Kerala
  • (B)
    The regions in Tamil Nadu and Kerala that are near the Palghat Gap are low-lying
  • (C)
    The low terrain of the Palghat Gap has a significant impact on weather patterns in neighbouring parts of Tamil Nadu and Kerala
  • (D)
    Higher summer temperatures result in higher rainfall near the Palghat Gap area

Answer (official key): C

Solution

The passage says the Palghat Gap is lower than the surrounding terrain and that this affects rainfall in Tamil Nadu and summer temperatures in Kerala. Therefore, the valid inference is that the low terrain significantly impacts neighbouring weather patterns.

Therefore, the correct answer is Option C.

Q26 · Probability and Statistics · Numerical · 1 mark

Suppose you break a stick of unit length at a point chosen uniformly at random. Then the expected length of the shorter stick is ________.

Answer (official key): 0.24 to 0.27

Solution

Let the break point be X∼U(0,1)X \sim U(0,1). The shorter piece has length:

min⁡(X,1−X).\min(X,1-X).

By symmetry:

E[min⁡(X,1−X)]=2∫01/2x dx=2[x22]01/2=14=0.25.E[\min(X,1-X)] =2\int_0^{1/2} x\,dx =2\left[\frac{x^2}{2}\right]_0^{1/2} =\frac14 =0.25.

The official accepted range is 0.24 to 0.27.

Therefore, the answer is 0.25.

Q27 · Databases · MCQ · 1 mark

Given the following statements:

S1: A foreign key declaration can always be replaced by an equivalent check assertion in SQL.

S2: Given the table R(a,b,c) where a and b together form the primary key, the following is a valid table definition.

CREATE TABLE S (
  a INTEGER,
  d INTEGER,
  e INTEGER,
  PRIMARY KEY (d),
  FOREIGN KEY (a) references R
);

Which one of the following statements is CORRECT?

  • (A)
    S1 is TRUE and S2 is FALSE.
  • (B)
    Both S1 and S2 are TRUE.
  • (C)
    S1 is FALSE and S2 is TRUE.
  • (D)
    Both S1 and S2 are FALSE.

Answer (official key): D

Solution

S1 is false because a foreign key is a referential integrity constraint involving another table and cannot always be replaced by a simple check assertion.

S2 is false because R has composite primary key (a,b), but the foreign key references only a.

Therefore, the correct answer is Option D.

Q41 · Algorithms · MCQ · 2 marks

Suppose a polynomial time algorithm is discovered that correctly computes the largest clique in a given graph. In this scenario, which one of the following represents the correct Venn diagram of the complexity classes P, NP and NP Complete (NPC)?

  • (A)
    GATE 2014 CS (Set 1) question 41 (Algorithms), option A
  • (B)
    GATE 2014 CS (Set 1) question 41 (Algorithms), option B
  • (C)
    GATE 2014 CS (Set 1) question 41 (Algorithms), option C
  • (D)
    GATE 2014 CS (Set 1) question 41 (Algorithms), option D

Answer (official key): D

Solution

Clique is an NP-complete problem. If a polynomial-time algorithm exists for computing the largest clique, then an NP-complete problem is in P, implying:

P=NP=NPCP = NP = NPC

under the simplified Venn-diagram interpretation used in the options.

Therefore, the correct answer is Option D.

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

Take GATE 2014 CS (Set 1) as a test

Official answer key

GATE 2014 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 2014 CS (Set 1) answer key (PDF)
QTopicTypeMarksAnswer
1Quantitative AptitudeNumerical196
2Verbal AptitudeMCQ1B
3Verbal AptitudeMCQ1C
4Verbal AptitudeMCQ1C
5Quantitative AptitudeMCQ1D
6Analytical AptitudeMCQ2C
7Quantitative AptitudeNumerical248
8Verbal AptitudeMCQ2B
9Spatial AptitudeNumerical26
10Quantitative AptitudeNumerical2850
11Theory of ComputationMCQ1C
12AlgorithmsMCQ1C
13Computer NetworksMCQ1D
14Programming and Data StructuresMCQ1D
15AlgorithmsMCQ1C
16Discrete MathematicsMCQ1C
17DatabasesMCQ1B
18Operating SystemNumerical13
19AlgorithmsMCQ1B
20Computer Organization and ArchitectureNumerical116383
21Linear AlgebraNumerical10
22Computer NetworksMCQ1A
23Programming and Data StructuresNumerical11
24Theory of ComputationMCQ1A
25Discrete MathematicsMCQ1D
26Probability and StatisticsNumerical10.24 to 0.27
27DatabasesMCQ1D
28Programming and Data StructuresMCQ1B
29Computer NetworksMCQ1C
30CalculusMCQ1C
31Digital LogicMCQ1A
32Compiler DesignMCQ1D
33Linear AlgebraNumerical11
34Operating SystemMCQ1D
35Digital LogicNumerical15
36CalculusMCQ2A
37Discrete MathematicsNumerical288.9 to 89.1
38Operating SystemNumerical27.2
39AlgorithmsMCQ2C
40Compiler DesignMCQ2D
41AlgorithmsMCQ2D
42Theory of ComputationMCQ2C
43Computer Organization and ArchitectureMCQ2A
44DatabasesMCQ2D
45Computer NetworksNumerical25
46DatabasesMCQ2A
47Computer Organization and ArchitectureNumerical24
48Discrete MathematicsNumerical2506
49DatabasesMCQ2B
50Discrete MathematicsNumerical216
51Programming and Data StructuresMCQ2A
52Discrete MathematicsMCQ2C
53Discrete MathematicsNumerical212
54Computer NetworksNumerical228 to 30
55Computer Organization and ArchitectureNumerical21.6
56CalculusNumerical2-2
57Operating SystemNumerical27
58Probability and StatisticsNumerical210
59AlgorithmsNumerical2147.1 to 148.1
60Discrete MathematicsMCQ2B
61Programming and Data StructuresMCQ2A
62Operating SystemMCQ2B
63Theory of ComputationMCQ2B
64Digital LogicMCQ2A
65Computer NetworksNumerical21100 to 1300

Questions about GATE 2014 CS (Set 1)

How many questions are in the GATE 2014 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 40 MCQs, 25 numerical answer (NAT) questions. The paper lasted 3 hours.

Is there negative marking in GATE 2014 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 2014 CS (Set 1)?

Outside General Aptitude, the biggest topics were Discrete Mathematics (14 marks), Algorithms (9 marks), Computer Networks (9 marks). The full topic-wise split is in the table on this page.

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

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

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

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

More GATE papers