0% found this document useful (0 votes)
14 views13 pages

TCS examples

Theoretical Computer Science MU sem 5 numericals

Uploaded by

Sandesh Lande
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
14 views13 pages

TCS examples

Theoretical Computer Science MU sem 5 numericals

Uploaded by

Sandesh Lande
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 13
ue % % % smmeee® — Aselgnment No 04 4 2 a azolaze , . | b z6| bzo \ 12 arog er ‘0 T\bib Lb b sala, ba. | ba. CeRGR 4 ; [- @blab ww) aale bible “The PDA accepting thes aj hti Lstate. is given by m{tq ong forbc3- fab 34.90, Xo, f4,5°) ubhewe hansi#ion functinn awe qlven belous : >. d (go, azo = (go.a) , |g taeb, zor = Cqn.b) d(go,a.a) = (go.0) =| d too, bib) = Cqo,b) Atoo,o,b) = (ao,a) 2 dtgoC:a) = Caio) —d_t9ocrh} = Cg, .b) dtge, tized = (qi, 70) dtq,a,o) = (q,,€) ACa, bib) = Cg } 2fa.,¢,20) = Cor, za) Page No. as ¥ % % See G2 ive PoA to accept th lang 9 1. the nk ey Stack 2+ “theongh Anal orate Date : _ Legoni™ [nm Le fory™ |néemy A) “Trnough empty shack = = TIOTE Te Tze = TLole NY Sr zel€ wi 01 Zo | OZ O10l|00 Pp = = | i function. glven held blqo,0.%0) = (q0,0 : dCqo, 0,0) = (qn,0) d{qo,1.01 + (ga,¢) (a, 110) (q.,6) Z dla, iz) = (qi Zo) d ta. 6.20) Cai, €) Page no su Re mm QW“. <—- ty sore eal, Date: ___ BR) Thasygh Final. chote - \ sol € 11Z0| Zo ole wv €)Z0 |xo Lae 0 U 01 Zo] Oz O10 loo |e C PDA cccepting through final. atate I given by Meliqn. di gay folp. fort zoy di Qo, xo. (9 4) TYronsitfon Pincttan ¢ given belod:- 2lgo,c.z0) = a} 2 = Ca, dloo, 1,0) = Cae, e) -& A lge,1.0) = C4 (gi, Zo) = Cqi,Z0) @(@, 6,20) = Cqr,20) 5 Even palinelecoon es Dy Fagen MAS gesasq24 “Tronsitlan function g given hele Tita a,20} = Cas, 0) | 2 cgo,trz01 = Cant) iq O,0) = Cas,0), (a6) B45, 01) ~ Go, ot) dtgo.mt) = (qa 1), Cai, e) Page No he ms Say s Date = 210, 110° (go .1) tq d= tqie) dtait} = Cae) fdta e, za) = (q2,Zo) 0-4 | Weile og note on} king of PDA it) MPDAL — | Tnformalty pasha oulomake conke Viewed. os finike ourtooals © With stack An odded ctads provides. ini 1 incvenges the capability of athe. machin A pusha, whomaly do the fallowin, 4. Rood inpuk qymbal 2+ Perform olack opeaatians . + 2:1 Push operat 2 Pi Hon +3 Check ply oonditian a 9 al ck Hy 24h n_inttal Slack yinbal 4 R Symbol cf clack without a pap: 18. Make state change £&. POA ic mene prwertul than FA. A cont t= free language CEL) oon be nized hyo. PDA: Onl ubas af C&L that ave reqyl one can et he «Scopnized” by Finite ailtamaka vw g t NY NeDA — zm NeDA peroxides non -deleaministic Pushdown automata i e ja onl 7 inne of NPDA there could he multiple Maven under a silo lon ii) DPDA jp | pote ful than NPpA. context free. Lan, 2. -O-DPDA oan arrept lies, in between lang nd cel A palindwame: con he acreptede by PDA‘ bur it con not be Aovepted by a neo) Pagans wy ¥ % QE Aovignnent No. 05 Date: _ GA} Faxplai jin £ turning machine > |) oy infinite dinning na.chine — ar anda: a. tunning wine. pumloect OF iitans For leftmost honk is nd they one included. in Inalantoss deacriphiad. reve the, wight -hond blanks ace pot includes - “Th the Infinite tysning machine ,thowe jp. an _infiolt equence, of blanks on ench of the ingub abing Th 0 instantaneous ty a iption there blanka ove never shown. *) A turning machin wlth multiple henda ~ A-Aunning machine, with dlngle tap: hove multiple hedda. lobub conside: Jurning machine tith two heads Hand ne. Coch head ts mnpable of pexforming and honit-e [mous op wian [Ndependentiy | Hohoobho BRR 4 4 Wr, We itv 2. ed ae con be Acfined as given bel : (tate qymbol undesc Hs Symbol una we) = CN jade (3,0) 4 oo Me) . “Taped: BELLST Rae Te=1 “Yape_2 slolalejalblalejel= Date :__ by RE o(on)* opt wn language. A Shep 2 s “Tr fooe the DEA oR 1 WR otek Ey TR TTR <= Olo1R Hox glen in abs 2 R= Blok siymb Symbol fox day Page No PRO NO <—- nee Date: 7h? [nel Designo D4 hich. a cm ge sthe Form a" bh ~Frontittim dig = wlye stb wales R_ LW. eTa TR ply Rg ste oe W— 2) _— Iz.L XK, Ro yyiR SOD zizit blb, & T gyec ‘ alan © Or aig tr le R FRnositien tote a b & 4 4 8 24 quang) = et gap) 5 - qr} Cana ®) (qos) ~ (a. uk) = ge | = (qa, 8) (gs.z,8) © = q22.8) ga | (qz.aiiqs be) = qo a8 quiyit) (qa.2) A —— = = (gay R)tquzi8) (q2.8.01) ao | qs ga 9s qs gs 7 “The tuning machine, Mia given h rail (as. 2.90 8sF) shy Sfgodi.q2, 43, qu, a. T= Sash ct J t Ts bier diye RY @ = Saba 2+ Intial ater Page No. § = Blank aymbal Ee 2. Halting aint T4443 ¢ tvoe tha aa fhe left -meoi ' 9° i ed tt ew’ $ ' anc ibis ch Shown bel: be §@0C)4O “Tape. By are ByaxjOR gt £)8 Bxy OB BR ‘8, sitity, We, WZ WM INDALA Date: “The. Tinaing ine, mi Gen by ™M a Fie. ge, BF) Where Qs S$ qs a..q2,934 AL 1 c 5 83 d Givenin Squre 9 ‘Tntial Otare Blanis ymbs | haling ctobe ¢

You might also like