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

Consider the language L1, L2, L3 as given below:
L1={0p 1q | p, q0}
L2={0p 1q | p, q0 and p=q}
L3={0p 1q 0r| p, q, r0 and p=q=r}
Which of the following statements is NOT true?

Open in App
Solution

Language L1 is regular since, it represents 0p 1q
Language L2 is CFL since, it involves one comparison, two comparison at a time.
Hence, option (a) is true since PDA can be used to reco and CFL respectively.
Clearly, option (c) is false.

flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Laws of Logarithm with Use
MATHEMATICS
Watch in App
Join BYJU'S Learning Program
CrossIcon