Question: I. Describe the languages generated by: a . S ASA | A | A 0 0 | | | b . S 0 S 1
I.
Describe the languages generated by:
aASA
b
c
TT
II
Consider the following context free grammar: where
aAS
SbA
a Answer each of the following questions True or False:
i From the fact that is context free, it follows that there is no regular expression for
ii LG contains no strings of length
iii For any string winL there exists such that uvxyz, and zinL for all
iv If there exist languages L and L such that then and must both be context free.
v The language is context free.
b Give a leftmost derivation according to of aaaabaa.
c Give the parse tree corresponding to the derivation in b
III. Convert to Chomsky Normal Form:
AbA
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
