Question: Let S = { a , b } . For the language that are defined by each of the following grammars i ) L (

Let S ={a, b}. For the language that are defined by each of the following grammars
i) L(G1) : S aS | Sb | e
ii) L(G2) : S aS | bS | e
Do each of the following:
a) List TWO strings that are in L(G1) and L(G2).
b) List TWO strings that are not in L(G1) and L(G2).
c) Describe L(G1) and L(G2) concisely. You can use regular expressions or set theoretic
expressions.

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!