GATE 2015 [Set-1]

Question 1

Didn’t you buy _________ when you went shopping?

A
any paper
B
much paper
C
no paper
D
a few paper
Question 1 Explanation: 
In negative sentence we can use "any" with plural countable nouns.
Question 2

Which of the following combinations is incorrect?

A
Acquiescence – Submission
B
Wheedle – Roundabout
C
Flippancy – Lightness
D
Profligate – Extravagant
Question 2 Explanation: 
Acceptance = The reluctant acceptance of something without protest
Wheedle = Use endearments (or) flattery to persuade some to do something
Flippancy = Lack of respect (or) seriousness
Profligate = Recklessly extravagant
Question 3

Given set A = {2, 3, 4, 5} and Set B = {11, 12, 13, 14, 15}, two numbers are randomly selected, one from each set. What is probability that the sum of the two numbers equals 16?

A
0.20
B
0.25
C
0.30
D
0.33
Question 3 Explanation: 
Favourable outcomes = {2,14}, {3,13}, {4,12}, {5,11} = 4
Total outcomes = 4C1 × 5C1 = 20
Probability = Favourable outcomes/ Total outcomes = 4/20 = 0.20
Question 4

Which of the following options is the closest in meaning to the sentence below?

She enjoyed herself immensely at the party.

A
She had a terrible time at the party.
B
She had a horrible time at the party.
C
She had a terrific time at the party.
D
She had a terrifying time at the party.
Question 4 Explanation: 
The options A, B and D means that she didn't enjoy the party.
→ Horrible and terrible means fearful.
→ Terrific = Wonderful
→ So, C is the Answer.
Question 5

Based on the given statements, select the most appropriate option to solve the given question.

If two floors in a certain building are 9 feet apart, how many steps are there in a set of stairs that extends from the first floor to the second floor of the building?

    Statements:
        (I) Each step is 3/4 foot high.
        (II) Each step is 1 foot wide.
A
Statement I alone is sufficient, but statement II alone is not sufficient.
B
Statement II alone is sufficient, but statement I alone is not sufficient.
C
Both statements together are sufficient, but neither statement alone is sufficient.
D
Statement I and II together are not sufficient.
Question 5 Explanation: 
When you climbing, only height matters not the width.
Statement I:
Each step is 3/4 foot high.
No. of steps = 9/(3/4) = 12 steps
Statement I alone is sufficient.
Statement II:
Each step is 1 foot wide.
Statement II alone is not sufficient.
Question 6

The pie chart below has the breakup of the number of students from different departments in an engineering college for the year 2012. The proportion of male to female students in each department is 5:4. There are 40 males in Electrical Engineering. What is the difference between numbers of female students in the Civil department and the female students in the Mechanical department?

A
32
B
33
C
34
D
35
Question 6 Explanation: 
Male to female students in each department = 5 : 4
There are 40 males in Electrical Engineering.
⇒ Number of females in Electrical Engineering = 4/5 × 40 = 32
Total number of students in Electrical Engineering = 40+32 = 72
This constitutes 20% of the strength of college.
Number of students in Civil department = 30/100 × 72 = 108
Number of female students in Civil department = 4/(4+5) × 108 = 48
Number of students in Mechanical department = 10/20 × 72 = 36
Number of female students in Mechanical department = 4/(4+5) × 36 = 16
Required Difference = 48 - 16 = 32
Question 7

Select the alternative meaning of the underlined part of the sentence.

The chain snatchers took to their heels when the police party arrived.

A
took shelter in a thick jungle
B
open indiscriminate fire
C
took to flight
D
unconditionally surrendered
Question 7 Explanation: 
The words took to their heels and took to flight means that runaway.
Question 8

The probabilities that a student passes in Mathematics, Physics and Chemistry are m, p and c respectively. Of these subjects, the student has 75% chance of passing in at least one, a 50% chance of passing in at least two and a 40% chance of passing in exactly two. Following relations are drawn in m, p, c:

    (I) p + m + c = 27/20
    (II) p + m + c = 13/20
    (III) (p) × (m) × (c) = 1/10
A
Only relation I is true
B
Only relation II is true
C
Relations II and III are true.
D
Relations I and III are true.
Question 8 Explanation: 
75% of students have a chance of passing atleast one subject
= 1 - (1 - m) (1 - p) (1 - c) = 0.75 ----(i)
50% of students have a chance pass in atleast two
(1 - m)pc + (1 - p)mc + (1 - c) mp + mpc = 0.5 ----(ii)
40% of students have a chance of passing exactly two
(1 - m)pc + (1 - p)mc + (1 - c)mp = 0.4 ----(iii)
From equation (ii) and (iii) we can get
mpc = 0.1
⇒ m*p*c = 1/10
Statement (III) is correct.
→ Simplify eq (i), we get
⇒ p+c+m - (mp+mc+pc) + mpc = 0.75
⇒ p+c+m - (mp+mc+pc) = 0.65 ----(iv) → Simplify equation (iii), we get
⇒ pc + mc + mp - 3mpc = 0.4
From (iv) and (v)
p + c + m - 0.7 = 0.65
⇒ p + c + m = 1.35 = 27/20
Statement (I) is correct.
Question 9

The given statement is followed by some courses of action. Assuming the statement to be true, decide the correct option.

Statement:

There has been a significant drop in the water level in the lakes supplying water to the city.

Course of action:

    (I) The water supply authority should impose a partial cut in supply to tackle the situation.
    (II) The government should appeal to all the residents through mass media for minimal use of water.
    (III)The government should ban the water supply in lower areas.
