Date
Page
Assin ment
No: 2
Descxibe the difterent stattes
ofprolersin he oPeratina
syrtem ife cy cle
CesSes are
2Thecta te2
sta te o0 t p ro
follow!-o
as
Step
thi the
ONewi I o
is
process
to
abautvto be Crea
tedbut o9t yetCreated.
i) T is the progra m that ir
preseotin secao dary nemary
that wsi hepicked up by Qr
to create the pro cesc.
Ready i- A£ter the CYeatian of
a process he pro (ess enters
the readytate ie. the pro
loadedato the the man
memory
i2 Pro (esrec that arel ready
for executHion by the CPU
are maintain ed i à que ue
Called ready queue for Yeady
rolesles
BRuoi-The praterrchosen
tram the readyaueye by the
CPU fro
fro eXerutian ànd the
ostructionssthinthe pro ell
are eXe Cuted byany one o
theaalab le CRU C Cores
4Blocke d oriwaiti) wheneves
the Pracess reguest aresi ta
I/o or needs iaputfram the
userorneeds access to
Criticaregionitenters the
blocked ar waits sefor the
state
)The procers antinues to
dait iot the mainimermor y
doert natreguire n CPU 4
) Onecen thgTo operation i
Completedthei procersi goe S
to the eady state
5)Texminatedi- Pracessiis killed
as awell as PCBisdele ted.
iD Therea SourcescalloGòted
to thetpro cessi wll be
re lea Sedol or deallo Cated
New2 292r Terminated)
FodoFn teruppt.
admitted exit..
Readyischeduler(Riunning
Dispa tch
Llor Io
Cample tio n waiting even
watt
2Explaini Process control blor
CPCB)and hyis itiimpay
tan+ 2boO
QEach pracesrsrepresented in
Block CPB) PCB alo called
as Tark cantrol BJock'
2PGBis aLdataistructyre
main tai ned by the opeta tin
syrtemfor every Pratece
RC containt manypiëces ot
informatlon iasaciatedwth a
Specificstpracessi ot
OhePc-ioplyie Serve ar the
re posi tery oy lhny jaformatea
that may MaYy procersito Praeld
PCB heeptracks of a procel
as lsted be lou
basicnegistr Pro(esS state
Lit reaistPrócess Namber Ccurrent) Po,P.
iN) Pade table Program Counter. (Nz+ iostryc address)
i ) sednenta?PU Regiter
ta ble ceu'schedyling ioformation
Accountin g ioformation CTime
request to execute Proless)
IIO sta tue: informaton
mana9ement in formatiorn
memoTY
Date
Page
Q3 meafure TA T wT by.
applying FcFS andSTE
’DB FC Fs algothmi
Process AT BT CT TAT wT
P
|o
P3 Jo2
Py 202
|PP2P3P4T
(o2 202
By SIE algorithi
BT CT
Process AT
lGo lo2 lo2
P3 -lN
2. 3
203
200 loo
J 2 3 lo3 2o3