For each of the following PDA's, tell whether or not it is deterministic. Either show that it meets the definition of a DPDA or find a rule or rules that violate it.
$a)$
$b)$
Suppose the $PDA, $ $P=(\{q,p\},\{0,1\},\{Z_{0},X\},\delta,q,Z_{0}.\{p\})$ has the following transition function$:$
- $\delta(q,0,Z_{0})=\{(q,XZ_{0})\}$
- $\delta(q,0,X)=\{(q,XX)\}$
- $\delta(q,1,X)=\{(q,X)\}$
- $\delta(q,\in,X)=\{p,\in\}$
- $\delta(p,\in,X)=\{p,\in\}$
- $\delta(p,1,X)=\{(p,XX)\}$
- $\delta(p,1,Z_{0})=\{p,\in\}$
$c)$
Convert the $PDA$ $P=(\{p,q\},\{0,1\},\{X,Z_{0}\},\delta.q.Z_{0})$ to a $CFG,$ if $\delta$ is given by $:$
- $\delta(q,1,Z_{0})=\{(q,XZ_{0})\}$
- $\delta(q,1,X)=\{(q,XX)\}$
- $\delta(q,0,X)=\{(p,X)\}$
- $\delta(q,\in,X)=\{(q,\in)\}$
- $\delta(p,1,X)=\{(p,\in)\}$
- $\delta(p,0,Z_{0})=\{(q,Z_{0})\}$