Question: 1 3 ( 1 0 marks ) Recall that the Pumping Lemma for context - free languages states: If L is a context - free
marks
Recall that the Pumping Lemma for contextfree languages states:
If is a contextfree language, then there is a positive integer such that
AAwinL, where
EEu, where uvxyz, such that:
and are not both empty
xyinL for all
Use this Pumping Lemma to show that the following language on is not contextfree:
:
You should ensure that all cases are clearly identified, and that you show how each leads to a
contradiction.
marks
Consider the following CFG and note that it obeys the constraints of Chomsky Normal Form:
Use the CYK algorithm to show:
a marks that is not in the language generated by the grammar;
b marks that is in that language.
You should show the full tables constructed as you apply the algorithm.
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
