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

Consider the following statements:

I. If L is the language accepted by some DPDA, then L has an unambiguous CFG.

II. PDA with acceptance by final state is equivalent to PDA with acceptance by empty stack.

Which of the above statements is correct?

Open in App
Solution

If L is accepted by some DPDA then L must be deterministic context free language. The grammar that generates L will be deterministic context free grammer. Also, A DCFG is the same as are LF(0) grammer. All LR(K) grammers are unambiguous. Hence Statement-I is true. Statement-2 is true because PDA with final state has same expressive power as that of PDA with empty stack.

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