Automata GATE CS and IT previous year questions with answer
Ques 41 Gate 2016 Set-2
Language L1 is defined by the grammar:
S1 -> aS1b | ε
Language L2 is defined by the grammar:
S2 -> abS2 | ε
Consider the following statements:
P: L1 is regular
Q: L2 is regular
Which one of the following is TRUE?
Ques 42 Gate 2016 Set-1
Let X be a recursive language and Y be a recursively enumerable but not recursive language. Let W and Z be two languages such that Y reduces to W, and Z reduces to X (reduction means the standard many-one reduction). Which one of the following statements is TRUE?
Ques 43 Gate 2016 Set-1
Consider the following context-free grammars:
G2: S → aA|bB, A → aA|B|ε, B → bB|ε
Ques 44 Gate 2016 Set-1
Which one of the following regular expressions represents the language: the set of all binary strings having two consecutive 0s and two consecutive 1s?
Ques 45 Gate 2016 Set-1
Which of the following decision problems are undecidable?
I. Given NFAs N1 and N2, is L(N1)∩L(N2) = Φ?
II. Given a CFG G = (N,Σ,P,S) and a string x ∈ Σ*, does x ∈ L(G)?
III. Given CFGs G1 and G2, is L(G1) = L(G2)?
IV. Given a TM M, is L(M) = Φ?
Ques 46 Gate 2016 Set-1
Which of the following languages is generated by the given grammar?
S → aS|bS| ε
Ques 47 Gate 2015 Set-1
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?
II. L2' (complement of L2) is recursive
III. L1' is context-free
IV. L1' ∪ L2 is recursively enumerable
Ques 48 Gate 2014 Set-1
Which one of the following is TRUE?