Recent questions tagged regular-grammar

2 votes
4 answers
61
Which of the following is the most general phase-structured grammar?(a) regular (b) context-free(c) context-sensitive (d) none of the above
4 votes
2 answers
62
Which of the following grammars are not phase-structured?(a) regular (b) context-free(c) context-sensitive (d) none of the above
2 votes
1 answer
63
If a is a terminal and S, A, B are three non-terminals, then which of the following are regular grammars?(a) S → ε, A → aS|b(b) A → aB|a, B → bA|b(c) A → Ba|Ba...
7 votes
2 answers
64
How to convert a Regular Expression to Left Linear Grammar ?Eg : (0+1)*00(0+1)*
0 votes
1 answer
68
40 votes
2 answers
70
Consider the regular grammar below$S \rightarrow bS \mid aA \mid \epsilon $$A \rightarrow aS \mid bA$ The Myhill-Nerode equivalence classes for the language generated by ...