Question: Comp Theory answer below. 7. Let L1 be the language {am b n | m, n > 0}. Construct a context-free grammar G such that
Comp Theory answer below.
7. Let L1 be the language {am b n | m, n > 0}. Construct a context-free grammar G such that L(G) = L1
9.Let L2 be the language {an b n | n > 0}. Construct a context-free grammar G such that L(G) = L2.
10. Determine L1 U L2, L1 L2, L1*, and L2*, where L1 and L2 are as defined above
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
