Question: EXAMPLE 7 . 1 0 The language L = { a n b n : n 0 } is a deterministic context - free language.

EXAMPLE 7.10
The language
L={anbn:n0}
is a deterministic context-free language. The pda ,{:b},{0,1},,q0,0,{q0} with
(q0,a,0)={(q1,10)},
(q1,a,1)={(q1,11)},
(q1,b,1)={(q2,)},
(q2,b,1)={(q2,)},
(q2,,0)={(q0,)}
accepts the given language. It satisfies the conditions of Definition 7.3 and is therefore deterministic.
My question. Why the given pda is dpda for the language? The language has to accept empty string, but the (d)pda can not accept it.
 EXAMPLE 7.10 The language L={anbn:n0} is a deterministic context-free language. The

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!