Question: D . ( 4 pts ) Let L ( G ) = { ( bb ) nb ( aa ) n | n in Z
D pts Let LGbbnbaann in Z n where a b is the set
of terminal symbols.
Which set of production rules for G with start symbol S a non
terminal can generate it
A S baSab, S b
B S aaSbb, S b
C S bAa, A bSa, S b
D S aAb, A aSb, S b
E S bSa, A bAa, S b
Identify the most specific type of grammar that G can be classified as
A Typeno restriction on production rule
B Typecontextsensitive
C Typecontextfree
D Typeregular
E None of the above
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
