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

PYTHON Unit1-Notes

python unit 1 notes

Uploaded by

mithunsriram.v
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 views

PYTHON Unit1-Notes

python unit 1 notes

Uploaded by

mithunsriram.v
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/ 46
FUNDAMENITALE OF Com PUTING DEAN I TIONS — . The Cowpacs ls an ehelyonic cli Urhich Conve Your cata: in to Vali Cov) : Meaning fis’ Siriturmbion 0! Basic OpeRATIONS :- =—_ — SD) bavie Opeyavon: “i 9nouke | £ qr of Coptuving” the Aohomation on Yaw data ov sfernation: Ga pw ra vy 1 area Prun | to "Convert The seein an to Output ny (69 Outpt # Ouklome of! protie GY) ‘Stoving 4 Proum of aawing the a 0°. That, Thy Can be ‘Yetainel van | Uthen ever Yeqpayed: Ww) Contyolting : ating “he hy ¥ proun of . ; ss hah aly Ofevatow ar pofemad: 4 ul ) dota ov information yebieved amanney and LAedQtenty APPHCHTIONS OF COMPUTER: Computers 14) Comidercal, a Coturloting cluite that con perPom any ie at enorman sped: : Y Abode -enentiol in nai Aife Cémparing tit human. atin tis in: Vaviews fred Like In darby, groveramink,, Getutalin, Medune, Painting ete - ; 1) Crm puctin in Buwinen. ¥ Maw obj extive “of bwin an th lp vélves 4 venus «Ayomadion pruning. ushi with Suppliers in Eroployts av ieee (2) Comparten din Gnas try ee Cormpautinn, ., nae, = aj en sump act ™ Anculner where pr ducts | ave dui gees ° and ‘manu artured: * CAD C Computin Aided Daign) ie af to develop pr duct 4 “cam Ctomput4 _» Aided vomafaubong) ia wed the pide TH (37, Computer ak howte: % Can Walih Somes plaginy 9” Aownlvacing pis ck. (4) (ommpantne rat play N° enabk . ts play game (s) Compucts in. dutta Gin. Eduttahen? Al College’, Commpustna ave being week Ao Arach Courne > . { (). Comput in Training). > To imprve money tl improve perfowante many Organi notion tg omy baud breming dv drain peple C1) Computin ip_Entn-tarnniuint Li Wad | extinsively. lied behmd the Sune do edit fil during Predathen prs. ORGANIZATION OF CompuTte'S46Te vsyarenn (0° A Compity ayrtn a» Db wuotly defmed as Comm action of Ahavdwaves and setae Ct) Havdwaves . “TT Oe 3k _vefevs + physical ‘elements of Cmpuy : Keyboard, “Monit, Mowe: ' 7) Settweet Sek of imbuctars'; data or prgram od fo operate Cormpudans sand exewb Sp eulic Auk - CG) ENputT. UNIT A Oo oD tifieh ents, the dale, of Enstrbion 1m Conmp uct agrbn . befwe any Computation e@ on ‘tn Kuyboard Mowe , Stanney rt eboll X dota atta) ay In “Auman yeodable fom The tip. devin. Converts Uk, inde a Como" Yeadabk fum. ‘ (C2) STRRALE UNIT sy # cloko and, iratutbon that. ave. entered shave te be Atwed m, , Comp utew aN fe Primary twa: Seeamdaiy atoreg2 Cnet Beni)” (perenanint] a) Pray Shoeage unl 1 # abo Gules au main memory ov) RAM . X AL Aholdy the clata usthin, the Compuly DU Cawentty on. # PY Qrrov Si Gok’ esTh pam only: 1 Gemporary x Volatile mae ae su Awilched oft , dhe Anfomahon Tn primary Ahorays divoppean* ¥ AL Ror Lin fed!” Aree opaety Ate frw ME hae: x Ot bo epenitvak 4 made up 4 “Agi tate Bote, (i cere, Atos (on): Priory abyss 4 pevmranent always — Jt Con Yetain Lin frmation even wha the Ayton da oft x Sin of storage uu from TR Onwards TB 7 Terabyte KYL Sh baricatny ured for. ‘molding he Prngron -invkyution 4 clata on ushich the Computer 4 nob Wevking om Curweatly, ,, buk rude te, prunes ty Moser Hii : . : “ Mumony Carca, lard dik , Floppy dor, Den dvve.- (3) PROcescinG UNIT! 1 Togather of Conbol Coded * Cnlrot pruning x copy 4 brain of Comput Luu yeporuible fw auavating aad : “Combre lurg ‘the op ewatiom d “othe Wun? Com parr “Ay, darn . : # Alu CAvithmetic Mgr onthe Le ausrod execu. ‘of Sarbuion Cavite Unit and ALv ae oniky ey Augie Operable ‘) tobe plow Over drove. x Avithradc 1 add, Sub, Inereme) in primary tory PANS preuming dy dome =P ony Akorogs -oind prwung i Aon Alu x Reus are nvotd An ALY and Biraporamity "evant bark to prmary aberagh ‘Hern dak moy move strane Prmary ayoty do Atv ti bak again + Atwe ye. i mopy ti ‘befat priya) om at Cambro Unit: i bs this unk Conob ite “ opfewokien of au Oe ‘of Compas t + ty uh & Powell. ow Scar fer a alata 4 Lredreiors aeons thes Unie som x Ot manages A Cooveihaty jolidhe Unio ol Ayselsin ¥ 9b abe Communi cata with Vp + | Ofp cnt to eLyana ter a clata ov yerth from abwregs Unik: is) Soe NT xO atuepls « The Yeoutts poe by Computex 29. (yded [om 5 Dt Conve) thr Ged Youll 40 tuman Yead abl fom X Ematty ib displays the yaulb nm dufput date + exarprintien’, Dod makiy pander , laws pyro Memory Co) Stevogy hewie : te Stovagy, od clater:: Type Ly \ ee Seton dowy: cae pee ad Conial ey igh Spaed On ts Vegi 4 high “Spd bef mig: So Regia: Small amoun) of Shivage Oweilabl on cpu uthue Contintr (an Auuwed mre piety 9 (othe Menrary L, Smal nigh Spud bulb mrumony Und de hold “ini bution’ Lepore 44S ” wing: | Z ‘ ' 2) Pymay Pray Muy: L, Aavge memory chick i fo “nok a fou Qu Anetcinad prowns © pave “dhivedthy “O.ues thes Faby oe an, 2 tee Pom Ram : CResid “Ointy Muro) 2 A Rar dorn Alum Samny) * Storer Anifemoie # hold intumatan Permanenlty Vis ipo é iw povanly » ¥ Qnbownalicn for voting otlernsas, mil Der]. [we] eeguble to Voting: ss (2) Seayth pyblem >; . On Aeon grb, he ans ‘an be arbi yary an, gen “Seanehe prabolam. Ju. cefined by,! . “ . A ptart stab” Geb. of, ste d ak atab ium ie ee + Ae Ey a booten fostker uthice Le Uihether a qian niate Jagat ee xA _ Aue ay duncien » : et + ase binge SmnapPl9g joe “ata toon at news Alot” : SA) Stonh wad in owmaal of Atos particu Aap in gage (3)- Counting probe : { ee Counting prbim prvide the Nambey at actukow 4 a gpun Acovh prblin. 1H Vsitw Counts dn Webpagen en. oy 4 Peopostation Count “X Number Of. folladen / Subs eviben, “in fas (u) OpAiminabion problemi’ A An Optimination problem Sy "Fhe “Pron a finding the best A elution fron all feast A clubio- Sy Find shovel peth “in Gudgt mop X Baud om budget 7 Purhare Online shopping. * dn function Prrblene +O ingle Output a expetid for every input, but The Output Move Complex than that of dedision prbim. eR) 5 ~ Operations Ain Atm Card — Withdraw ~ Depoait ~ Mam) stotenunl — pm Change eke. AL Gor ITH}. v Algovthm Ls an Ordered sequunu of finite Well defined inturiens fer Complcbing o Tak. # Ob dy an Englch ike vepreuntabin of logic whith 34 Ud fo dole th prbim: XO ds alp by otip pruduve fer avlving a tok ov Prblum & Gt jv. abo defined ‘any prbim uthone Cacti can be expremed in Aub ot exeulable Oo ow Anvkyurtion x Algerithon lan bé vepreantid ou nowmed Gagah, How chayk ond Prruclole ae - a = Alg oth i be, eaplony » youy namy- ee i) Staa nay 0 a) Get he name’ “ona dlppavtrrunls form you ‘ 3) Ditplosy nan! + ee : ¥) Sp: Fagen Among 3 Nu A rouge p> fruit meng 8 (ogre (a>) c (a>¢) (b>) tL TwN 1! ce b ca SP I Stark Stp 2% Pend th. hres numbe A,B, Sep 8: Compare AIB- 4 A i Grecia Perfom Slip G cle perfom skp © Stp Ur Cmpoe Bac. HAD Greate, Sop “A wu greats” alie output "CU great Then 35e 4 Sp 6. Stp Gr Compare Bic J BU Grealee Cntpue “ Ri Greate" ele oulp Fick Cop 6» Shp: Chavackenis bir of Algovthm : # Should be in wWwitten in imple Englirh a Each and enemy Junstyucton ahould be pYcuae Qnd Uunambigaows * Grvkwehow Th ago vftbn aheutd not Yopealed din pinitly- * Ob ywt Conclude opts a finite Number stip» #¥ Shoud have an end poinh # Devved Yeults Ahould be obtained Only Abtan the algorither keymamate » Quoitie a Algor ro £ Time > Lewy time yequired # Memory > Len mremory yegyred » # Acenay Sustobl fo Correct Aclubion oblained> ¥ Cequenu — Mw) be Aequene and Same Juwhuckon may be yepeated tr number of Fim of Unwd povhulay Condition 44 met # Cyenevelaned - Used to nohe Aingh prove and mene oftin elgorithn ave cletigned r tand 0 Yenge of input dala - sade Teuphor umber *

You might also like