Menu

Question Discussion & Solution

MCQ
Q.
A CFG is close under ________

forum Community Discussion

speaker_notes_off

No discussions yet. Be the first to start!

You must be logged in to participate in the discussion.

login Login to Discuss

auto_awesome Similar Questions

MCQ
1.
Consider the following context-free grammar over the alphabet ? = {a, b} with S as the start symbol:
S ? AT 
A ? aAa | bAb | #T 
T ? aT | bT | ? 
Which of the following represents the language generated by the above grammar?
forum Discussion
MCQ
2.
The set of all strings over ? = {0,1} in which all strings that beings and ends with 0 is--------
forum Discussion
MCQ
3.
The context free grammar S ? SS | 0S1 | 1S0 | ? generates
forum Discussion
MCQ
4.
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}
forum Discussion
MCQ
5.
Which of the following conversion is not possible (algorithmically)?
forum Discussion

category More Theory of Automata Topics

article

Reqular Expressions

format_list_bulleted 114 MCQs
article

Finite Automata

format_list_bulleted 44 MCQs
article

Context Free Grammars

format_list_bulleted 76 MCQs
article

Push Down Automata

format_list_bulleted 37 MCQs
article

Regular and context free languages

format_list_bulleted 65 MCQs
article

Pumping Lemma

format_list_bulleted 14 MCQs
article

Turning Machine

format_list_bulleted 14 MCQs