You are on page 1of 10
1.94. Concept of Pssombler Compiler, Tater breter , Loacler rnd! Unk 2 Concept of fropramry Dorgurys D Concept of pariloters: ) neebh f— keacler and kink » Concept df Rogaanng danquaye fro previ Aomguspl- oT ous tevek- Lampe Hippterd open . ps (© Gt, Fava) machine famquye Ane aan gfe Cet) CMove, Apo, svB) 9) Machine. darrqusye | Machine Panguiye 18 compared 1) bynary ahigt macking dargeye 3 ay forpeye a. camputer 1s Capable to unelen stand: y Arserobly dom gee: pase Honguaye ts, alpha Numate Coole tinsfoodl of binar/ cliyit, #1) rary to pane, thom machin fanguiye « Ase rably Langusye (5 machine clefenclont Langucye - J High Ley dor quae, zy th mackine dnolibenoten? 7" IAs easy fo read, untte and matatity ot jt As writen fin englith Ure wore. yee rk poteble, Y Concept of amloter,’ the pansfolon ont gud compul er progam Dour Ind which accep! a peparm wm ten In fomquayt and proce epeiaten? machine bargeye 2 cif pf high bevel ov thie as three hansharrs * * Assembler: — vyecl to converd aanenbly cocte pn fo mackynt. fongu yt GmbiPey: eed te convert Lb fo mathr'ne arqege. all He orvrirs, of prograre and 4p Comp Ler S200 Kes erry frre then 14 Converts, thom. +f the program rz} Coto into. machine Beengurge ‘InterPreber? ured jo conver? yer to machina Jongg. Interbrettr checles, Me error af progrann Stbeinsaf hy Sebo . After Chectuing one sthement if Corvert fn to mackie fanguys ond “te eyecute that sheterent- Nele' machine Lernguye Wo reed of fravihela- Aisembty danguye 2 Anembler yd $o convert Arsrmbly to machina fern, Heh ted OH > Compitey © Ft tifreles Enter preter wed to lonbrst Lk $0 Jou bared dorqeye. D Concept yf Linker and doaolin. HLL 9 feemnior spe fie] memory Greeatatle Prepon) tee fh combs Amker ! gq Linker Jinks a Single executable yo tomk anol Corrbirt all tha rroctuke also pes por bh @ obpect, fide gontroted em bs he) Cove) ne A tinker 1s Y pegrarn tf ui'ten soperatly. doaclty- Shrage olvvrce » the when Teeclecl. Daperence hetuseen Com py bar "HLL (¢,¢4+, Fava) Compiter Panifate source cocle tnto object cocke as avkole « Tt creeds, Obect fle Erecetin 1 fet & program not regusre 0 2m Barge each tHme 72 xn He proframn. Not cary to ered error Mogf HLL Uses — Conmpiter> eg. C, ctt, FORTRAN A tool loa! te Pregvanm into mar’n memary from operating System (alls the Loaclen Comper ond Interpreters Interpreter ALE Eyre my inte be? rom > eutfut! Y. Tnterbeter porslete shafrants of source cocle one ty one are Creede Srreclia tly. Ig. CF dossnat c2cotfe bet #4. 3 Epecattin 13 shears 4” Program repute to Pranbole tack time fo 7a S Fean, fo correct mustek. 459 fourle Cole, 8 feu Languyes uses Fnterprete— e7 Lap, Python, pay. oh, The wore 4 Perse auhter Abs Iy'far who wrote Algonitm Ras coms fo refer to 9 rrutiacl thet con be wasel by Compule, for te paluhin of poke An algorrtom 8 9 Hrvte seb] Srptvuctions tack fe solve ang problem ° bvery algorrtpyen mmusp follouw 13, Tolea af Algom ed aligort em Gomes from the narre of a tert book on mathretrg Allowing Cop ft eS 4 Input! 2er0 or mare 2 uth ~— afteart or owhuck 1's procucreel 3 Dehinitenen © Each Trsbucttin mui be clearand! imarhiquors 4+ Efpectivenas + gach algen tam runt be produce tffecti-e oeafput . ey cle de So Fpnitenets : Becdl algo tiom must be terminate offer Hnu'e nernbo of steps. 13.1 Representation Algou'tem - en lair of bo fo Aiel fuso TeV mbt Steps fe o cade OAfOn Nr 1 Start | ; ALgon toms + wanste Algew town ‘yon i 1b shot 2. inet AB a Enpat | 2, abbott 3 cahculelt Bum = ALB ! 3 PB erating Jeake ag - a bog. Draping supa 4 md &- Stop» S$ sHep @! write An Algnitom 4° cabeulele puervipt fs qurmber4 Rerhlet & Start 4. Input ABC DE 3 Calcubse £OMs AIBACIDIE + Calcutete Aye som/s° Se orapleg ay. & skp & 4 y wTeb3 ays'le an algottin +. tnd davgest wm Pree clifornt numb: 1 Start 2 tnpet A,B, 6 3B Y Ad Hf Adc ouplag A 1s Sargest Une Draplog € 18 Dorpesp- Ly f{ B>e Ding BIS Aargesf- Diipleg crs Lavesf. \32,Flous chart , A pictorial representation yan abyoritam 13 calle! flour chart . In flour chart He Sheba ih the ager tom we dbesertocl jy he fom 7 Aifprent hofes Ser example » Smee Sa Terai Co Peaiogam ZT _ | emateoaant cao Rectangle anthmetc operations and Diamond Cuce t dv] } if 4 il (0m Page Connector Predefined Process Function Used to represent {a group of statements petomeg one essing Preprocessor [0 + Draw the flow chart to ald two numbers raw the flow chart to find average of Three numbers Example | ZZ ‘Avera e=(ASB-Q)/3 Print Average Example 3: Draw flowchart find largest of three numbers ST AE es ‘Is No i) "23 Beude Coole Pyeucle Cele ba combynation of fee works Preescle ome! Coole» Phevdlo moans trnitatiion and cot ; be refer te Inhuctin. Paulo tor rs net a rool program | Code. L413 genndt ws of hesers vray an algo thm aythouol wily any speefre peoporeanrley Soryuige yledeL noktins. Preaclo Cote th text bettedl dated oleyyn probs Eveomblt: Phouclo cooks tor Wneling the Langest ef three number PSELOOCODE — Briager OF Three! Read Az Real BF Read © + ij TE (ADB) THew (FCADC) THEN Punt A, ELSE print ec > END IE, ELSE 1 (Rd) THEN Punt RB L ELSE Be mr ec} ENDIF } ENDIF, END. i : Exerc! se ait ber fe wale on alzortiin and drow plow chart Check 1B even or oclel: Stet 2. tnbut 2 I 3 Af (nfeae=e) [obet n/ Oraplag Rube 47 { else at Hated, fot Dixplaey rurmber 4 och 4- Stop CshED | 2 ussite an algor'tom and crows How Chart 40 cabewtude aver on! Ch cum fered (te y Ctr (he. b Stat CeD 4 2. Papat | lex Y *Y incor bane = 2x Bp I peor ar ee OO canm frome pes 2 upetewnedyo and chou fou chor? $0 comayp : C= fom 3 Gheutale areas 3.j¢e V4¥ 4 Cbcable chreamPrntes Sf 31K Y s ora blog area ant crrcemberin tl 5+ Shep wo Fintst, 1 Shao te 2 fnpot F 3 c= 5/4 ¥(F-32) 4 Dspby vat % Slob: iT Ae qancte an alyertthon ancl dows lowe chat 40 swabbing 4 wo number — usr teu’ trout ng Hird vonrhle and Peis vorl abe, o wang this vantibte. d 1 Start Upnput AB 3. timp 74 A-B Be Ferd +. prsplag A,B. &. Stop (Ny use frout earng Hird vourpte. L Start 9. mpet A,B x. Tapat AB I Az AAB B-A-8 A HAR 4 Orpen BB S- Stop.

You might also like