Question: please help me. (a) Consider the following CFG-1 and answer the following question. P ABCD A aAcC|0D| iC Bovov C id | id-D D>0|1|2|3|4|5|6| 7

please help me.
(a) Consider the following CFG-1 and answer the following question. P ABCD A aAcC|0D| iC Bovov C id | id-D D>0|1|2|3|4|5|6| 7 | 8 | 9 CFG-1 Find out if the above mentioned CFG is ambiguous or not, and give proper justification. You may use "covid-19" as input string to test the ambiguousness. (b) Consider the following CFG-2 and answer the following questions. X QRP Q VR|VP Race | accPP | at|atPP P>in 0 CFG-2 Use LMD and RMD to produce "vaccination from the above CFG-2
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
