MCQOPTIONS
Saved Bookmarks
| 1. |
A CFG for a program describing strings of letters with the word “main” somewhere in the string: |
| A. | -> m a i n -> | epsilon -> A | B | … | Z | a | b … | z |
| B. | –> m a i n –> –> A | B | … | Z | a | b … | z |
| C. | –> m a i n –> | epsilon –> A | B | … | Z | a | b … | z |
| D. | None of the mentionedView Answer |
| Answer» B. –> m a i n –> –> A | B | … | Z | a | b … | z | |