wiz-icon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

A language L satisfies the Pumping Lemma for regular languages, and also the pumping Lemma for context-free languages. Which of the following statements about L is TRUE?

Open in App
Solution

If L is regular L satisfies the pumping lemma for regular languages.

If L is CFL L satisfies the pumping lemma for CFLs.

By satisfying pumping lemma, we can never say that a language is regular or CFL. It can only be used to prove that a certain language is not regular or not CFL in case the language violates the corresponding pumping lemma.

So, both regular and non-regualr languages can satisfy pumping lemma for regular language.

Similarly, both CFL's and non-CFLs can satisfy pumping lemma for CFL's

So satisfying pumping lemma doesn't prove anything about the type of language.

flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Growth of Middle Class and Outbreak of Revolution
HISTORY
Watch in App
Join BYJU'S Learning Program
CrossIcon