CS and IT GATE 2015 Set-2 Questions with Answer

Ques 53 Software Engineering


A Software Requirements Specification (SRS) document should avoid discussing which one of the following?

A

User interface issues

B

Non-functional requirements

C

Design specification

D

Interfaces with third party software



Ques 54 Software Engineering


Which one of the following assertions concerning code inspection and code walkthrough is true?

A

Code inspection is carried out once the code has been unit tested.

B

Code inspection and code walkthrough are synonyms.

C

Adherence to coding standards is checked during code inspection.

D

Code walkthrough is usually carried out by an independent test team.



Ques 55 Theory of Computation


Consider the following statements.
I. The complement of every Turing decidable language is Turing decidable.
II. There exists some language which is in NP but is not Turing decidable.
III. If L is a language in NP, L is Turing decidable.
Which of the above statements is/are true?

A

Only II

B

Only III

C

Only I and II

D

Only I and III



Ques 56 Theory of Computation


The number of states in the minimal deterministic finite automaton corresponding to the regular expression (0 + 1)*(10) is _______.



Ques 57 Theory of Computation


Which of the following languages is/are regular?
L1 = {wxwR | w, x ∈ {a, b}* and |w|, |x| > 0}, wR is the reverse of string w.
L2 = {anbm | m ≠ n and m, n ≥ 0}
L3 = {apbqcr | p, q, r ≥ 0}

A

L1 and L3 only

B

L2 only

C

L2 and L3 only

D

L3 only



Ques 58 Theory of Computation


Consider the alphabet Σ = {0, 1}, the null/empty string λ and the sets of strings X0, X1, and X2 generated by the corresponding non-terminals of a regular grammar. X0, X1, and X2 are related as follows.
X0 = 1X1
X1 = 0X1 + 1X2
X2 = 0X1 + {λ}
Which one of the following choices precisely represents the strings in X0?

A

10(0* + (10)*)1

B

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

C

1(0 + 10)*1

D

10(0 + 10)*1 + 110(0 + 10)*1



Ques 59 Theory of Computation


Which one of the following well-formed formulae is a tautology?

A

∀x∃y R(x, y) ↔ ∃y∀x R(x, y)

B

(∀x[∃y R(x, y) → S(x, y)]) → ∀x∃y S(x, y)

C

[∀x∃y(P(x, y) → R(x, y))] ↔ [∀x∃y(¬P(x, y) ∨ R(x, y))]

D

∀x∀y P(x, y) → ∀x∀y P(y, x)



Unique Visitor Count

Total Unique Visitors

Loading......