Menu

Question Discussion & Solution

MCQ
Q.
In the correct grammar of above question, what is the length of the derivation (number of steps starring from S) to generate the string albm with l ? m? 

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.
Let L = {0n1n|n ? 0} be a context free language. Which of the following is correct ?
forum Discussion
MCQ
2.
Which among the following cannot be accepted by a regular grammar ?
forum Discussion
MCQ
3.
Let L = L1?L2, where L1 and L2 are languages as defined below:

L1 = {a^{m}b^{m}ca^{n}b^{n} | m, n >= 0 }
L2 = {a^{i}b^{j}c^{k} | i, j, k >= 0 }
Then L is
forum Discussion
MCQ
4.
Which of the following are context free?

A = {anbnambm | m, n>=0}
B = {ambnambn | m, n>=0}
C = {ambn | m?2n,m, n>=0}
forum Discussion
MCQ
5.
Given the following two statements : A. L = {w|na(w) = nb(w)} is deterministic context free language, but not linear. B. L = {an bn} ? {an b2n} is linear, but not deterministic context free language. Which of the following options is correct ?
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