A
Statements I and II follow
B
Statements I and III follow
C
Statements II and III follow
D
All statements follow
Question 9 Explanation: 
The statement III is not correct.
Banning of water in lower areas is not the solution of the problem.
Question 10

The number of students in a class who have answered correctly, wrongly, or not attempted each question in an exam, are listed in the table below. The marks for each question are also listed. There is no negative or partial marking.

What is the average of the marks obtained by the class in the examination?

A
2.290
B
2.970
C
6.795
D
8.795
Question 10 Explanation: 
Total number of students = 44 (Answered- correctly + Answered-wrongly + Not-attempted)
Total marks obtained = 21 × 2 + 15 × 3 + 11 × 1 + 23 × 2 + 31 × 5 = 299
Average marks = 299/44 = 6.795
Question 11

Which one of the following is True at any valid state in shift-reduce parsing?

A
Viable prefixes appear only at the bottom of the stack and not inside
B
Viable prefixes appear only at the top of the stack and not inside
C
The stack contains only a set of viable prefixes
D
The stack never contains viable prefixes
Question 11 Explanation: 
A handle is actually on the top of the stack.
A viable prefixes is prefix of the handle and so can never extend to the right of handle, i.e., top of stack.
So set of viable prefixes is in stack.
Question 12

Match the following:

(P) Condition coverage                      (i) Black-box testing
(Q) Equivalence class partitioning         (ii) System testing
(R) Volume testing                        (iii) White-box testing
(S) Alpha testing                          (iv) Performance testing
A
P-ii, Q-iii, R-i, S-iv
B
P-iii, Q-iv, R-ii, S-i
C
P-iii, Q-i, R-iv, S-ii
D
P-iii, Q-i, R-ii, S-iv
Question 12 Explanation: 
Condition coverage is also known as predicate coverage in which each of the Boolean expression evaluated to both true and false, which is nothing but white-box testing, which tests internal structures of an application. Hence A-3.
Equivalence class partitioning ⇒ is a software testing technique that divides the input data of a software unit into partitions of equivalent data from which test cases can be derived, which is nothing but black box testing. Hence B-1.
Volume testing ⇒ Performance testing - C-4.
Alpha testing ⇒ System Testing D-2.
Question 13

For computers based on three-address instruction formats, each address field can be used to specify which of the following:

    (S1) A memory operand
    (S2) A processor register
    (S3) An implied accumulator register
A
Either S1 or S2
B
Either S2 or S3
C
Only S2 and S3
D
All of S1, S2 and S3
Question 13 Explanation: 
Any implied register is never explicitly mentioned as an operand in an operation.
So as the question asks what can be specified using the address fields, implied accumulator register can't be represented in address field.
So, S3 is wrong.
Hence Option A is the correct answer.
Question 14

Which one of the following is the recurrence equation for the worst case time complexity of the Quicksort algorithm for sorting n(≥ 2) numbers? In the recurrence equations given in the options below, c is a constant.

A
T(n) = 2T(n/2) + cn
B
T(n) = T(n – 1) + T(1) + cn
C
T(n) = 2T(n – 1) + cn
D
T(n) = T(n/2) + cn
Question 14 Explanation: 
When the pivot is the smallest (or largest) element at partitioning on a block of size n the result yields one empty sub-block, one element (pivot) in the correct place and sub block of size n-1.
Hence recurrence relation T(n) = T(n - 1) + T(1) + cn.
Question 15

For any two languages L1 and L2 such that L1 is context-free and L2 is recursively enumerable but not recursive, which of the following is/are necessarily true?

A
I only
B
III only
C
III and IV only
D
I and IV only
Question 15 Explanation: 
1 ⇒ is recursive,
This one is true, because L1 is context free which is nothing but recursive, recursive language is closed under complement hence true.
2 ⇒ (complement of L2) is recursive
If L2 and both are recursive enumerable then is recursive.
Hence option 2 is false
3 ⇒ is context free
Which is false because context free language does not closed under complement
4 ⇒ ∪L2 is recursive enumerable
⇒ recursive
Every recursive language is also recursive enumerable
L2 ⇒ recursive enumerable
∪ L2 ⇒ recursive enumerable
Because recursive enumerable language closed under union.
Question 16

Suppose two hosts use a TCP connection to transfer a large file. Which of the following statements is/are False with respect to the TCP connection?

    1. If the sequence number of a segment is m, then the sequence number of the subsequent segment is always m+1.
    2. If the estimated round trip time at any given point of time is t sec, the value of the retransmission timeout is always set to greater than or equal to t sec.
    3. The size of the advertised window never changes during the course of the TCP connection.
    4. The number of unacknowledged bytes at the sender is always less than or equal to the advertised window.
A
III only
B
I and III only
C
I and IV only
D
II and IV only
Question 16 Explanation: 
I. False.
If the sequence no. of the segment is m, then the sequence number of the subsequent segment depends on the current segment size.
II. True.
If the estimated RTT at any given point of time is t second, then the value of the re-transmission timeout is always set to greater than or equal to t sec.
III. False.
The size of the advertised window may change during the course of the TCP connection depending on the processing capability at the receiver's side and the network traffic.
IV. True.
The number of unacknowledged bytes at the sender is always less than or equal to the advertised window, because the sender never sends no. of bytes greater than advertised window.
There are 16 questions to complete.

Access quiz wise question and answers by becoming as a solutions adda PRO SUBSCRIBER with Ad-Free content

Register Now

If you have registered and made your payment please contact solutionsadda.in@gmail.com to get access