CameraIcon
CameraIcon
SearchIcon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

If L is a regular language over ={a,b} , which one of the following languages is NOT regular?


A
Prefix (L) = {xϵyϵsuchthatxyϵL}
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
Suffix (L) = {yϵxϵsuchthatxyϵL}
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
{wwRwϵL}
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
D
LLR{xyxϵL,yRϵL}
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution

The correct option is C {wwRwϵL}
If L is regular, LLR is also regular by closure property.

Suffix(L) and Prefix(L) are also regular by closure property.

However option (d) {wwRwϵL} need not be regular since if L is an infinite regular language then {wwRwϵL} will not only be infinite, but also non-regular. Since it involves string matching and we can increase in length indefinitely and then finite automata FA will run out of memory.

So answer is option (d).

flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Simple and Compound Interest
Watch in App
Join BYJU'S Learning Program
CrossIcon