Menu

Question Discussion & Solution

MCQ
Q.
Identify the language generated by the following grammar

S -> AB
 A -> aAb|?
 B -> bB| b 

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.
Given the following two languages: L1 = {anban|n > 0} L2 = {an b an bn + 1|n > 0} Which of the following is correct ?
forum Discussion
MCQ
2.
The following Context-Free Grammar (CFG): S ? aB | bA A ? a | aS | bAA B ? b | bS | aBB will generate (1) odd numbers of a
forum Discussion
MCQ
3.
Given the following grammars: G1: S ? AB|aaB A ? aA | ? B ? bB | ? G2: S ? A|B A ? aAb | ab B ? abB | ? Which of the following is correct?
forum Discussion
MCQ
4.
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
MCQ
5.
Which of the following sentences can be generated by

S -> aS | bA
A -> d | cA
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