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

TOC RGPV Unit 3 Notes

Theory of Computation

Uploaded by

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

TOC RGPV Unit 3 Notes

Theory of Computation

Uploaded by

Deepak Kumar
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 44
tt - or ___ Garammers | Creamer: Age mM ey a sof ot of Pre feng cules wrhich ane I 1 & ia 8 a S| ted to. Golete. Strbrs Sof a sengeea her lef ge i by abba a at Con lice? Link i ecteh Lichweal d mnenatebey = eee , Eke Generel focgappe Mind. Frgtist ebe | Popp lampuage = tH, Java ete | some pl wi = ‘Scanned with CamScanner Me Wen exaphy Set larnebles oe Sen= terminal TY 3. repre + — | Foure ‘Nz $A, ¢ De 2 | Pe men Set of a are — Or ghee form, ee Fal. T= 72 be--- O12 = fea $ A ‘Scanned wih CamScanner ( Goodtuck [Pasa = [os _ 2 men. Ee ply Beh oF Prdabin aie Static Prvebacbin Vactable Ex: S— ablbA | 42 A@Blasifg s— Ba baAlbal ke ff | va $s), 83 : —_ 4 eee Sab?” . ae | pa Sabla . a | A ABBlasly B=» baa |be/b - H =—S ( “Ty pes of : g ae | = Av ctype of getmmer — 7 Pe QMo karen as = 7 me (UG! ps6) ti a 2 ———a snacking _ + ol, < pelo). Ff At lordai - p OD): Tai a ‘Scanned wih CamScanner Goodluck | Dat Papen, pln Elenite fr a | ) | Loy | e - ee vet ot SE — ; a | 2. pe CvtTE C eo im _atleasl one AT ~ b— —Eeniplsg 17 Azaglé = Blé — _ahb> be — | 4A 28082. é_ ge _ A> & \ — ~~ (gee C= - - | We Js lle. Kmecon OS Carters | f Sorditive gvonrmen C&G). | £ o| PEs accept LBA_Lhinea bounded | [ Qqutornata ) ee a _| i o| Ary grremmmern fs een i 0 prccluthien Poo big e [Paes Px, | | —— als 4 Condition . fof Lai A) Mg "CVF TR ee 8) _Bé (vrTDt a 8) Aé€év? om 4 4) {Lng} < [Rus | 4 [x] _ < |g (dept of o) 2 (Uegtef)~ ‘Scanned wih CamScanner | { GoodLuck | Pagetto, | Ss 0 Cae j Type @) TL Halse Knoum as Contont gsm). = o Ss CFG SP Gt Gordato ___ A= BI I a Z _ [ese cere ny, : Me Varseble a - — a) BE CvtT* non terminal, TE one rane Ferniad Procluce ary LL Velue Ctoeminatl YC men-termindl) + | kereuern as CFG. . - : Ear Er E4T/T ‘ f = re Te TRE) F te _ |e ED ef — ‘Scanned wih CemScanner — i } H CF, wie ec acceplec of by a lows on atakng | CRPPAD.— CEG Lis Used fa Paes Constuation 5 2 Ceneples—clesipec. pela et (Es 6 ven pe 2) 8 alooys typeco) be ; se TE mot. ge eye) Ww Type (3) t- — a TL we accepled bs Prvite automate = ep flee pein | i ° | Ths gacomme Js Leet in Sexical al Every type (30 eetrre ta Licey [teed altura Pate | Az ba Chet Lrenr) | SF AaB Eipad sea) ‘ | | Axd,~« iat - | A 2 ba ae Rgpelo Femme. Tf if “Thene fs 70 middle LPnegy 3 Sb X -+— oe a — ‘Scanned wih CamScanner atleast Sipyle non-tmir BE (ver )*® 22heY Fon. aren = erepty (edt) Vé (uit Heaps. oF L+H E Mot LLoucy QAbL—> bb mot allowey | Do aA bbb ee C if A Ab agage “Giz (MT Ps) : ; ab _ V2 $5, 8} Tz $0.65 ‘Scanned wih CamScanner S—»QakeBe : : S 2 aabBbec sbeJ —~S>.aabbee 6 peo bed_ be lagnoge pereabed by gramme is UGV= faBO)nzipo | Condent- Broo srommey +. oe pe 2 Psor men s TS Confent- eAb —__4 > Riptt- onbck of A OF Ab free of- Cardo Srobe_. k ‘ 5 Qe RE (pe tae reg vl ‘Scanned wih CamScanner I —=— ~ if tee — Begrple $2 sAs [_ gop & _ | Qs—~ bx — 1 epey prhl Bi Grtet fice t— aa GEC) palit Ls a by puso — automata CPDA). if ___ftorple Crrmamtsa__Crz $1, T P. Si — — | Pane. ash r | ah f= ¥S} [ — Ne fs [ L — : Te 30,5 Derivation S$> ash > aabk [s-rad7 Le Sdabh. Qaq.bbh---- — ash _ agqgsbk [s2as47 —2 Gaabbh (3 >akT7 Ltrs F071” 1g ‘Scanned wih CemScanner GoodLuck | Spoof Eze /T - _ _f 7 pr aR / jor ua H F-—2 ce) la. J . _§ Go = (NT, PS) — S lve Ser rp — Te S+ HCV ap _ f [Es int Bel Safe) Fl Derivation spree f- - { the Protest s_f clenivig _ 1. @_shigg, 11 called cy oleabvatier, a _ or __ lep_by lee _clerivatien_poreess Cam he ___. __——.enprecited by a tee StreBune _eohich zt _kyrown ay Clerivetion bee _ | 7 l iS) : 7 t SS - i A ‘B } ub wv a b. | Fee tree/ dlerivecion -bree = — j 7 at 1 He peemebritacl |) A derehion tree Siler deve reprerrdedion — — op a CFAs _ - ‘Scanned with CamScanner | Ph PE tree, Tastee ane tablegy _ [ects tte. opt Bicles_ oP Proce Fiee, as g ZR bre ehildeen of a recte_ pate fy a a Side oF [rieclischien aa ‘Scanned with CemScanner ——_ het as Consider 0. ae i022 ooll |. ine | aD - : Ly 7 = i a S>AB 2 | -OAB (wing A oA ) i OOR (US AZO) i i S$ 601g ( wiG A> 18) | S> ooltR (use R218) Se oottl Cis 8: 1) km —4 | > AB _ E | wi >= - B —_ iS t o 4B | S> Alll CuwrF Rot) a 1 CAL (UY A> OA) g tT IL > ool (CuigA 2c) + Accept = fry Shag ae eiceapted bs ae “gpenmames J) nails Ap fasted do goes “alle feSoolace— te Stig Cratty. a ~~ - = = ‘Scanned wih CamScanner Vised by. by: fs cown __Cbeltomup parser Parser) ces pierce km) ae rer er OE — Se CA e) Bt Fd ea a See ‘Scanned wih CamScanner Acree pudty Zt ary Shag wil be tef by @ Jrommen in. fore than one woys dken Som ectfines Fp ae Pessioe to_get error -tton me difpoert Aeriiveticon free fer tee Sioyle _SrFe9—_by yor Jerr. deen Such, PAM ED Cue _Arnbs GI9IMA & Per at Fo Frey ity T a Fer_acekigue prone, LID £ RM em bare Aipferert fase. freer pep. Consider de fallen, Goornrcn _ spre [ERE | iol. faput Ship oso Sh th RA ] | tl £0 - a Ta E> EtE_ pee Stee _ 2a tdt£ Cvs £2 so) Es. +td+ ERE Ce 2 EXE) Eo f¢dtsdkeE Ce DIS) 2 Slt thrid C digerie) RMD. : veh E> ERE. ne £2 £xtd. (wig Lord) £2 Etre xis (uly es Ere £2 Etsdxad ( ae, £2 &dt AAR iat Jor ‘Scanned with CamScanner | ES — aT a Ex £ — _ EOE TH — | | I - — ged Pol Sh sd : wa Pare eee Gey ___ fanse tree 2 Sor 5h P — iL ieee ie i et AK Sof dF ol BPrece gritvenn mamer 8 Ombiguors henry | HtereYane ay aA A reas. Gasp ——+} ace Aoput St ll CEG rey Conuict af Some extre ¢ Gyrke ere Ton terminal —— i 1 Preserue: Le of _erke , Sprrbsle —— | eemectsseny— trtceae tte tet. oF ey is Bod op CEG x qo reckuchi ais Teemnevig eles. Ep ‘Scanned wih CamScanner BD. Romoval Of Un-reachad, le fe Goodluck [Pete | Loo Robeneven ry non lerm inet W peak Ftselp ab lept mest { na Porelchon Stan ee + A> PX + At AX —-— Ae EIA ~ —eIhene fs ept recussimn mien --terminet AiiX_ Xs ey “Cam Contain any Value = Be, hy === B_Con Conten_ ary Nate but it [ dlatent Cantata left srecionten’- MNon-terminot _ ate ¢_mmest Licle._ tp ES eT ekey/elgle Mai, 5 | Removal of (ept wecursien - _ - = Az Ax/f 7 —— Ye uT® vel Renete a FR] ~ — — Boesle |. ee a er a EFT In a —— E> Tam ae nae Bo 4relé a ‘Scanned wih CamScanner | Aeft facta % terhen any Value [— Lisetpe rere Man one itima at (eft qiast Position oP on, FrInmMe> Prectectron Lt Corstut gq bet prtetor- of #F- 7 Ee | 52 abd /afgel abel ep atlsile Ye Yq - i COhene Fs any me emia Kw ok -- Low SPosle Vale rey, ible frre left Pat - = Be AA Pn Corr eps ary Valae._ = ~ LY oe My --- Yn Gn Gonftain ary Value but - Lt cee mot Grtain = focter Grtirabin, — vat cept mmost sila pcan seeanan eh eet Alm XB, lect, eh ate 2h /n fh . : - Ae aelL a I E? toy OC E> ase/ abs | bby. fof fo abfA | Bogle a ‘Scanned wih CamScanner i YY a A prroductin gahich Cordain CWelers yen terenintl fs | Known as ¢ elas tate (aseleunen- termina (: man non- a “1 which never termérodc -__, Coroplede Conepleteclyy a arnynchere fn tte’ Prormrncs Ss pe | | weless qron-erminel. © a i Bb S> ARIAC : — Az % — —* R= Bc/ Ba ? _— Cb ‘ > oT, levee t# termmation | cb S — t __&£ | Dreltr. ~ 52AC Usepal NTs fA CFU SSG — 19 = fAc sh 4 Tc _ —_ : a | Weley NT = fb ———— aL —_ _ = a ‘Scanned wih CamScanner Ro agile ae Ca aclB Bye tele ABlAc — A= aAb/baela BS bbA[aaR ABR. i © 2 AkbCA fad _ a AA RBMOb : ‘Scanned wih CamScanner GoodLuck | Paget | Removel 2 Aa(R i ae A2 aA le . | Brb 43 Abc/aARL [A> aan bAlé Bo beacheBlé — — Bue. 66 fg _ stp “Remave C fief ‘Scanned wih CamScanner 45> Aee/aAee | AB \ A> aAb bA | B2 oe elo é 1 baa | c= cCle Hep Remove E of B 52 Asc /ongh/AB/Ac lon b/? D> aagl bAlél 2 yy \y \ YX oe I Bo. hb / bent bhc/e /bA. 3 aI Shp Mi = . | a fale Rernreve é. of A Oo aw [so pac/aARb/ARlAC JoabiAale loess) owls” Asonvalbnlan labs bla i Bo bBAc/cR, ae bac lelbA [beet — - ke (he =f: C3 cele BO aed OF NAGA ah Unit (pablo A oe —— Ip ALR ane _ Toren terminal, a | J °F ee = = teem ary Prin a a ‘Scanned wih CamScanner _| Sg _chele fire Stypl= check af cont berbuability LE, TG And PT, ER Removal of $57 § E> EtT/ THe IF T2_T#F /F Ee GED IE C/. Shp ID. - Check fr urst_dlearebrlly TELF} and STEFF Remove! of £,F = E> e+tlrxe | (ED Lid > 7TKF/F : 7 Fo (&)1 id. trnit olerivabjbity ps — fT. FF 2 . Remove of TF E> c4T/ THF led lid Te TK / (Ee) lid ale fF > (2) |r Hep it: cheb. Pr unit alevasility Fim Pct prachin free ‘Scanned with CamScanner Be |Pliminade_ of Shag 2 onal walt Prrcoleth zu | SS a6ash NAN NT - _____ __$.». cash => fee E Bo tf Late — 55> osqsh uaa — —_ = ne = ieee —~ —_——___ 454 S ach ee _ = _ ois - ee | Zinta S 2 . 9 E Precutbiorn from given Be a ee Ald _$-2¢ 22.Sb, $3ASh S$ 30% fe $0 the new CFC, _boittouk Efe i] 7 + 62 asasy, ssh /ogsh/ asab/c ab ‘Scanned wih CamScanner Ne Pit set of mon- #rmiral fia ‘nite set of terrirat, 52 “tart produbirn, Lion of bsyarkel) produbiors _ Pe fir sek of “cll de get Ina pee a __} Form __} A= Ba: Aso— ae | Whine AREY : (@er* aa ‘Scanned wih CamScanner | Prebectico Fi : 52> Stark’ aoa 7 abs ng Se NL Giz C5, fabs, aa) we heft Linear cee a = rw { =P LENS. - = a ee fabl® ae — - is - [ 2 Syrebol ae ie rw Ses ae a = a me B= mon terminal s Noel] Ron termina mal allowed j,| =—T ake Fe ECA) o& rominatls an allowed tn Ris. - oP any any —Prieenliea oe —________| Aa abe A> ae x Az Ob | AP Ro XxX _— ———}}- A sS€™ V AN ened 9 | sana a = —— ‘Scanned with CamScanner ordi LT A> able | Bs Ab | Te 41a regula Large ? = __ AvBelg B= Bales fale > =~ | TE os net Q wepular gatas Large | becawe fh te mneithe, opt Linen yon dept Linear : Dla anbodlop Off Sept Minean 2% ype Loser _£ Pe ec bs | Repular sprammey. Plnvates © oe Langunge Ste Leal po Qtecto mate = KE — = ‘Scanned wih CamScanner ae) ae ae Pinte “ected vepuley FOE plo Je mre a ~ Ride pa @2>@D__— [- Production Arab : Ruled O=D _| —Pxedibica— fae a cots Aw ab ta wo Ip Unstial late Js Pinal Shey Puls Shins eel Aa) ino 2: te a Gz = Linger fob EPL AJ | So \aahen _P?’ re = ~ — Arvablbale/e __f B89 af [bB/a. _ | a Z _ | (ontt_a yrnteg urbrch generate hips — - Ss | cena Tumbey OF as. — aa | eel ‘Scanned wih CamScanner >haT—x—K———————— | Mfr COwde a ae a J Z| Gnd of CObich, Fenerate Shigs Fixst desjgn Dz L FA eine ae of cDhel, Relepls. Shing faa | Grremnaes Por Shi BEA vk; G2 C4a,B,2},$0,15P,A) eee PAS easig —}- 72S t a 4“ | 1 Y 9 CQ A v ammey colich, 4 tmerate _S hing ay | Gntuna Oven 0. of a, £ even meopb. ~ ie ao 2 we ft fe} - aes - oy 6 D =. an aoe Gramre, G2 (4A/8.60}$4:63. PA) = ———_tohere 0) A aclbR/é __# a = A> ba lan/h — = Cs @A [bp lq —— Ds @R/bC Bapht Uren ‘Scanned with CamScanner seep Conversa eee Ripe fall ie SRE 7 = ; ayy ny Ro ac/ pA | ns —€2-aAlecla— aa a) BEE ten ona ks Qs opt Linear reper |_ frame. a ae Stark Stake of fA 2 prt | Prdustioks Seb Sheps fr eez predinhtan of type — - [__ As, ab \ oo | —_ a ~ x o— _ _ — ‘Scanned with CamScanner { Gooduck. | rae re [owe Ao Jeon JeIrmvaen, fs Pe —= 0 of above type. wit Producten Arab AD bA Axmg - ©3276 Pinkld state : per / Gamma. - we pave, 4 a IASB ca Ss For Hts FR will be Gre Q Gb 2 Ep op gi ‘Scanned wih CamScanner | S$ op liw)o lt I = oe _: _ : as => oAlis ~ _ Riptt Linen ~~ - Covet bt nthe FP - we Fr, 7 Be To geen pprmmen. i Ss30Ah - b _ $318 = A205 — A —_ fr feeds State oe pred. i = nici ose fi GoodLuck | Page tn uiforred..'- nate of left _Unear. repelan Gomme, /-_ oe oS L1G BS aia San ee tty — ps ee 2 Gee pap EA Age A fe Hea gone A folk AM bigpase Revense finite Autores charge frint—. State to trotiel Stecte 2 Griot Fe a final. rs ee | Bibatte audernachy of fier Appt lina : ‘Scanned with CamScanner hie a £2 Calpa (Bb A> Ab (Cal Be (9 Bo bbib ca Aa | Steph LLG Reet RLG | 4-> acloA (sB Ae balac /b&la Bo bbls Ca aA Skepta — FP ‘Scanned with CamScanner ya Stonclavel Nosrol Fes oF CFG. 4 1 J ob L — Creei bach Nerreet mn CONF) _ frre (GNF) Chamsky Nuvrral fern CONE )f— A epe, 1 —— —___.Réd to be So fp tte _feam a ST Bangles A a | fig signe ron- 4 rina! —> Taso nen~terrinal — TO _| Berple A> 8c se atermival —> Sipe terminal CNB if all of Sts _pPreduckicr, rules ane ky Tp fs in Le) Ff horpunye generated ee fo ODF Ge PAA [__by grammes $ —— Avery anegns— on. tte LHS f Lach p- CNF. _ _ ‘Scanned wih CamScanner Prrocluhion | _— Cpualent Evey CEG Con be - Seensfemcel the - then erty S=pé | ais nett Heid Seneo) — LR promre, £ SL1_~ jot in. Ries. of groma) — _ So ~ aa ~ 1 : mes en NF ts Certock free prot Ptore. St _orty Style men terminal — —# IS —— a o CME 5 used a eb in CHK afpmite,. Ein ip” oar PCr prowniy So | which js a farsi, abgoritorn, vt empl, a ornate efpitient prrsicg. dtgonte, —F : [= a x Conversion Of CFG te CNG_ — TC Contint Proce grammer te chormity nara t. a __ \ Ferm’) co Ae ON i Ne Ss SU — fe ? : —— eee iec a i Aeon 7! Dit bao Be oh 2 Az Cizkt) | A Bene Cane cpt) ___A>8¢ (aur) A ABD Cem prams As _akcclCarysefT) 8 > E& (-Stert LAs 6 Spe OF Praert — i" Sheps'-_Comet- Ste fiven _geammes frnte Kimpliped: prone. |b) Flininate Predict Lerst ! produ in = i ©) Fliminate _tueles “por yaniable tt = — pa! Separate. all produtty hicks ae P eats 20 (dre abtady tm CNP. _ (Az Ashe S56. ‘Scanned wih CamScanner Lege ety fl frst [ S0_CNE: ti gt IP mere than ome oa Gmbol Proert_| | Gn production. i cama clerminal by Sobral | ‘Scanned with CamScanner | _ | Comersin “Of CFO te CONF c= QS AsBlé Ne | Ar aAsla = pishs Tey ta a | Bo ses/Albb- = 7 0 Wz ie Convert fee_piven << Be Gee fel ‘g = Apes Binpl predion coe gee: Cé, Unit = _-—~— jh Ne E | 49 AsalAg — a — > A=s.:0As/ah le — __——__— B82 Shs /bS: (seltsiaaslan 1 kb — _ Beparecte all ie ea — fo © Trendy Pre lene from, son ey oo 1 25 AR A2»@ Brolh - — ans ee = A> GAs, [Gq] _A2> GA => ABCA ee B2_bS > BGS. [azul > ‘Scanned wih CamScanner B> Shs => RB -» Sas b? Sb Bose B> QAS => R> GAS. a B29A => Bs GA | Bo bb => B 2OQ 30. Prcution $06 beeme | S> Asa/ag eeueaee |} 42 Gas/GAlg B22 Sas Qk) sg [easIGA/e1aG G2 9 init i - Ca bt er iu sie fy £> ASB [.3m0n “Fermirok) i, i 2 AD, [22 2) J A> CAS A2GP2 [Baas / een ~ Bs Sqs = bo Sb = [Bpzas) BF GAS => BeGh li Yoluction Are, Alou tH prllaniy- f | CNF 43 Abt AR + Dz (GA LO TS Epi las | sa lblade QeFa @b D> $B Da > AS D3 @S Ica le li Racy, _ As. Convert the fallen che bo Ne. ee age eee ae Cc b/ _ = —— _— | Seplified 66 $2 AbB [bB/Ablbie oe eelL CL — Cea b/es .t\ P>@ ‘Scanned wih CamScanner | {cries [rnin 4 _ St £ Gare’ bach (eo fs ma (Gin) = ] Lee Gren CEE) Ree Ge a Behe ee fs Pal L a TO - _ A Sa Legiem _ digte Hemiral] efit Bs =a Ba Loigle wr Site cs LC. —— “Herrined Followed by 7 | fee numebe, Of MT wot te Start Symbol J amas 4S in G re EE LG) ft ee = ake J $5 Blea ~ Ar alas _ EP bb AAs runs Do above sprammre,< He Prociohen ee an HK Comesion of CEG te GNF. “= CN CHE Pe GNF) ~ 1 Cnvert Ce te_CNE lip "peered f —A>@ = Cone termined) - A 2BC_ 2 Too ren-terminal) = 2. Absphfesbor FD scup—— — 9) Grversion— ‘Scanned wih CamScanner | ue mo ie snares oof ste ay Stpae Femllant ee te Ai _ aed tf 4 - Ae a Aga My — Ale Aa = a en toe have bed fe ae ae fe wermeve Of Prealeution —___of. Aa Pectin 2 lept retin Aa (rept till trhich ane in, ! _ Asv) a — QS 5 Avo Gamrert phen cre Ge Ax» ssl4 = a — Jie _Skph Coruesion — of. CFG P2 CNEL ae 2 aren _ grammes wee is bread tn ONE fn, ; | (aR Ne tie mes of the ate Sp ae A Cenc erlen : = : 82 an AsAg a= | — fei Ta rai | AIA Pipi — — ee ‘Scanned wih ComScanner \ Ap 2 A ALL Ta / os ; ass tc eee of if Prinbion hem Aahalo + Ag 2 Aston. foals Liz iJ Lp srecutlen, Removes @ Va Aa 2S Aton [0A a ek i |— Ag —> of Lt Joaz [1 exe bere ae) — - Loh, LAA Z _§ | ; wo YT _ — bE AAs hala sae —_f Bo = oATL A ZUZ ponel t jae Papyp Le] oo ee [Wau Select att these Production watts © | ae Rw fiat so testnal by ni ne ~ _ fi Alo = — 4 | Gbstitete Ps by th Rats Protas -— A ails Line onatel 700lt— a ™“_ —_] “Alves Bs procession At A 1 GNA i 5 ‘Scanned with CamScanner | — Z- ASA, 1 Pah: a e Substitte Ap by th RMS Prvetssbiey, I yh 2 OA AL das [0AvZA,| 412A, Jaanifiy a | _ OA 2A zag < 7 je FA St tN i _ {ase z predation alte iA 0 in_GNe __ ~ _— a — Da ~ ~—— = ; “Tg OAi/1 loAz (1 or eee a = 12> 6AA, IAL 0A2A,] 12h] 0P.b/ 12) — —-— 0 ntfs L Wa a H I eS i — I ~ irAiniiaepenerTa ere ee ee ‘Scanned wih CamScanner

You might also like