0% found this document useful (0 votes)
12 views7 pages

20 DBMS

The document is a student assignment focused on Operating Systems and Database Management Systems, detailing various process states such as New, Ready, Running, Waiting, and Terminated. It also explains the Process Control Block (PCB) and memory management techniques including FIFO, LRU, and Optimal page replacement algorithms. The content is structured to provide insights into process management and memory allocation in operating systems.

Uploaded by

ayandas89006
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views7 pages

20 DBMS

The document is a student assignment focused on Operating Systems and Database Management Systems, detailing various process states such as New, Ready, Running, Waiting, and Terminated. It also explains the Process Control Block (PCB) and memory management techniques including FIFO, LRU, and Optimal page replacement algorithms. The content is structured to provide insights into process management and memory allocation in operating systems.

Uploaded by

ayandas89006
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

SUPREME.

SUPREME KNOWLEDGE FOUNDATION


KNOWLEDGE.
FOUNDATION
SUPREME INSTITUTE OF MANAGEMENT
ANOTECHNOLOGY

CA2
NAME :NDGIDHI KUMARI SINGH
UNIVERSITY AOLL NO.: 36440423020

UNIVERSITY REGISTRATION NO. 233642410127:


STREAM:8SC CYBER SECURITY
YEAR: 2rd

SEMESTER:3rd
SUBJECT NAME :OPERATING SYSTEM AND DBMS
SUBJECT CODE :FYCYS 302
Pance State.

A roceas State (Rcpreaends tho Cerxomt Statits


the exe cetion on am
Dopnatimg, system toceae go thvangh
Suexal 0sttes as aoc0aled.
xe culed and texmamate.The.
States incleede:
1. Nec)i The
The process is heing excated
proocess ees bet has
yet Statted exe ceitîdh
2- Ready:The es
proce
tueaitimg to ba. teigmed to a CPU.
3. Renning The pre is ceterdty
orn ho CPU: execetn
. Btoceed (eealting: The pTecoaa is eaiténg
Some euent'to
tVto 0ccey
0ccee biexe it canl?
oceed .
prsoces

S. Temmemated i The. proocess has kenshed erecition


and els Iho
ueaitin
Ststorm
.Sespended:The. ptocess
The
end Cam kb Usen

The. operatinq mamogei cthese aatos


lo eientihand
meltiple Proceas.

()
Elabavate tthe ttorm PC8.
he teYm Stamds PCB Stamd Jar Rxotoss Comtva
B26 c.tt xtLtal data Vsttctexe tLsed

the apttating, ptem te amd oonleot


mamage.
Pxncetach mee has ts attnpCB,tuthich
Stares eskential inarmalon abect the pr
State

()PoCers
amd
a PCB
ereceitien
mcleede
Cernlext
y compenunti

Stato: Indicale tthe exemt


the &tata
precess (CqVmmimng teealng 0ady)

to he aoce
(i) Cauntey alds dhe addess the
cinstealion to be. ere cutled
((v) CPO Regeteys: tares elhe precess *
ualtees, oncleedimg gemeral-
ng,genexal- ppae eqatkes and
Special prpae pleogita
(0)Memay Mamageemtonjazmalion :ncledes
detas adaut uhe pe
pro memexy ceas' llocalcom.
Cuch au base. cundemet vegiteu page tablex
tables.

u)tceeitimg Iramatiorn: Recaxda dala exela tod


tto the
PU erecm!
uit)
tome
Input (utput atales cnarmàlio
intemalion and enpet latplt deuics
:
Conains
atte cated
eSt alets.
trecas amd
D the
PCB
The s
emndamenlal ar comtext
tSch inualue Sauemg, the Slate
tho

a
the ot he rot po
preces
ceu
proce
and tbacing
clo be exe c)
shot-on=AOto g
Sweet (2
nd
icentl,managa
managtitkings
Deeme wavintus Dage. sblatenant
teeth eramplo
olgaihn
Tage. xe pla cemont alge xithns ae cesod m watual
manaetems to l decide tithich page To
male en þhyeical, Celhem
mematey tthemn d ne
paga nee di to beleadad ohtk
cthere s no

pag xapla al
cememt algacits aleng
aleng
uth
) FIFO
•Des cxiptorn
: Eit-In,Fist. aeet
:Page, axe replaced im the ndey ethay
bateghtinte emarg The aldest pag
mam
Un mema
•&ranple:U
lhe and cthe

Sppa. mem 70,1,2,0,309

Pogs
08 amd axo. elaadod umto mamaxy.
page omced, Page the
tlaed by 2l.

(t1) LRU

Descxipton
::
ptaced'by
toaut Rcentlg tlaed
The pa that has nat been tued
fer Ithe time c optaced.
lemgest

shot on moto g

Sweetsone!
Sep 16, gg 10:c
•Example
* Fey ithe Sama. memavg aire, and
7.0., 2,0,3) (2.u|:
fages7oamd axe claaded nte nom.:
tthon a cejeromc ad , f7] ethe iteastedecentiy
tesed) xeplaced
tethem 8ii cleremee D (teastteceritly Lod
among OVgU)

.t
cepta cod.
momg 9 eplaces oj. tiehich coeay cthe Coant
the
similabsd
Yecemille
atheng
(7) optEmal (0PT):
• Desexiption: Rslaces the eetl nat

TKÊ
scdy
be cesed ax cth
stbe cthi leme
longet tne
ctheaiti cdl. best
in the
butqeereb
Leteexe

eitexa
the xeexemce catimg
Cattan
knauledg
•rample :
• teeith the 3 amd

Page 7,(G amd ae cniaaltuy ctaaded.

tten eeatex omced. iplaced


net bo. esood aeen
bocaese,
tke longest pexied
„iepla cad becauue

For .(o ptaeed betaue, t uitt

shoton moto gso


Sweetsona
Sep 16,2024-t00
(U
((v) ceock (Secomd chamee) :
Deseiption :Pages ceeela
each phae has a. voforem ce. bit. Peges

teteile baes cth a i qet a. Aecemd bhames


amd theê cleromes, bit U eis clearod.

,0,1,2,o,3,4):
fages I.gand aeelanded.
Racremn ces beG
tnitiatlsp cact to kav all
Vpaes
telhom

eeleromJ, be a
eechexemeed,
cemd chamea
ceh.t
ces opla ced

eeset eeecng the clock seeeect

5.FIFO eeith emchameod HamdtimgTeis


Qucte FJFO):
cemto to eeeees :
Clhat
hddbaen exaereneed and
me thoe hat hauem't aqba axe mated

to he eomce, qyeeela tethe

shot on.mote-o0

Sweetsona (s)
•amle.i
trith memtgsie. Band foenea.
cstxin
0,1,2,0, 3.,6,4:
contlatt lead ,6, T

Contemeee
adea n ethe'apopiate qs
Theie algevitms helps mamage. the Contamti

a mma to ofotemize

auailable ceeaoeyceu

shot on moto g

Sweet sona

You might also like