Menu

Context Free Grammars Questions

MCQ
41.
The context free grammar S ? SS | 0S1 | 1S0 | ? generates _________
forum Discussion
MCQ
42.
Which of the following statement is false?
forum Discussion
MCQ
43.
Which of these does not belong to CFG?
forum Discussion
MCQ
44.
Assume the statements S1 and S2 given as:S1: Given a context free grammar, there exists an algorithm for determining whether L (G) is infinite.
S2: There exists an algorithm to determine whether two context free grammars generate the same language.
Which of the following is true?
forum Discussion
MCQ
45.
If P & R are regular and also given that if PQ=R, then?
forum Discussion
MCQ
46.
Which of the following conversion is not possible (algorithmically)?
forum Discussion
MCQ
47.
Consider the grammar given below E? E+E | E*E | E-E | E/E | E^E | (E) | id Assume that + and ^ have the same but least precedence, * and / have the next higher precedence but the same precedence and finally ^ has the highest precedence. Assume + and ^ associate to the left like * and / and that ^ associates to the right. Choose the correct for the ordered pairs (^,^), (-,-), (+,+), (*,*) in the operator precedence table constructed for the grammar.
forum Discussion
MCQ
48.
Recursively enumerable languages are not closed under ______________
forum Discussion
MCQ
49.
Grammar that produce more than one Parse tree for same sentence is ___________
forum Discussion
MCQ
50.
Automaton accepting the regular expression of any number of a
forum Discussion