0% found this document useful (0 votes)
8 views22 pages

PPL

This are the noted of ppl subjec electronics and computer engineering third year savitribai phule pune University

Uploaded by

chetan111.cmc
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)
8 views22 pages

PPL

This are the noted of ppl subjec electronics and computer engineering third year savitribai phule pune University

Uploaded by

chetan111.cmc
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
=rsem Question Peer 2p : Thal’ fader influence The cherce of 4 proqvemr anqueges axe Cxaled “fo addles language fer pertivalor Fash 7 TO gt speed | [__éyelems) >) “Thee me mend _prepaenming languages because peflerec! each one Is Vd Toolve specific types I of problems dr efficientiy in pastveatar [3 Fase of envitooment I fea_en ~ TO tar ta 3) piffercn! Needs ¢ i Kigh- fevel aera I choosen | Some languages “like c, ae (red for _ayalem-leve | programming » ohile othes like pithen axe belie, (4) _ flees foe dag analysis (@® web development. T 1 plalferen DB) Advancements » “The Techneleyy grows new TL keHin fe I modern needs, like AL 1(@_rmebile Arp davelepna t T=) Cammanil [D) Preferences . Developers Be Gmparies ma. | 7 efor 1 A _longe rs certain styles, bataresY GD pecformene | is @asie Jewels, Rading 40 the cxahen of I nea leeanyes Tey Sealaeili = Fadews That inFluence forthe cheico of Fer lara Fam fer danquae fr _pechialar —-fusls = ae_offe )_ Purpose of the Task 7 | 5 + Tavas crip! Pr sth cl eve lip man. (7) Tegacy_5 + Pythen fer __daty nience _ | 1 0 fet _harduxie . elabedd fashen | seme 7 | _Vitee t [e [o A speed 13 citieal (eqs Gaming CQ weal Tne [ Syetems)_, ow -'lewel languages like “ory one \ pxflerredt. 1 SN Yase of Ose ® for tacky development X easier learning, high-level lanquaqes lke Python ax choosen, ! clexe) (A) Raton \ The language may depends an fhe platter (Gg. Swiff fer “105 apps keblin for, Andavid), . TE) _tanmanihy Sueoud: chee PB lwnquaye Vike large Community (like Pythen) pecformene is Gavi fo__([earn clebug , talon of | OWECICLULT ES U Fer large syolems. languages lke Java @ CH# ae _off’n chosen clue for Pheie scalability TAY _Legaey Systems Bome Companies Slick fo olde languages Tike t0fok Fo maintain existing S/okms. (Carsten, buisiness, Owented! | fanqure), impedance of Binding Te elasses Of Bindi ime. | —» [Binding tiie efor peg wd conn manele lise Variable. fate pes i yOn ates _ dh i pcteuat fecks * [Sy Plevhinehy lL» 2D Perfrmang I |= 2) Breoy “election _ Classes : D) Flexibilis Paty — Ringing improves Is) Langue h oe ue’ abo binding I Te Floaibi li ty a | = ¢ T_lanqage 2 Perfirmance, Party binding is fusler as |e» a Ahern ak pada bebe } Tuntime. [=> Teves D_Ferm beledion farly binding an” delechs ]__enngite errors duving Compile Hime }es3 1 fady binding ' (alse cated as glubve bind [Sten | cuars whYn decisiins about funstion caits, | | wariahte Hoes @_wemay —attacdem ae { os | made a orepile time rather thao at _wotime yy Ve Lkseq 4 (dees: Plevible since changes ay fi [nel PoSsible- _ = \- bate Binding iofatyo calles} dgnomic Binding) | duurs whe decisions abou! nctran Calls @_ objec! aasociations aa made af ranting rather than cempile time | ey paints 2G) Mae -Pevib@ 4 allow tun tine ecrolons @__ Slowey eration tompareel_ to arly binding due fo runing overhead « © Classes of Bindin Time 1s) Longuaye Design Time: Decisions ore made when the Proqramming Janqugé is designed! = Defining heyoorcls Tike 1 Yanquaqe Ink IP, eke Implemrentalien Tie Decisions occur ile building ‘fhe \ compiler (®_ Golexmtien ee: How S inbeqers Gre ateal in| memary binding) [3 Cenpile “Time Decision wade Auning The cats, © Page's ompilatien’ Or \ Nawtuble “dala ‘yors and _rnecneny ablocaien (4) Links Time “Happens when the _proyram \ is Minkeel 40 exlermaf ishing libra des ike med yles. ee [math-h] feng votes casing progeny [| = erecatnes I ex Assigning Values fo variables in loops ed rs a Sa Mefinatn' — Bmoes causes) by breaking the utes grammar of _preqremming _ langaey?. [petection: Founel dlusing _eompilod'on rath paglataadicla | fy Pissing 4 berniwion ry wniting if (arb ¥ insted of ip by hy Result ~The pgm ail hel run dnb Fiyeo/ l = I D | Teprea) Preor I = 2 | i “Definaitin «Tor io the Toqit_ of pgro I : |_tha} _produre Inewrveef result 7 13) Sienphichhy Deflection Potlthe] during tunhime | Chuvder fo. YeFed) —_sing TH inslead of [=] 7 1 D> Readal gata ins hea ol __ i = I a adhe [=a = yeah & The program Tung) bul diver Lae ofp — syntax Freer preven The pq From _vunning ~ Feqiedy Prov Ted “The pyr ™N \ but with Incorrecf yeayth, (a) @ | Lyplain Characlesisties of good progrerneniag (_ langugqes 1 Pes | Chavacleristes «of Good Programming langage | [os 4) simplicthy \o8) scalability \ fee Rea lability )_shedndah l 3 PMicieney™ ts) Bxfensihil ‘veel 1 lu) palubitiy d I 3) Flewibilt Ay? \ 6) __Ewor Handling } ja. 7) Sctuni x fim | (3) dimplcrhy +2) The tangus@ shold be ear fo rare Jean Ze unclerstand, ) pet Clear Syntox 2 minimum Mes s I Like Python L 1 D Readability.) Programs ariffen in the bee Nanguages Shout be _@erty ‘ead aun ‘ond 4 _tthos | (ex Peper use of keywowds. indendah How the frost meaningful names [Lin terhus Tange 2 I D fifivency ==) the lenquaye eheutd he wae —~}-—qas | When you GH splerm resources (Memary [the _tompuler ellectivetay ~ aan DBC is ettitient fer system computer can Papraronhing = [this 13 __de a [interpre lertren. 4) Patabiny ? +) Program Sheuld be [eam on I , different Plalfirms @ffhod Te cteanalaltor a rneyjor changes _ I “) fy. Jawe'y * Wafe_ ome, Le) what iat Joos Bun Anphthere ” Feahere T _| [befere ran \Alevibiiy* 3) “The enguage should support [think of Nariouy “Programming paradiyms sp Object ermeeel , bak the semonhes (dhe Tecnin) [QO hood 6 js thal qoy are adebing the wulues of xZy Lj Proper { Echoing che wsulls in x I behares How syntus KE semanhies axe useful ro a Programming language Designs |) Syohux “ensures thab 4ne PYoyrem /5 nies in Shuchired — cwad Cat Fo se Be anlenstocd by boF humans Seley ules, 4 eonul te diffiga lt fo Making 17 A. smpters Wlithoy! proper delewnineg aha) The Code Is Suepesess to do [1)_semanlies “ensures thal the program does whol the _prepanmer, infenda ft fo do. y Gis aboub “hanslubing the esitten inghudvans into cachens the. proclace meaningful xtsulty, \_ets Kes, 4 fest te MEO | A=Y4Y | Syntay The. code is syntactically { correc because 1} -Pilows [_Pithen wiles. (eq: “Using — careed dseignmen! operaks T=) Ghd nell +] operater \ Semanhes “The semuntics of the coc? mean thal |Z] will held Fhe value of 35, because you ae Adding suand. ‘40 Good éyntax cle ensure tode ts arttten cleasly |} Proper Sermatics te make 1 sure “tne Cole behaves as exceed hen executeol mail boy fae. Litt fo Thal ave dhe different cohol Floa —~| TD ahucfues —usesl i> Proqramming J Py plain ——~ {th on “eso eee —~ Gnko| Tlow tulemends delermine the | indivitclact) staleren}s. cer ip which t=? Selection +) if-etse 2 teratien. iti [ay Sequential Shuck? [ > en | “The proqram ereules olalements one of for I | cinother in the orcler they axe amiffen [ | "Thiy_ia the clefsiui! fluo of? control |e. io any program . | if 7 J | | T se | yep I 2c | Mito lt £ I Ze kay T pried 5) 1 To tho € Hew; each Slatement > eveculeg) one [qacales afer qneiter, Lhe weaud (an) LO aacaber fs pine at the end ese els = Sa [ ata Aa | malin ae oan ve faa ae TF The seledion shuchae allans the proyrare Fo. choose bebwiees differen paths based on | —Ttevdain eonelitions Al tuses “i fnelse (65) susseh- [cease statements cndifia fs Executes one _ Bleck of the condi fen fy | Fe Ar ancther block iy false. if-etse\— stukemén): TD ep (else TFS: used when you need) I Fo cheek multiple Gnditiny emenis one oF for axe_anitten, _of lenbrol, . ex". ye = lo if > ss | prim (7% is _qeeater than 8) | eve: Pint (© ip. less than @ equetl Fo9 [fo Thi example, the pyro checks HY is | gauter thon 6. Ef tre + It prints “X [aacates thn 5", otherwise, It prints Meng fs less then (6) equal vdo Sv | 5) Herafin Shuctu Cleo Js [oe [This eration shuehie Allows ot: blk of | ede fo be eyecuted repeatedly + basey [on a tendi tien, [ts fs fen ureol for fusks [tke prey, lems In a list @®__peskeming.dn o multiple -limes- Jad thle loop) poops ao Tony as q ere Condition is true. Cx: fy a firlop- pultan - for tin ange C5) i f puiat_{t) ia “This wit) frit the numbers from 0 Fo F | the fo “looo flesales 5 Times Becous® [of range CoD fb cota hile Loop { “hy Sows” aE while ees | . > Le = cil so. ind fre numbers 0 to 4, “Be while oop _Certinues 43 _lene/ as y Tintin Pres ts sifue ge ‘ 5 Mike preven, Struckives tng. 40 | TT a Deseriphron Erampt Pyeculos shee. Oey ys fo in_oveler » Ore poiot (x+y) 3G ence after onether 1 range) 2 | Sélecdteo Pyecates de iy Cems s based an 4 print _CYes'y e con Fie? | Llecahion Repecds cede fe tin I anti) a emdil? range CH) | ts_mel pont Cr) Fo pryrmming « These _emho) fea shuchirs cle ace fo owcehe _loyteas + Hpeetteble & | emadrfteral behaves i> gous program 9. 56) Whal ave the fundins and why we they Impaled Fea code Cryanizahin explain cit 9 | erample Ars | Punching 19 farqrumming eee Bluks of Kusabic —~Teode that _pexfam a apecitt'c dusk ‘They dilow You fo bacuk down complex _pwbem “tn smaller_1 1_munuyeable_ ples 2 i 4) (ode Reusabilthy.: Once simpttont fer cde orqanxedint funchiun p> avi He, you can use if mullipie | What is E dines withea) steenting the same code, | creat eval | 2) Medutartty > fundions help _chivide tre Le A miyed 6 I code ink srnaites seelims. IL emtaln 6 [ taking jt Caster 4O menage Z undersfu t and sd [in operat ®D_Debug ging and Maintenance { For_ex. l t dt fs easier fo debug @ modify a Pret [the come I in Relation, athe than searching Phwugh integer | “the “entire Cede. { ‘ { | Gat ey le | f magin@ You a aiding a _pgrn Jo [ f I calealed e cg of a acetangle. I [ gnokead of repeating The areg —cakululr I I (ode every Time yoy crate a fanctin fo I in thi: j de ff | Conve | [ yee def cakutate, avex (lenghh. ad th), ! atluro length * cordth By se fengld = it dhe ardth = lo __paogaucd on, data = tolwlale. lee (Teng tn aid JAD [ok a ! Prien (the aca "i, aaa) ss ee ee (ed _paremek,> | Hese the Calculate. are Fu" otalutes fre ave. cakulde The awed of dxechangle with ATT _tehacn. eS you can etuse B whenever You need do frat kenylh ide ‘| = | “This “keeps the tede anqenized AZ clean { —funchion [> “rien n_use if multiple tT Wha} mixest made. expressien } Paphiin Sheet le_divide the Circa? evelwahren ith san exemple Pf miveds mode, express 15 when an expssico | Tonlain = diffeent delay per, Such ars _loheyons dies sechins, nege LZ understand [and =Plouking ~pold nuebers, combined thyetnor tn_opeva hens 1 | For ex. Adding @n_ inleyey To a fled xavits I ina _Toized. Mode _ ex pression 7 modtty & Perey [Ste empuby oil! qutomatialty caved ThE searching fhaduyh integes fo —Ploce| for fhe calwlahon I oa eS Wa SP) s_pqrn flea) b= 2-55 ‘eogle. { Flac) vesuld = wtb? Tt mixed. mode aieg _calulutjery I a functrn fo I in this ex jokyer _q 13 duberreseatty Come fe a -flut fo mobch The Aye fb, £ cthen additiun perttme, aid th): T Bhat cireaih elucalien is_q feakne a verkeot tron TAnip (2E) operator - Pte Tat —enllin 15 Tobe, the @hle expwssien Wil be Felse, 40 The seen emditten is Dok Caley oR CN) opeweitar) _ { “They + ~ I Chatucle [yp cond is Pins) tend id? fs rue | I the _whele expression. will be. dre, 50 [rie do Jos | the serend. eondifim IS ped erabahed, yous Tea r | re I siptroo a I 1 lf a small L ty [ Anleger q | Here: ots fale »s0 fhe Le dium [ P4m will ‘ned cheels y Ler 3 | fobeges r I mmeventing pleohal livisren by zero enor I . ] his rs Shed. cieutt evalyalrn jn _geden | Defaul [__inleges [type i eng der | intey ov 1 J enelifien fa ill be Felse, vd Dot eneluethey yoo lo dave anc their lanquege EO —————— A Tate primitive data dyes | Lidl The primitive daly > 3Gp: store capa jo Primitive duty Types che The mest bose = clue ees | previdest by 4 progtamm'ng 5 like numbens, Shed _aepreseni simple Valwes chawelers- A tue] Fase volver tend?” 1 hue > _ hee ————— oe will be. dues 50 [ri he Tow, Phere are primitive doe 1 a Fs net erabahey I 02s 1 pate | peseatptra 3#Ae sive exomplk 7 1403 | j lS 3) Quie | small ft byte (edits) —he te 127 | Avleger ale 150 fre Shed Medium bytes 32,76 te “YY bes cans C16 bits) 32,767 chvisien by 2er0 Cre gah yn _achon dod Default} A-by}es = 21a T WP3, 6 E inleger (42 bits) to | tyee D141. PS, 66) [ = feng | Jorge Poyles \yery_lors intey or (64 sits) num bens. flout | Dee'ma) pa rytes [| pes 2 bik). [ess pels 33 _ if a These dutakjpes axe prelefined by Javea I be Both aoe anol -to Shere ample viglues. [he prog I By ave! |. The Shrage tapacily Csrze) Clelermines | tralia + it the “aange of Values “that Con be I Stured to uch ype. I Genes} [- Java is _pladfurm - independents 3a t { the Sze of these olala fypes js TA too « fixed » un)il Some ofher (angus e3 TL befwcen 4 hike ¢ @) c#e . I | [The general 5) iethy delecho and Theruhoo shulements f fl art * Useal in programming _lenquey@s « hen] | |alhal is fhe qenesul “Form of ¢ fwo-wx f | selecker 4 t 1 | " ns. Belecdien Glaements _! (like TF @ Duifeby | these allow ‘he program 40 make | deiislens LE Crecate_cerfain code busecl oo —T RL Pa Stall Sores above S07 ' arene a Pass; otherwise + they Pail. i el \ 2) Heration statements: ike fers These ditew The (maqrem he wpeal q Bact | cede tmulliple times Ont) o eeiditien I's met - Bulk ae esserrfiel because they help make | meme Le Hiienh Tues o)_delermines it tan be = Gener] Rem of Two = Way Sector: ended, 38 hao ais peas eek fypes 75 Atco. cay oelecke Tels Pha_pgre choo x anqueg eS | befwcen too paths buses) on a Cenclien “The geneva! form _ 78 Stulements guages of a two wex CIETY 23) make de Basel on ED Ctenditioo) 2 | one Fir 4

You might also like