Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Problem 3 [ 1 5 points ] Consider the PDA M = ( Q = { q , p , r , t } ,

Problem 3[15 points]
Consider the PDA M=(Q={q,p,r,t},={0,1},={$,x},,q0=t,F={r}) with start
state t, accepting state set {r}, and the following transition function:
(t,,)={(q,$)}
(q,0,)={(q,x)}
(q,1,)={(q,),(p,)}
(p,1,x)={(p,)}
(p,,$)={(r,)}
All other triples are mapped by to O?.
a.[7 points] Give all the computations of the PDA on input 0110.
Show each computation in the form (q0,s0)-w1(q1,s1)-w2(q2,s2)-w3dots,
where qiinQ is the state in step i,siin** is the stack in step i(thus s0=), and wi is the
input symbol read at step i(if any) or . Include both the computations that read the
whole input as well as those that die (get stuck) before reading the whole input.
Is 0110 in the language L(M) of M?
Is 011 in L(M)?
b.[8 points] Describe in English the language L(M). Justify your answer.Ask chegg professional
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

Does it have correct contact information?

Answered: 1 week ago