CS and IT GATE 2016 Set-2 Questions with Answer

Ques 1 Aptitude


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)



Ques 2 Aptitude


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)



Ques 3 Aptitude


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



Ques 4 Aptitude


Pick the odd one from the following options.

A

CADBE

B

JHKIL

C

XVYWZ

D

ONPMQ



Ques 5 Aptitude


Find the odd one in the following group of words.

mock, deride, praise, jeer

A

mock

B

deride

C

jeer

D

praise



Ques 6 Aptitude


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



Ques 7 Aptitude


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



Ques 8 Automata


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 Automata


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



Ques 10 Automata


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 | ε



Ques 11 Automata


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



Ques 12 Automata


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.



Ques 13 Automata


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



Unique Visitor Count

Total Unique Visitors

Loading......