Given the PDA 𝑀 = ({𝑞1, 𝑞2}, {0, 1}, {#, 𝐵, 𝐺}, Ξ”, 𝑞1, #, βˆ…) (empty-cell

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

Given the PDA 𝑀 = ({𝑞1, 𝑞2}, {0, 1}, {#, 𝐵, 𝐺}, Ξ”, 𝑞1, #, βˆ…) (empty-cell

Post by answerhappygod »

Given the PDA 𝑀 = ({π‘ž1, π‘ž2}, {0, 1}, {#, 𝐡, 𝐺}, Ξ”, π‘ž1, #, βˆ…)
(empty-cell acceptors) with the following transition table for
Ξ”:
 1
1 (15.96 KiB) Viewed 12 times
Let 𝑀 = 001100 ∈ 𝐿(𝑀). A configuration sequence of 𝑀 that
recognizes 𝑀 is: (π‘ž1, 001100, #) β†’ (π‘ž1, 01100, 𝐡#) β†’ (π‘ž1, 1100,
𝐡𝐡#) β†’ (π‘ž1, 100, 𝐺𝐡𝐡#) β†’(π‘ž2, 00, 𝐡𝐡#)
β†’ (π‘ž2, 0, 𝐡#) β†’ (π‘ž2, πœ€, #) β†’ (π‘ž2, πœ€, πœ€) β†’ accepted
Find two other configuration sequences (not necessarily
accepting)
Describe the language that 𝑀 accepts.
Find a grammar that generates this language.
A(91,0, #) = {(9₁, B#} A(9₁,1, #) = {(91, G#} A(91,0, B) = {(91, BB), (92, €)} A(91, 0, G) = {(9₁, BG)} A(91,1,B) = {(q1, GB)) A(91,1,G) = {(9₁, GG), (92, €)} A(92,0, B) = {(92, €)} A(92,1,G) = {(92, €)} A(q₁, E, #) = {(92, Ξ΅)} A(92, E, #) = {(92, €)}
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply