Question: Here is a grammar, written using our usual conventions. S aS | T T c | Which of the following could be the alphabet being
Here is a grammar, written using our usual conventions.
S aS | T T c |
Which of the following could be the alphabet being used?
| a. | {a, b, c}. | |
| b. | {a, b, c, }. | |
| c. | {S, T}. | |
| d. | {S, T, }. | |
| e. | {a, b, c, S, T}. | |
| f. | {a, b, c, S, T, }. |
Which of the following strings lie in the language generated by the grammar in problem 3? Select all correct answers.
| a. | a | |
| b. | c | |
| c. | ac | |
| d. | ca | |
| e. | aaac | |
| f. | accc | |
| g. | ccca | |
| h. | caaa |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
