The document appears to be a collection of notes or exercises related to operating systems and scheduling algorithms, including topics such as memory management, disk scheduling, and process scheduling. It includes various programming code snippets and examples, likely for educational purposes. The document is structured with multiple pages and includes teacher signatures, indicating it may be part of a classroom assignment or lab report.
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 ratings0% found this document useful (0 votes)
6 views28 pages
OSfile
The document appears to be a collection of notes or exercises related to operating systems and scheduling algorithms, including topics such as memory management, disk scheduling, and process scheduling. It includes various programming code snippets and examples, likely for educational purposes. The document is structured with multiple pages and includes teacher signatures, indicating it may be part of a classroom assignment or lab report.
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/ 28
_ Date
Pape No.
sbetiesn oa Computer tse kth computen—
rHanchusone: Ht manoges alt the _doncolsncoa —
a 5 n OS « a
[nents ex etitten ofall _prqpeams— __—
[ _f te 4 fs
_ fag rina 2 _othin system Softimanss.
Esomplss_tf Various OS ~ ee
| [Funatfeasaf an —Optinding Sys = :
A Spel tg _ Serpe fae saniipte——
| effereni
i
ba “Suen ponsibilities The sl of Os
> Om os +f _
rt
} 4
LL Teocher's Sigrchres_
| compilut assembler text editor
sysiem de application
Ssfévuort
open
computer
hancdwarnt |
|
|—— - = - Date ____
~ gt, NO. - TT?
| esp’ a Page No. 2
| : = ——===
fy) Memony —anapemunt=
| ——————~Tn _0§
: manages —AMtmaanyy —marary—
r Lor -mafn—oumory «gf area the | -
~ afb se -
| tt 08 aetna orcs tn thf
[ d 1 Ay
[ t i, Ae Spo R
|_a)| Deuter i=
L Th: OS Awitt Commuoicatian vio
fis Suespective —onivens Ht erp: tenck of alt
i ¢ A i ewan
ts oils oe Giieie, ike . Bilis
Cheestons offers tue ley Controls een; 10.
1 | teuters and banalles Te) ents a vonfores
t ment — _
I an OS Keaps track of. oformsition
Teacher's Signature :_ Date
_ Page No. 3
——— pues — tht __cneation , dtletfon tronsfer, |
Pye — Storage — Of fitles. tn. —an___organtzech _
pen = Contes how lata ts Accesns df |
| ensunes chert asecunt, ys
ht — OS manages & attacates _marary |
| CPD tire 2 othin Shandivant .nesopnces “|
| ——ruantng on atlas __Compreter
[Santa |
| SOS tists passuonret pnatectian to e
| user late 4 z I
Teacher's Signature :Swi | ig * a _, int €h)
fist temp e* aj
age *h;
* b =temp;
eid sSosttrocuss (int y, int atl], tt bts)
4 for(int 120) icn- =.
§ for (tut 42 itl ; jen 3 fet)
4
it fot Cid ot 73)
{ swop Gotti) ,& af T7]);
Swap (& bei) 2 Se riy),FDate —
per aa Page No.
| teil Si vee en A
_for (int foo ; Lan) te DG
——__—___ ee CORE) > bt E77 + wt TiZ}
$
=
wid ind vo Time} int a List b
[ut wt To), faery], ctln] +—fotal _wt=o pial jat-o;
SortPyoceus (rn, at , bt?
A £0) bing Pe FL a dD
(
ind nArotnd Tim bt a
print? L“ ind \t TAT VERT \E WT \t TATA CT\n"
for Lin 1-0 _j ten ; ire )$
tntob owt £2 weird)
total to++=> soli);
z “Py +
lyee - <<<
———_printt ("Awarnge waittag Time = %-2—\n",
____(Finat) toteuE /n 2;
——Scoup ("Yea") £n);
eee
jortintf Cou prvivel Tim and Bunt Time ‘\n):
a
fot (int f=0 ; jen ; itt 9
: ele, 3 vival Tree!" 194);
s Colt, 2 arrival Hr lily) |
print Phd , Surat Time i "') (+1)
:
“|
|
Teacher's Signature : —_ "71
\Date —————-
<< )
Page No.
= iii inyienentat net, hep = Roboinschvebecling eubyd.
—| Round Robin (RR)
4 lati Sek oteabuing —atjerithm —, 8 —_reta ta al) |
tht panes dutmcating etch — me _téme —__|
— ti sitee ot _ “quanto” —Argancl ip Stak fet
—|Progran Code —_ _ _ =
___Btfuclerole < Stetio. b> —_ ee — oe,
—HEtuetaide eee
= reicl Piel wotting Tiras “Unb abate), int oD, dak chet
— at quoutium) > |
- tut yn bt Eni — ——|
a —__ferfint thoplenyitedg ————|
— Am btiid= btteyjyp
Hk Sg = el
——__utails (15 ce ee
= ‘hovl ollont = trup ;?
_ - for (int feo sign jp rtr)y
a fe I GE
chonk= fats;
J = Af Latin" beFil > Guontum)9
E+ = Quamteemn 7
dum bt li 1~=4qusntum; |
i
: ea fF
{ ett nt -
: Teacher's Signature:
| 44> gum_ clil; : |oid findTurn Around Tr pint 9) Jet bel, int wt], dnt
— tat fl) = _—
3 Per (int iso; ven ptt? _
= _ tart )= bet) + wt fT} — 4
pYetd _ findlewa Thre Cit ofr DIT, (at quantus)
int wird , jotte] , etln] , totalwe=0, fotettar=0; |
aoe (n_,bt, wot , th, quantum); |
find Tin Ayound Time (1, br, wt , pat);
priv (“PW NE_BT\t WT \t TAT \e tt \n"))
fev cimr Iso; fenj tri)
4 ==
fetalwt ¢~ wtlt])
fetal tat += tat);
“printf (MP Yd Me Spal x AU BAEZ LY AVR", it,
Teacher's Signatyre :ath, a wot ms ot wis - __
ir |
—— pel jute f Phung “wdacitang “than = oO fn” ” Cfteot )tovad we | \w
— fait Ldap Tan whee Time 22g Wn" Cfloat’) total tat nb;
: | oo
Tut maotinl —_
5
tat 9} —_
- point? (“Euta tiewdu ef prncire: ")! - _
sunep ("rd Bn)!
Cut beast time fa]
prt ("Euhs Benst Ture Ants |
- fer_Lint feo j lanj itt) : |
Fpa POP Peas
- Som ("Aah ne
a t
| —_ tt — Cf bisa i
penile Enl quantum !*)p
| Scout ("fe fg So uankuyg >),
| tid w siaieiaianasiaiailias te
Teocher’s Signature:~ Tob First ($F) ~~
; —Shompt Jel = Fisst __1_ta__SeAueluting ting olgerithen ___|
: thot ster, proeus fort __emeution am baste of a
—— HE tucdirote,
+ Unick sett Cin) AtooIte) pat bP
——__tmlfuto, ins tee de
vet inotex= ty Sea —
To fosfind fait! j ftp ije1> oe
a —— if tA yin cA Pinelung 4
L Prete = ; _ _
nt peng AI
ALCP Y = A Pincluse TT |
Alimdex TC] = bevrp }
i _ temp = PTTL! =
- 7 ASi] fol: Affine ][o) »
wCraex [oe] st emp 5
Linicl taluiaibrs Time (tab aArooTrud jut n, tat to
2_fArei{2) = 0, —
Teacher's Signature =Dae ————
[ Fare No. Page No.
forint be oj ise Sind a
fo nriyrey ses oo
fer time foot fe j« [+4 __
a ite ee yp
Pf pgp a a te)
4} ___
he —
| eat oni 2
feud Afpol ful: ee
|
[ Peet? ("Fut potonlies 4 procs, ity
Seomp |“ dJeol " Jan}
patate (TEuter Gustt Timi + \o')t
-fes_Liut fro j fen 5 tHe
T_puntp pe Pea: "y tet)
Scand pted", RATIIMD),"
ALi] Tel = isa)
} —
I
+
Sort CA nt
a ces £ total);
| sup tek Cfler teal fn;
Toachor’s Signature:Se - Date
Expt. No. __
[otestso :
— PS ff PVE Br Ver ETAT ECT VA est
= - OO >
=o) _
- tis then) |
| tos tint in 4 fan fiet) __|
i
4p rita) = aq) 4 aridied,
—{—_______trrat += ATIDI32; — 4
| eho ts ATTN
Privth (8 P wat walt Yea \t Yat lt Yod \w]
ATI16] , Ato} ,Ariye) , AGT ial ap
. : 7
Avg tat = Cfloaf) totat /n; -
|— peat ep Looe wet g Tint = Pe 2frre ") cua. ust ))'|
prcalf {> Biitrage Tush Arpuntl Tims 2eof \n" ave. tal y,
—} Abts Op Se —
| ee
——— a
Teacher's Signature :> OO
Date
- pxpt. No. 05 Page No. Lb J
= ——
dn Fors Chiat Come -Fiiat senve) disk scheduling the;
_facgucctt_ase proeedsed in the oxdos in ushich they;
Osetiee , scegand tos 9 thi tocmhon of cygendoxs on —
| the cltsk _
__| #eanctude 3B > 188 —> 27 —r 19) > LH 124 > 65 43
| | Leckod heod movement : 640 ayndvs
|_—E_(Shedid fork dine fest), the disk ead.
a Uuquiat that ip _clewnt 0
Ate.
SSTE_dusk scheduling
itr'a head paittion oe
UT hs
Teacher's Signatureas
Date ——————_
om ar i 1 f
puny _(" \n Oar oy Sexuicing the suqueats * (nl
— pany d" hen) ay
= in =_INT 5
_ poss =1 i |
» foujeo, gen, jes)
Sn aan
iy tay "
nN
camel xequast tide head); |
ints) mow
|
I—_ Date
bat! ae Page No. Lt
na
_{ Int moy t= kal head = (aize=1));
head = aim - 13
ny (Yd 2 tend
Co
a
|
|
= t .
\
| thee
(Su eesen er
int ("Yad =>" ibs
dnt! may t= obs (hend = equoat Ti):
=
L } |
i heod |= 0) |
[ totnt mew t = abs (head -0)i
hend = 0;
puonty (yd -7" head)
}
eer
Teacher's Signature :ee EEE —— ll
_Date
| apt No. — - a
“Page oe 1b |
you tte titel jane ride),
elt ———
ET opine = me Chead = requuat Li])i ——
| | fiend = quanti
Teacher's Signature :OUTPUT.
» rumbo of Alek requedlt 8 +
rhe dle LegUad ARQ UU +
123 $20 V4 9b24 4065 (64
suibm head positon + 53 f
ry botat dick Wve (max track cubes )} 200
| rtp dbection (4 fo aught yO YO dyt): £
|
Oder ef cesuuicing the vequelte ¢ |
be > 5-7 67-7 OB? 102 —> 124 > 1B3 —7 199 —> 3714)
1
ia
in inp! heod movenent + 302 tynd ouy
CoP ye nk feo fend; dee)
(| poe Lint jit} en jt)
Date —
pt No. ob z
Page No. 13- |
| GRAM 08 CSCAN DIU SCHEDULING
ceStAN (Odeutor_seon) iy p vaninbion.
shat Saath then it png hat Ih int
_wdhout—auuuteing any equity dusing the —aeftn.s® —
sit
> aw tjl){
iy Lown
int temp = aut [ili
aus fi] = axn i] |
ax tj] = tmp }
Teacher's Signature :a _ Date
Page No 20 |
=< ———S===_—E
( unk te Ent; 1
punt, ( tnt. the dk nequadt siquince An")5 —
qatiso; feng ised g 4
_—— na "Ya" A neque Fi); —
“Wa", £ wy )s
\\\\\
L1\\
a
Li
i
-
break } 1
_ |
puny ("\n ord of souuiung cthe requests (eco
+
L_| youli= fd nj ier) t
L_| CU a >" wequest UI);
Cars aut : i);
NI Teacher’s Signature ;Date ——
Page No ah |
Teacher's Signature :OUTPUT
a
fay numbed of Ak sLequLtly +8
JUntu the duk sequal £equence |
Mp igs St 422 44 124 65 64 |
Sent. andro head, won 1 §3 La |
| tnt Sata ak Ok no se 200 |
|
|
|
Oder of seuuicing the veguutty (> SCANS!
BL > GB-> GE BB 129 12H BE 1449 D0 9y
> 3t
eto) head monument + 32 cylinders