0% found this document useful (0 votes)
49 views29 pages

Os Lab File

Uploaded by

devashishparth23
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)
49 views29 pages

Os Lab File

Uploaded by

devashishparth23
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
hers omer" (cru. _Fenenen: ——— [| im Spare ond Adare ropiemeat stent opoabig per | which ane Unik, Linx, minpo.ss xP cinder 3a a) Ee Linge hardenne sequent ee | Le Core 2 Dye 186 etn ti a Qe swab position ateast +66. eee aM for 32 Sit jem 2 G4 pit apeaaking system we 466 of iT hard dik, space for _projgam installation & Sto a srl and bog flex. Sofbsere requiremends aa ix {__sopported rot os, CentOS 6-7 and laskien = Deblan GINO | Linu» 44 and laden Debian GNof Linas (0:1 nck fades ofp |e le Mepere Unie Hashem Rigvivemenis eet _j. BAM 256 mb requirement Raitt 128 mb rinimum. Be 256 mb quailable henahocrne 4, eD-Rom deve. . $+ DCP/SP_Nehsork Interface, & h Youishant —_fnlemneh connection Teacher's Signature : , UTE fp PRY ee [| JOM Al 43.3 a SE 3 Son Solaxi 2-9 or 2O HINDoS KP sobhsone hades _Requicements:- + Mac oS tot oe lade, iPad oS 4 of pe Wiadoss XP OS on newer laden Andrrd 4 or _losen afer derbi 12 OM e 995(2 Mb of kort Br Br bt Sond coith eternal _gfpanters ov henstphens> #Babit Video capable fists ¥F6Q _vepolwsion _ S-Mdoloe feral Roschen TO 6s newer WINDO@S 3/9 Hardroner _@aasiremendts '— py Pescevrot § : Le fonken 32 bit CK IG) oy GH pit Cr Beu) 2. RAM) gg (32Bit) oY 20 4B Cea dit) 3 Display: Direct » 3 graphia esith “wooo MI-e Sofsoura _Raguiremeni Mienssft Windsor Ya_os . Tezcher's Signature :_____—_—— | | Aipte 1 1h tate Re won SE 3: ead He aunties of pres he O de tod fe bast Bre A prone ed fF ctle Ke wng Hae fe fresay Hie HUD HT 4 Ghate Se tonto ech prs BeLINDABLAD HEL SD diaute Me mange wang eye Meteend ne 2 Dapay He ake a 94 Date Page No 3 lapemina 2 ners t injects Hele oe paras ack fears wil! faceniy ily Owed Hi ae dt of Be prasad acted Vagrom - Panter, RAL en Jnagt hc poses 2) foe 20. of poe 5 In) eats He e bout oa ete) = BtCoS, : wef BC etb [tetera ibe wha etl Abid est co a Lt usec i at Un, £205 cen ies) a= Eat \e mew [tous = hf Yo pat © probe Ae tad ead Wo ET, tl ODD, a al eek, wel ae Ba ne no pref bend eee ey ete it ee poate Se ne cmp ne exe puny. wtfirt stl rtd Sar ee wen, te Lie] =i T+ other Wat SRL apron bgt Scien Ar ape ep one ot Pomp 3 Dipny as eo so snp Objectie= Ghapiemect cP Sted Bilis SE Hee antes (tina Bre alt Beja ik [et te tae baat tts, hn te dan jh 1 pear sh he extaiin He, and Ben ELS ahha ‘s (— >) Expt No.—______ Page No_<_______ | Date “| puncte He burt hme of the _freconses #97 piety fo 1); | Becctre5 They a eon eat thor bot me foc Cize scensina) | pos 2 ij : for seistty jen jta De a Tf cot Be 89) L OS so _ 7 11 Sesipping aM procuney at ere 3 pos | Jemfp = btl'3} bUiIe btCposdj bitposlederb, L fenpe pl ple peperds | __pl poss temps a _ 4 Teacher's Signature : ae, (eee erences | AE eli) WLE-D) rif Poem Sa fng tig te soa, | “pf NPN lA, A, DY) Be hint 20° tbat, [pacizeiseniieed oat te whe prewewertyayt = : Aon reer alee ateesd See men 6 gta than tre Buen TOY The hein fo fhe boat ime ate, pea lentectaae tapi Vyamen fe Se Inve a re veopea a pot to me Sa Epament 4 Gjent CS say Nee Bane 7 Hp fain he ri ee fe Pun Goings beat Ame, > ae Date Page No.—__=t______ [pane Eaten the tine duantver fox paces; | scant (Id Rgvant Jj oe ee rie printf iv ame Qe \t\t TAT TEX ouhing Time") = for Csom= oj troy yteope - te ‘ a ee jeond BA kerf C19 0) . - Sum > = 4 tempi) } [_ temp Lid =05 [ a totaly _ 5 ; else. 4 dem Lid 2e) _ §__femplid = berspbid-g vend Sum= Sunt Jventy 3 if Chemfa Li RB contest) t oo pring" Procars No badd Nt ed Med Nt ol" CH bt] ga LL sum-aSTil, sumed Ci] -btCiI)) wok = wots sum rat OJ -btld} fet = ded + Som -ah Jj Cownk 3) = Teacher's Signature; _ = - Date [159.8 Page No___2o ! [ |__else if Catlit (Jes Sum) - | The a else a Coy -s avg -ot = wt * L.o/ oP) avg - tet = dat ™ 10 /roP} |__| prinifc* Pom _ccrond me | ave-tat)) | prong Average aiding Hs * LP", aug) gekhU} 3 Teacher's Signature :_ a { Agpather~ ae BRO eae ST we cote os 5S Sok the prints and bumat dome in Ss onde. aes eee ee See ey eee ee Scent eee © ip a ae oe oe oe : Da este eee ere a fait pees eae Ani iy purer pri” fader Hs bush ime po % eeadeawan oak bse ny pe efi apenean. pie of pe) oo _ Date —______ Expt No. Page No.__c2__ | bno lids pro Jj nol lI2S, — —— 3 % By cicay Cen rt) to utfod +9} re Lod = belo) cotCiriD= beCiae WHLid elit = elias peceriyy od = wht wt lid] eLe te + eid; _ ase wi fay oo eS CVA 5 a ra . || print LC" Job EDEN Ot \L dk Xt vir We") for (izoy Cen) 4) — i pani’ ted NE “ok Sted Vt fd Ue Shel \n™ pasti), tC ACD, ENED » raw CID} pest aud =ohf NEGA = ef In") aus at 3 quer) Teacher's Signature :, ajar Write ou rom dy simulate Ranken's = ex orient 6 SS exithm, fe Hae __penpose of asncUlack avordana ard Implementation of “Ferune Mlocrtvo Graph | Legroom | F Include ] cvesounce 7 n-rercuncer it) ‘J renounce available Lj] = vand Cd 10} q L void banten (shuct Prowera * processes , iat Npracewder, Shuct Resource “vercurce) {int fish Enprocerserd) int safe = 15 foe Cink 129) Cen proceed 5 44). 1 finish Cito, 3 foy Cink {205 ( rerounceavailab/eLyJ) i Sede =O) beak > 3 if Gafe) a 1 for Gat j=0 ijé Yerounce 9M resources) +t) Teacher's Signeture :____———— Date Page No! | J rerowice —ravartoblel {| += procenes Li} -ablocahion Gd finishLid= 1 ee % _ - _ 3 aoe . 7 sh C Safed 1_prin¥ C’'System is not in tafe state-\a") Meccan : pein System is ina safe shle"), 3 int_ masa) - . Stet Pyncoms_pprocenper Lied Shuck Rerource rerounce j resource 0 =frerounrces =3) inik = 643 prcemes 19, b resource }} onken ( prcemer, 19, Kresource Jj tehunn Oy Teacher's Signature: (Be ee Page No 76 —_ Sxpbermtlen Pe Dmnplement file_stosoge ellocatton technique —" Gonbiquous Coie peda ) a-dinked -Wst (ust trked bist) 7 eee ee Proqrom i q - Sequential File Allocation Htincloede | He meme: wt createn he free shace in He meraicy couning extemal ‘ niedion, Proegresen = : 7 v Finclude Fincloelt < Sttlibh>d Stud Free Block ” {int size} Shoct FreeBlock “pext) } a Shock Memon Mllocetor {shock FreeBleck * freen blocks L | Void init allocator stuck Mertong All *atle 2. 14 atlocattor> fine blecks = notes | 4 Shock Free Block Fallcase (shwct Memon Miloertoe allocator ink size char Mpb. sretes Lif Cstrerap Cit “worst ") = 20) — rehunn ators wort fit (wocator, Sized} t—| else if-(shrompCf ik "hot")c=0 ) e -—}— Yetuan atlocte best-fit (atlocate size )} tJ + Teacher's Signature: a age if Chomp Cite shsteyy, fick! | rehern atloonbe-firtt. fit Catlocstor, size lj (foes ee fae Invalid fl way oe ee Ee rekung NULL S — 4 sunatesonnnis i. 3 = ruck Free Block *Fatlocade worst fit (trout Memongfilecater datleatoy Int Sit) {sree _FreeBlecte langert-bleck = Nubly for Come Cree Blak “block = atlecntor > freedlocks + block L=nuee 5 block = block—> next) {ib Chieck-asize >= size BR Clargent black == Nut} || Block size > fargert Sock size )) 2 barges Liblock =bleck} os if Cargere block |= Nuitd - _t shuce FreeBlock *neugbleck = mats Carzeaf Chock FreeBlock))j new-block—9 size = bergen srt block —> ive —sine 3 nes-blgck 9 next = Fangent blo cknext 3 ban geat-| Hock 9 Size = Zire} laygent—blec ke nent = neo - beck; oo vetunn fargeat bloc ja 4 else vekenn NULe j y . — . Toashor's Signature : ——________ Date. Page No. sagt No- ge No-_26 aa [lower fietlark Matloante tut ft Shuck reer filcabor ~ atlocados i> site) L__stwet free lack “bent fit-block = NOL for Cstwet FreeBlock “block = atlecsdoc- Bleck. = block > nent) - ? if (Beckasiz d= size B& Chest fit black: — S best-fit block size) {bert fitcbleck = black; XL 5 F Coestfit-block {= NLL) £_shock FreeRek “nesablark = melfoc( sizeof (suet fee Black IP New-blocke > size = beot- fit Hock size —size} neo block next = deat- fitbeck nent | best-fit-block * sr = sivey bert fit bleck—> next = new blecky | vehuan_hest.fit-block Siehbee a - . refunn NULL} tblocles )) block |= NULLS Nott &)] block siz 7 |__| since FreBleck “allawe Restfit Ghuct Memon Alocsdor Sallocdor iat se) | t focComch freeBlack #black “alfrcator-> spec bircka f= ett block = block noxt ) t—|__ tif (Hock—rsize > =Size) Teacher's Signature ;_______— >; a Date____ { ‘expt. No. Page No. 22-—__— FT] Teun block = Free Block Chock size = size)j |_ i bb leck size = Sizey oe | [4 C block Sneye = newo-Hock j ooo) i velonn Dlock _ ee a a | 4 = L refusm NLL} | S layoid releangC struck Mem cqfllacados “alluahor, such Sree Block “Block ) | 4 bloce» = alls blocks} iE eUlocedor > free sblacka = Heck; i | int maiaO 7 Inthe clo adur Ch albocatw), {£_shuct Memory Allecadoy atlecader, j _Shuct _ Freebbl k ™ York = allocate Ch allocator ,[s0," worst") printf Block size: fd" blk size); 7 releane CRablo ator block )) weduan 04 Teachar's Signature ; INDEX ir Pax Experiment Submission | Teacher's Sign/ Experi ge | Exp isso 7 Ss alae No. Date Date Remarks | 1-2 [3 Sofware $ harcloare reguiremrerds _| 2 _UNIX, LINGK, WINDows Xf, iL 7 | [| wimpowes 340. ___ Sorell — z = 5 Gaplemen tation of SIP Chu sql sl4le3 | redapes Seheclultng £ Gon ern ed Bot ty lo- 10] 4/23 | Rienet Kobin Se eclasbing, | Gonpplemen tein ae Pris wei] 4/s/23 | Seheealing | 6 | Vrnpiementestina ef Bankes Is 95] 4 /s)e3 | tw an Renown ck. | 6H Tacdaaa Gretph (ROG) + e-24 I )s/23 | Ft Gmbpementedina of fle Saceye. | allocative echnigtes 5 | @lomigvowr @ Linked Uist __ @havecr aVoesdion INDEX Experiment | Submission Toaster =— Page SNo. Cialis No. Date Date Remark 8 | Calealodion of Jnlernal aia] 6) 6/23 o 0. 2, § Sdernal frogmendedriny | 4d /rplementochon ¥ corvhiguow) by-24| l6/5 123 SF v —~ memory Allocation technique [To sand fr Bex rt anf ft

You might also like