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

Consider the language 'Pal' consisting of all palindromes over alphabet ={0,1}.
Which of the following statements is true?

A
Every finte subset of Pal is regular
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
B
Every infinte subset of Pal is non-regular
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
Every infinte superset of Pal is non-regular
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
Pal is non-regular
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
Open in App
Solution

The correct option is D Pal is non-regular
Option (a, d)

Pal is standard non-regular but CFL language. Consider the infinite subset 0* of pal, it is regular and consider the infinite superset * of pal, it is regular. Every finite language is always regular.

flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Introduction to CFL
OTHER
Watch in App
Join BYJU'S Learning Program
CrossIcon