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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!