No A B C 4. Consider the following PDAs. Match them with the suitable definition of the languages and grammars. Write your answer in the blank column of the table below: Matched PDA Matched PDA Pushdown Automata Language Grammar (No.) (No.) (a,ɛ/X) (b,X/ɛ) (c,ɛ/E) S→ as | aB L = anbmc | n > 0, m >= 0 B→ bBc | A qo (a,ɛ/X) (c,X/ɛ) SAB L = amb c | n >= 0, m> 0 A → aAb | ab BcB | C qo L = a b cm | n, m > 0 S→ aSc | aBc B→ bB | A (b,X/E) (ɛ,ɛ/E) (a,ɛ/ɛ) 91 (c,ɛ/E) (b,ɛ/ɛ) 91 (c,X/E). (a,ɛ/ɛ) $(6.2/6), (b,ɛ/X) (E,ɛ/E) (c,X/ɛ)

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter12: Adding Functionality To Your Classes
Section12.5: Virtual Functions
Problem 5E
icon
Related questions
Question
No
4.
Consider the following PDAs. Match them with the suitable definition of the
languages and grammars. Write your answer in the blank column of the table below:
Matched
PDA
Matched
PDA
Pushdown Automata
Language
Grammar
(No.)
(No.)
(a,ɛ/X)
(b,X/ɛ) (c,ɛ/ɛ)
L = anbmc | n > 0, m >= 0
SaS | aB
BbBc | A
(c,ɛ/ɛ)
go
91
92
(a,ɛ/X)
(c,X/ɛ)
S→ AB
L = ambncn | n >= 0, m > 0
A → aAb | ab
B→ CB | C
L = a b cm | n, m > 0
SaSc | aBc
B→ bB | A
(b,X/ɛ)
8
qo
9⁰
(ɛ,ɛ/ɛ)
(a,ɛ/ɛ)
(b,ɛ/ɛ)
91
(a,ɛ/ɛ)
91
(c,X/ɛ),
(ε,ɛ/ε)
(b,ɛ/X)
92
(ε,ɛ/E)
(c,X/ɛ)
93
Transcribed Image Text:No 4. Consider the following PDAs. Match them with the suitable definition of the languages and grammars. Write your answer in the blank column of the table below: Matched PDA Matched PDA Pushdown Automata Language Grammar (No.) (No.) (a,ɛ/X) (b,X/ɛ) (c,ɛ/ɛ) L = anbmc | n > 0, m >= 0 SaS | aB BbBc | A (c,ɛ/ɛ) go 91 92 (a,ɛ/X) (c,X/ɛ) S→ AB L = ambncn | n >= 0, m > 0 A → aAb | ab B→ CB | C L = a b cm | n, m > 0 SaSc | aBc B→ bB | A (b,X/ɛ) 8 qo 9⁰ (ɛ,ɛ/ɛ) (a,ɛ/ɛ) (b,ɛ/ɛ) 91 (a,ɛ/ɛ) 91 (c,X/ɛ), (ε,ɛ/ε) (b,ɛ/X) 92 (ε,ɛ/E) (c,X/ɛ) 93
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Intelligent Machines
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr