Answer: PDA
Answer: PDA
Answer: Type -2 Grammar
1) Does a given program ever produce an output?
2) If L is context-free language, then, is ~L also context-free?
3) If L is regular language, then, is ~L also regular?
4) If L is recursive language, then, is ~L also recursive?
Answer: Boyson Jensen
S-> bS
S -> b
S -> aA
A -> bA
Answer: Type -3 grammar
Answer: F3,F4,F1,F5,F6,F2
I. Recursive languages are closed under complementation.
II. Recursively enumerable languages are closed under union.
III. Recursively enumerable languages are closed under complementation.
Which of the above statements are true ?Answer: I and II
Answer: L(ab*a)
Answer: 3
Answer: Context-sensitive
S1 : L2-L1 is recursive enumerable where L1 and L2 are recursive and recursive enumerable respectively.
S2 : The set of all Turing machines is countable.
Which of the following is true ?Answer: Both S1 and S2 are not correct.
Answer: Only regular grammar
Answer: a*b(b * + aa*b)*
Answer: The language corresponding to the given grammar is a set of odd number of a s.
Answer: Languages recognizable by Turing machine
Answer: Both B and C
Answer: Decidable
Answer: The pigeon hole principle
Answer: Type-2 grammar
Answer: always
Answer: Ackermann function