Q.
Which of the following language(s) generates more than one parse tree for a string ?
L1 = {a^nb^mc^md^n ∈ {a, b, c, d}* | n, m ≥ 0}
∪ {a^nb^nc^md^m ∈ {a, b, c, d}* | n, m ≥ 0}
L2 = {a^nb^mc^m ∈ {a, b, c}* | n, m ≥ 0}
∪ {a^nb^nc^m ∈ {a, b, c}* | n, m ≥ 0}
L3 = {a^nb^mc^p ∈ {a, b, c}* | n ≠ m; n, m ≥ 0}
∪ {a^nb^mc^p ∈ {a, b, c}* | m ≠ p; n, m ≥ 0} Similar Questions
1.
Which of the following pairs have DIFFERENT expressive power?
2.
Assume Statement S1 and S2 defined as:S1:L2-L1 is recursive enumerable Where L1 and L2 are recursive and recursive enumerable respectively. S2: The set of all Turnig machine is countable. Which of the following is true?
3.
A context free language is called ambigous if ______________
4.
Which of the following statement is false ?
5.
The context free grammer S->SS | oS1 | 1So | e generates
6.
Which of the following statement is false ?
7.
Push down automata excepts which language ?
8.
A regular Grammer is a ___________
9.
A CFG is close under ________
10.
Which of these does not belong to CFG ?
THEORY OF AUTOMATA TOPICS