Consider the language L1,L2,L3 as given below: L1={0p1q|p,q≥0} L2={0p1q|p,q≥0 and p=q} L3={0p1q0r|p,q,r≥0 and p=q=r}
Which of the following statements is NOT true?
Open in App
Solution
Language L1 is regular since, it represents 0p1q
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.