b,b b,X push(b)' push(b) X a,a a,X push(a)' push(a) a, X push(a) b, a pop a, b pop b,X push(b) a, b pop 1 3 b, a pop b, a b, X a, a pop 'push(b) 'push(a) A, X nop A, X nop a, b a, X b, b pop' push(a) 'push(b) 2 X b, a pop a,a ax push(a)' push(a) 1 А,Х nop Fig. 1 b, a pop А, Х nop 2 X b,b b,X push(b)' push(b) 0 a, b pop A, X nop 3 Fig. 2 A,X nop a, b pop 2

Enhanced Discovering Computers 2017 (Shelly Cashman Series) (MindTap Course List)
1st Edition
ISBN:9781305657458
Author:Misty E. Vermaat, Susan L. Sebok, Steven M. Freund, Mark Frydenberg, Jennifer T. Campbell
Publisher:Misty E. Vermaat, Susan L. Sebok, Steven M. Freund, Mark Frydenberg, Jennifer T. Campbell
Chapter7: Input And Output: Extending Capabilities Of Computers And Mobile Devices
Section: Chapter Questions
Problem 5MC
icon
Related questions
Question

1a. The language accepted by the final-state PDA shown in Fig. 1 below is:

1b. The language accepted by the final-state PDA shown in Fig. 2 below is:

1c. The language accepted by the following final-state PDA is:

b,b
b,X
push(b)' push(b)
X
a,a
a,X
push(a)' push(a)
a, X
push(a)
b, a
pop
a, b
pop
b,X
push(b)
a, b
pop
1
3
b, a
pop
b, a
b, X
a, a
pop 'push(b) 'push(a)
A, X
nop
A, X
nop
a, b
a, X
b, b
pop' push(a) 'push(b)
2
Transcribed Image Text:b,b b,X push(b)' push(b) X a,a a,X push(a)' push(a) a, X push(a) b, a pop a, b pop b,X push(b) a, b pop 1 3 b, a pop b, a b, X a, a pop 'push(b) 'push(a) A, X nop A, X nop a, b a, X b, b pop' push(a) 'push(b) 2
X
b, a
pop
a,a
ax
push(a)' push(a)
1
А,Х
nop
Fig. 1
b, a
pop
А, Х
nop
2
X
b,b
b,X
push(b)' push(b)
0
a, b
pop
A, X
nop
3
Fig. 2
A,X
nop
a, b
pop
2
Transcribed Image Text:X b, a pop a,a ax push(a)' push(a) 1 А,Х nop Fig. 1 b, a pop А, Х nop 2 X b,b b,X push(b)' push(b) 0 a, b pop A, X nop 3 Fig. 2 A,X nop a, b pop 2
Expert Solution
steps

Step by step

Solved in 1 steps

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Enhanced Discovering Computers 2017 (Shelly Cashm…
Enhanced Discovering Computers 2017 (Shelly Cashm…
Computer Science
ISBN:
9781305657458
Author:
Misty E. Vermaat, Susan L. Sebok, Steven M. Freund, Mark Frydenberg, Jennifer T. Campbell
Publisher:
Cengage Learning