Professional Documents
Culture Documents
FLAT UNIT-4 Problems-1
FLAT UNIT-4 Problems-1
eventhough skacl 1 nol empty, aber” 4 Canning fp St0g,. 4h bee tintte control tacks Is tee fil state en 1 acca tent ag Othawite rnot Aaccoptect . =Conversion % CFG to PPA wt Gee (MrT. Pr Se Be OEP ly Slack congtomer ppp accants bY a : ral fo tepies: 9 bees a P-( a, 2, , 6b, 2) PDO = Koo 7, voT. 6, 9,8 ( 12 ooo sya 4 ory e2 CEG 5) al each ae 8Ca, €.AD CORED ne azaleliot PS 2) bon ape Eexrareal 2(p.a.00 = Coa)oct pepe for the ollewing Guammat ie [he cfolfouing Grr am na cen guict RDA for 62 (L808, Sa,b}, PS) Pra SAA a . A»>snlb 4 P L193, {asd (80-eOL 2a) 34, e589 = fce,An), ca, 2j ee) ) * ica, sa), C4, £9} 3 (9,a,0 >£%e)- ee 8 C4, bb = (9,6) pote 7 (4% abbatb, 8) }— (4, abbabs, AA) IE (4,4 bb bbb, san) J (4, apbasbans) J (1, bbabh- 48) L (4, pbabb, ba) IK (4, babb. D I~ (4, pabh SPD: L- (4, babb. pp) [ (9, bab» bAB>-(4,ubb, ap) L C9, wb, enn? ~ (4, abb, abh) LL (4, bb, AA) EL (2, 6b, b8) L (4, 6-4) I (4, b>) b- (4, 6 €) See: ig abo Congura4 erp ly. 5 the Alp stonDiferences betcoreery PPPA and NPDA: a | an >< DPDA Coetewnantic PRAY te Lt 16 tess powentur I. than NPDA 2°t 15 possible to comet every DPPA to A Cosresponding NPDA- OMe language accepied by OPDA ts the 6ubset Of the tonguaje accepted by NPDA tithe language accepted | by ©PDA is cated OcFL COctermenigtrc Context FEE language) cohich 16 a Gubset 1 OF NCFL Non delermnigttc | Corkext tree tanguage) aceped | by Neon: | & Fon every input coith the | Cument Gtate there 16 Oly One move Mz (Q,E,0) 221 F/6) 6+ OKExT— exer Ex. @-® Ex Wew® la. Tas not possible £0 NPDA CNon-DeterrrtIntisic PDA) HL 18 move powerful! than pPDA- ' Convert every NpDA is A Conesponding OPDA 3 the language accepted by NPDA is noba Gubset of the language accepted by DPDA: u.the language aceepted by nepa is coed NCFL CNon deterministic Context free language): S For eveny Inpre Sth Ccunent state coe CAD have muitipie moves Me(G,E 1, 9012 1F18) Pi * bt @x(svEyer exh