0% found this document useful (0 votes)
5 views

TOC Written Notes Part-1

The document discusses constructing minimal deterministic finite automata (DFA) that accept specific patterns of strings over a given alphabet. It outlines various conditions for these strings, such as divisibility by certain numbers and specific starting and ending symbols. The document also includes examples and constraints for the construction of these automata.

Uploaded by

Dhruv Khant
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
5 views

TOC Written Notes Part-1

The document discusses constructing minimal deterministic finite automata (DFA) that accept specific patterns of strings over a given alphabet. It outlines various conditions for these strings, such as divisibility by certain numbers and specific starting and ending symbols. The document also includes examples and constraints for the construction of these automata.

Uploaded by

Dhruv Khant
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 32
} Censisucte oO ‘pra (Anat lace cer y all alvings oven ls ia ab ba bb? Length ¢) the Shing. quuecttona Gis Piece dace = a S = Arlo p_faibl ' ) Pinan nner i q ; B08 more, 12 Constouct_ a DEN, that cteceyie a Sings oven Sau}, ok where Whee, . -| ue Ca NIG Loins 4 120007 £ Ls Tasch abl, aaa, ib es Fo [ 5 4 jl al OSG SJE ge ‘\ab) Cob) Co > * || y LeDEAI hat? accep Sab) wtwlelg dowaiei ts [Le LT Srenb, aan ab, bai 6 JOO O=oP _ {| mMenimol DEA - L= many DFAS but iG ort gentale een one Luol = wl > ‘ \wlen nie. gishae Ce at (eH) shapes (o+2) K Construck a inintno Dea ea Hal Lot meds =0 =fe, aay ab, ba bh, aaaa, ~abba, Esaae web | | r SOO Oa Os : ye | {| SAY a Cictinguich -betwem (even lengh and.odd tegf, + | o Bro P a iet a APD a ir Tab 6 Tol med 2 = ab bo 0) EParb4* wl mod B, =O | [t= =P es aaa; ahes abby b baa, bob , SQ OO ra t = tol 2 t mod 8 or wot mad ge 1 iP a a ae PF i ino. Oterea ts eguot to Sn" j Tem 5 TATA Sy 1 Restjctine on\ a ons a mintma) pen We tab} Le faa, baa, aba, abba, bbaas - nate Q i bee Te ras I | # Mot) 4 2 LeT eA: aay 6, Ob, obb, aobby vse 1 - | ae 5 5 ab SBS om Oras - Taxs "Za = i | we Zarby* whee no. J) ait even, 4 | oF mo yn =o Or T rm nate) =o wed Z- ~ f) Cu 8) | Wy, Ap 4 natwimod 2 =! T || Bee 12 édarbh cohere 7a med 3=0 | =A ees tia ( ge | A_|| CDEAR esawyt nati) Zo mod 2 . ' 0 & 5 wo ! 5 astm rytw) 22 mo to ~~ | _ a nO Aetho dL Ce Peapwer Meno) i 11) ) a a = Aa 8 - (AC is ee i, ib Kb Ay *& = 7 5 pe a x p ce ~ 1 r | AD ap AP | r ON Shing over Faib% fn which number a ais ase diviide by 3 and no. 3. bs ove aWhicible by 2. - KK Gonstruck @ minimod OFA cohich aemphs ser 6) ‘- his \_ | | nvaes) =0 moa a9 gL SS 7 tw) = = 0 mod $._ tr aaabb \ C02 10% > 30.206 A [eb = Gee ==@) G2) a a Lb 5 ie ES Rata) vted BDA Ct6) mod B We = P10, 20, 21-12 i Ido , | Cc iL | 2 { : * | ngtw) mod 3 = oe tw) ned 2 al ES PT 1 j AE he A a mle), 10: = =D GCondtuet DPA wWetabys NaloJTO med 3 Ny (oF 0 mod 3 SGD = Bip TT, £s- teal Cpa | Ot is 1 Tel? med 3 PIN Co) modo! ~ 740,29 321 4790 ( pe t Q a 1 sf <= , Pop he c= aie | 2 _ ( SS ck G Nckeuele a winima) DEA, hier Qceqrks se Q all Seimge ove 40.62 py white ae ae . : aaa iag ther intrepsded a Lnay mento aan, LO : Vv (7) = Y | MIM 55 fooo) 20 | a | Toys CoF)io 6.000 (581604 Hf (oor) PZ jagps 8a Loot — | nee ey 13 Few A Cis -(-S4 6 ¢ ee! | 1 4 eed _ 4 Biv 3 Kdeas sth 7h y ! \ | D2 : St +—+ bi oH 421 Fo 4 4s | Construct o minimed DPA eshieh acosp SEO a Rtrings over Foi! 4 eohich when ¥nterfreteal ‘as oy no. A'vitible by a Alen dea Shote Trancition, % df qo 4a | 4, Fa # | Conceuct a minima) Dea cohich Swings over 011,24. cohol! when” inkasprekd, af | cape Set wr a) e | aan, sino, davici ble “t 4. = a | ‘ [ot 2 be G V2 9 | Fy Gon G\ Ga} Ge) Jor Goi? ony vod gos _ Go| 4 4a Vo ; xt 1 2 2D aad ed op ot =] tes [=Z Ou, 29, (2) Poe 3, NX i 22 fom oo a Sees iz Byatt een felipe alla 9X98) - C42 - & Lait | ay q ° a Pic AS AAAS | | |} RK Contbuot ¢ a minimal. Dra. fie a oy asa. bf. “a =} " ie \ | v b r x e Ps ak Concha a_minimel pe A which aceepk $9 all | a ove, fob whee Cach Shing, Csnbins val 4 “thay ab Bagi te soc =i a ©) —_ ¥ = = . ae mnie a crhuch Coseapls SetS) al Slings ends with leni!g! oe | —k Ponchuct Q DRA | eshvel Bau aerQ Dial rings over ab which Confaine la), ZB bs fab, aab, aba, bab, . === = & | Ending, wrth, Wogn = =5 [=F cb, aah, bab, “bab. =b= se os | = xf | & |. Stoths with ‘a "ond ods wm I u wy anteet l "eso aa 100 oy: =H poh ate 7 [Eb = Labioab, aby. a QQ —b b Sa i Ls Zab, be, aababb,--.. fo ~ ~\. ~p. Os, ~ 4 B.- 8 ): : a & etsy 2heo bao | a agiey atiest i Fc Stealing and erdtug with same ¢ymbo 4d E. | Ena CSS f | ab ad : =} —O: Cet cak em eto eaten! Ht & Le =i Coane San i % | AV Te ; i — { LA d a] : ; { o [sg \ hy GIA > | ] 1 ri | 7 =a 7 = ale | \ at ob | 7 7 7 | | | | ‘ | l 1 H 1 aa d l = AI; || i Daf WA P I) 2 5 Tain f= ( | | pat : i Ca Dard a} * ¥ 1/7 3 \ A 7 ny y ( i | [C253 ey (mA) A = ( Wisk ? i LAG = r J 4 TADAL | Ca,a)3 U (4ia)2 = fs $s.ad Ja | fohufak Bex} | . 2 Pot = ST OMS Came Sead ye dcp Jy AR an) lnum C wonton (jrom Nea to DPA ob A Qteange Geating, OW al, Cage a Orb Elaa) =iawt SAD IS7K ; B(A.b)” = Tay ; 3 Qaegay= 3 Giadu alta.) BO Raw pelea) eB aSUETA = FAB ey 2 FAB Cy {| a) GA Bch bt =F C4.b 0 §UB,b) vse) SCab) vu &Us.b) Avie “4 5 Ga See = Fact =| “(2 “all [abi VBA which Leon 84 rbd - feo Rue ja Ti \ j ial ors y C Y Ee = are AS =a. 3) of Symbo| mm Rue i “at x7 (arb Ankit Sj : ci bf Ob pe ‘a oe 0) — Sut for nee St for DPA ab aE Axl poh At PsP P of | Tap aPaf"l al [PPI feo. | ond VOY sear FS - Wa (al aa ae : bet eF, X LY. = BG) ss i rh sallloaals “6 wrth [Pana > f= Gl EF: - (wl =o, © egutveleut \wol=t, | gu Fval eut- {wl =o, 2 owival eat \ lel =n, eguivalent f I & be ) | — on, Qn Qs". ufo Tg Qa te ie | | a. “< ‘ | eo a 6 2 ntl ext | 9 Rea) Otelre maak ale ple | BEE A | na oh Pati (4o,@_27 4 G3) 44 28 : wee | (4, ,b) + © | aek Gyre «nn = @ be do FF, Hh Vs CY Gower g Mane Wadi -t) Count pe: Bit a 2 re yo ie Ss Go { 2 o) Fon2) 3 B—> 6 Cone (rg “So —q Se I ei e Gt [i e* ce & qi tee e— 6 —p Om I cor | Lo ° Keouley EX preior (it) 2atabt f I , [Er = Tengin all String Sooty 2 i Tenge 3 [b> { 00, ab, ba, bb} foc [= aa tebtba +b Cote) (ote) Cato) = alate) +b(a) = (a+b) (ato) "9 @&. Lhe bea, 0d bet bby ae | ReguloA_ tx lengih is atleast 2. iL: 700, ob ba, bb, nba. aN : (a+5) Corb) Cath)* ©) Atmos ee Z J+ fre, b ak ob boaytole } Cotta) — 40+6-Herb>) oe a thtaatab Heth (4) F = eaby = even length Chingy Ls fe, aa, a, bog aaah. (Cath) Core) 4 (8) odd length Shines ( Cass ya} Care) > tore Keeway 6 fest lexghn divicible by 3. 03,4412, we bedincg 5 (Cas) Cassi (ath * (@). Shing LET wid Be oe L med 3 (Carb3 Cowal Sreaatat ee (s)7 2 Rae} Shings jn whur ‘al peas _enaaily Sy). T => _ ho ror = (a) Shige “olen allen 2 | bt a b¥a Cathy ny (fo) No. alo ore atmos} 2 Ir | prea (aae fy) No. Q of axe eve, 1 (Ue ob ery g* ts OBR iw bab (CB) Sak with So! Se OC out JF Tey Crd ciraca! Catb)* (54a) 1 (@) | Coatetning Sa! Catto)* a (ato)*® Cl 5) | Starting LBndmg corn Hl fp rane Symbols a (a tb + blareyra ~~ Tee Keith Same | Symbols Ot ot ) L = fea, b) Ga, bb, tha, bob... id 4 [a larpyra FB GB b + (ante 7h < . pio : t ple Dali Come decetnA_/ ‘oo! os subs bing. TT fe Fab bba, 4b) a be lebbo, abab ba, bab, boob, baba-- I | Buidivs block = by ob o& ba f K af t (Brob) +(b tob) II Tete as yt l fs) Wo LAS and no 9 pe shoutd Come [Oget her = Leak alo, a, aba, bap, ~~ == t Claris wih’ a tl Giaba, ohaba. ba Q Capjat ox a* (bolt 2a8, abe, Ababa} 6 Cab) or a.(bath ba, bebaba...§ bh a@__Cba)* en chop b bib, fokab, fb b Bh oA | - bab oppo + ny 4 bloska sflabt & (ot Core) thon hte) od eres) (Ce +5) Copy Cate)) -— R= e+ gR o i

You might also like