CS and IT Gate 2016 Set-2 Questions with Answer

Ques 1 Gate 2016 Set-2


All hill-stations have a lake. Ooty has two lakes. Which of the statement(s) below is/are logically valid and can be inferred from the above sentences?

(i) Ooty is not a hill-station.
(ii) No hill-station can have more than one lake.

A

(i) only

B

(ii) only

C

both (i) and (ii)

D

neither (i) nor (ii)


(Apititude) is the correct answer.

Ques 2 Gate 2016 Set-2


Computers were invented for performing only high-end useful computations. However, it is no understatement that they have taken over our world today. The internet, for example, is ubiquitous. Many believe that the internet itself is an unintended consequence of the original invention. With the advent of mobile computing on our phones, a whole new dimension is now enabled. One is left wondering if all these developments are good or, more importantly, required. Which of the statement(s) below is/are logically valid and can be inferred from the above paragraph?

(i) The author believes that computers are not good for us.
(ii) Mobile computers and the internet are both intended inventions

A

(i) only

B

(ii) only

C

both (i) and (ii)

D

neither (i) nor (ii)


(Apititude) is the correct answer.

Ques 3 Gate 2016 Set-2


Among 150 faculty members in an institute, 55 are connected with each other through Facebook ® and 85 are connected through WhatsApp ® . 30 faculty members do not have Facebook ® or WhatsApp ® accounts. The number of faculty members connected only through Facebook ® accounts is ______________.

A

35

B

45

C

65

D

90


(Apititude) is the correct answer.

Ques 4 Gate 2016 Set-2


Pick the odd one from the following options.

A

CADBE

B

JHKIL

C

XVYWZ

D

ONPMQ


(Apititude) is the correct answer.

Ques 5 Gate 2016 Set-2


Find the odd one in the following group of words.

mock, deride, praise, jeer

A

mock

B

deride

C

jeer

D

praise


(Apititude) is the correct answer.

Ques 6 Gate 2016 Set-2


Nobody knows how the Indian cricket team is going to cope with the difficult and seamer-friendly wickets in Australia.

Choose the option which is closest in meaning to the underlined phrase in the above sentence.

A

put up with

B

put in with

C

put down to

D

put up against


(Apititude) is the correct answer.

Ques 7 Gate 2016 Set-2


The man who is now Municipal Commissioner worked as ______________.

A

the security guard at a university

B

a security guard at the university

C

a security guard at university

D

the security guard at the university


(Apititude) is the correct answer.

Ques 8 Gate 2016 Set-2


The number of states in the minimum sized DFA that accepts the language defined by the regular expression

(0+1)*(0+1)(0+1)*


is __________________


(a) is the correct answer.

Ques 9 Gate 2016 Set-2


A student wrote two context-free grammars G1 and G2 for generating a single C-like array declaration. The dimension of the array is at least one. For example,

int a[10][3];
The grammars use D as the start symbol, and use six terminal symbols int ; id [ ] num.

Grammar G1
D → int L;
L → id [E
E → num]
E → num] [E

Grammar G2
D → int L;
L → id E
E → E[num]
E → [num]

Which of the grammars correctly generate the declaration mentioned above?

A

Both G1 and G2

B

Only G1

C

Only G2

D

Neither G1 nor G2


(CFG) is the correct answer.

Ques 10 Gate 2016 Set-2


Which one of the following grammars is free from left recursion?

A

S → AB
A → Aa | b
B → c

B

S → Ab | Bb | c
A → Bd | ε
B → e

C

S → Aa | B
A → Bb | Sc | ε
B → d

D

S → Aa | Bb | c
A → Bd | ε
B → Ae | ε


(Grammar) is the correct answer.

Ques 11 Gate 2016 Set-2


Consider the following languages.

L1 = {(M) | M takes at least 2016 steps on some input},
L2 = {(M) | M takes at least 2016 steps on all inputs} and
L3 = {(M) | M accepts ε},

where for each Turing machine M, denotes a specific encoding of M. Which one of the following is TRUE?

A

L1 is recursive and L2, L3 are not recursive

B

L2 is recursive and L1, L3 are not recursive

C

L1, L2 are recursive and L3 is not recursive

D

L1, L2,L3 are recursive


(Turing Machine) is the correct answer.

Ques 12 Gate 2016 Set-2


Consider the following languages:

L1= {anbmcn+m : m, n >= 1}
L2= {anbnc2n : n >= 1}

Which one of the following is TRUE?

A

Both L1 and L2 are context-free.

B

L1 is context-free while L2 is not context-free.

C

L2 is context-free while L1 is not context-free.

D

Neither L1 nor L2 is context-free.


(CFG) is the correct answer.

Ques 13 Gate 2016 Set-2


Consider the following two statements:

I. If all states of an NFA are accepting states then the language accepted by the NFA is Σ* .
II. There exists a regular language A such that for all languages B, A ∩ B is regular.

Which one of the following is CORRECT?

A

Only I is true

B

Only II is true

C

Both I and II are true

D

Both I and II are false


(DFA) is the correct answer.

Unique Visitor Count

Total Unique Visitors

Loading......