

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
2008-2009 yılındaki ödev5 çözümleri
Typology: Study Guides, Projects, Research
1 / 2
This page cannot be seen from the preview
Don't miss anything!
K = { q 0 , q 1 , f }, = {a, b}, Γ = {a, b, c}, F = { f } Δ = {[( q 0 , Λ, Λ ), (q 1 , c)], [(q 1 , a, c ), (q 1 , ac)], [(q 1 , a, a ), (q 1 , aa)], [(q 1 , b, c), (q 1 , bc)], [(q 1 , b, b), (q 1 , bb)], [(q 1 , a, b), (q 1 , Λ)], [(q 1 , b, a), (q 1 , Λ)], [(q 1 , Λ, b), (f, Λ)]}
Gramer üretim kuralları:
S aSb |bSa | bS | Sb | b
S aSB | Λ B bb | b Bu dili tanıyan PDA’nın tanımı: M = ( K , , Γ, Δ, s , F ) K = { q0 , q1, q2, q3 }, = { a , b }, Γ = { a }, F = {q2, q3 } Δ = { [(q0, Λ, Λ), (q3, Λ)], [(q0, a, Λ), (q1, a)], [(q0, a, Λ), (q0, a)], [(q0, b, a), (q2, Λ)], [(q1, Λ, Λ), (q0, a)], [(q2, b, a), (q2, Λ)]}
b) (^) Durum Katar Yığın q0 aabbbb Λ q1 abbbb a q0 abbbb aa q1 bbbb aaa q0 bbbb aaaa q2 bbb aaa q2 bb aa q2 b a q2 Λ Λ
Durum Katar Yığın q0 aabbb Λ q1 abbb a q0 abbb aa q0 bbb aaa q2 bb aa q2 b a q2 Λ Λ
Final durum: h
4 ) (q0,a) (q1,R) (q0,b) (q1,R) (q1,a) (q3,L) (q1,b) (q4,L) (q1,#) (q2,L) (q2,a) (h,#) (q2,b) (h,#)
(q3,a) (q5,a) (q3,b) (q5,a) (q4,a) (q5,b) (q4,b) (q5,b) (q5,a) (q0,R) (q5,b) (q0,R)