You are on page 1of 13

Operating System -

UNTT -1
Page No.
Ass ignment -1 Date

h a t is an 05 Erplan the functioD oE 05.

Anvoetto An operating S4stem (os)is a saACDare-


chicb acts as an_ intectace betuoeeD h e
ene User ano Computer hacdoace Erer
omptuter_must_bare a t le.aSE oDe_OS
OHHerpngamiAD applica-
tofuD Ehe
LOD liKe chome Ms Word ameS etc needs
50me environment_ couch it wil r u n
ano perfom it_EasK The 0S helps you
O C mmuicabe coth the Compude
withouut khoLoina noO o Speakth e
ompuders anguag

b unctiong o ao ape.rcuing System

) ProcesS management i Process moanageme nb


heLps OS to Cëate ano clelete_proces5eR 1E
odso prov ides mechauism for 5ychnni2.ah-
OD ancd commuicoon amang processel
Meomery_Management -Meomery mana
ement modcue perfoms Lhe Eask af alb-
CaLkioD and de- alacahoD oP Me o met4
pace o pragroms i0 neea a Ehisreso-
UrCes

L E e t t mángges a l t h e i l e - related
achyiHes SuCh a Organnzakion Storage
Page No.
Date

leuadDamin9 sharing und pr0kecbonb


of PileS

Deuic.e Management Deuie mano9e-


menEkeeps hracki_oP a l lewices_Tus
ooduue aluo cesponsible o rthis taR
1SKhoco0 ar the 1o conholler

5ecuri y - Securi modcue pntects the


clata_and informatio0 oP a Computec
SYStenm againat maluDge heat nd
C wacze d Oee2S

V Ommunicahon lanaersnert 2 _Co-ordiOah on


an assi9 nment of campilers intecprekerd
Oncl an ther soPtoore cesoucce3 o Ehe
VariouA UseS oF the coMpute Systems
Page No.
Dnte

alhat is System _coull Ehploun Syslem Cau


or process management

Pntcoerhysteo_Ccull 1S the proqra.mmatic co0 ID-


Cohthacompute requeats a Service r o
t h e KerneloF
ofthe aperatina Sysem iE
1 S eALuted on A SysBem Cal I S a u e
programa o interauE oitb the OS-
Compute program makes a Syste ro-
Ccu CAhen i t makes arequeSt o the
Operating System's kenel

System_CalfococeSSManag.emeub-
fork ) _ O eate a neuD_proceS S-

o mcike the pmcesS


a_Coaui

to erminote he py0-

get pi d u_ Rind he ULique


2/.CeSS L
V getppic O-1o nd he poet
Pnce3S o
PegeNo
Date

Partut
Fork C)-

ut Status
eit C)
pare ntE
Fage Puo

3NorCuS bypes of Ope ating Sshcm)

Batch Operctting3iCt
u s ty2e oOporaing Systemole
A eracE uith compuler oureeH
thh Lake3
iherei s aco opesator_O
[equwfOeu4
Simulac jobs hevingSame
Ond t h e m i n i n batche2:b_1S

he e&ponsibilih ak OpecakoC oSert


the jobs con Simuon Needs

QTime Shocina Operat1ng Sslem

Eachtask is giveo Some imeo


ehecde i S that c the lcoukcook
Eac user gek me o CPO
SrOaf
AS the Use Sngle Ssienm hese Sysiem
are aUAo KnstOO a m t i a s kkina Sysitai.
T h tO Can be 1oO S10g1e t s e o
oro cufCreuk Users otls

Dishcibulcol Operating Syslem


These iape f Operting. SysheD
S [eceut aovancenne u he
Oopld Coopder Aechno)o9 Gno
re einq coidelyaCCepee OVer
the acof ondhot o o i t h a great
OaLe: VarOUS_CLton O) wteCCOLAn-
Page No.
Date

ComputerSCors Unicae eoCb ofhu


ectee netuoNX
n G Share ommY nicaio D

Neuoork Operauiug Syskem

lhese u3em ryn aD a serve


n_mangAe
and prnide h e CaPabiliy
gcouPS SecuPi y A2p) -
clada(Usec
0then DeBuoocking u C i o a These
ne s
y p e o F Operatina SyShem_aloce
Share e Oce&S 0 le priuters Seru
ri appj ans he ettoacking
hoa
unciong. orec aSmalU prNade nY
Page No
Date

bat is poceRS Hoo Ore pcoces5eL-1e


Created ang ermunateo
2
A_proce sS iS Somefing thcut1S Cureul
undeceecutio O S0 aD ahVe p0gram
CaD ae Calleooa pDLe 3S

ProCess Cceation - e

hen a ncuD poesss Createe 10


Operahna SuSLem_SSiang a ique re
pocesS 1eleuilÄen P19) bib ond
IDSecES a DeD e u y iO P a m a n
pnCeLS a b l e
he othe _ceqie o mesme n Spale
oca theekmeul oE poce8 S Suc
Poqom c a t o Gno Stoe ISclo
ed incduliLa, Space Ranspcese

liulc tae pmce2s sche duliua queue


and s pmces Skate_caauld be
Cnang.e o o m neD to Reaolu
NoO poc e2S Co napletila
CRU

LC) YCoce ss ecrauna


hon

ProcesS are emnateo b y


heoselve Ohen
Page No.
Dete

eneuhua eic loat statemeLAt


theDOperoung Sqsle ) use Cut)
Ssien call o eut the proCC33
heo o resource3 held by fhut
pIocesS k e psica gnd uirua
MO et
u e taken bau by Q
Pege No.
Date

C ite aboBe on race Conduhon

A race Conoliion is GD undesicable


Situaio) thaub Oceur oheD adeuLe
O Sqskers)attempB Dperocm 2
0C more Operationg c t t h e Some
ame but becauSe o natyre d
the aleuice orthe Operahng SaSi-
em Ehe apecation must be done
0 ne pupRS Seque OceR o be obne.
Corce cHy
A Simple examplc_ ace Conolihor
iS a iglat Scoiteh 10 Some home fhire
Cre nttiple liglutCutChe C00DCCdre
f aConm)oD celiu liglat e t
Hee pe o ircua ce us.eitae
Sait pasioD he co.me iroalauk 12

ao i (umeut_posiho0 uona e
lioAnt SimlarlyiP Ehe \ignt isa
i s Cure u posi hoo urny Ligut al
Simlar *e igAtiS Haen
moin etteC SuiBC n m ds CM ut
posihon urn cAiguct oA Ialitb hat
ind.magine a t happen iH hoo
peoplehnedo uro 09 e \igE
usin o oilfecetSwik he a ena-
OAa e Some
Page No
Oate

Explaio be AersS
Proce ss A_ proceSSi Serie
EaChon cdluch ace corned Ou in
Orclec0 aCaeNe O
poricdar rewlt-
CesS ISan iAtance oF a progru

m.canG aSka turo usec 10


Some Operauhng Syskm.
Acolces Adscess S a ocatio O OC
Space cane u%e Cgd SlnLELhe
impia nt claka o ile3 o he
Vorias mats ike_Poi Game)
SeLooe oulic Vide oS

Space 5paCe 1S MCO0erqin


Ehe barddcC Cu s ocate in
OurCAOPUder SNSie M Gnd e Cad
OeeS that me omeyoC Sho cago
sith fhe hele o OpcrahugSsiem
i ile iles accnotking t
he chca
hardlive_The ilk a r i n oiy
ocmat ke pogOD1e
ilesdie
Chy 1le) oumet i S e l
Page No.
Date

HoD to mplemeIAt hed i0 ne


Kecoc Spaee
UseC_ SpaLeand
imp lemenhhg

threabl
To Uer Spale
n Kecoe

Thread imple menaioO 0 he USen


Space2

implemenlatiod
To his mcdel o
paCKageewirelu 10_Use
hreds
Space h Kerne hoA No i dea Chout
i t _ A U5ep eN{ hoeds paek age
CaD be e n e u t e e o 0 Gn Operakng
Sytem Lbcut_doeso't S u p p o c t _ h c e a c 3

S mpleDenaioO mocle ie ThCea-


as pak.age 10_UseO_Space

hrads impleopentaio0 0 Ehe


Kernel

1o this methed o implemenkadi


09 modlel_the hcecelS paKage.
Comple)elui n the Ke nel hece
1S no need Kon anu run Me
SusterDJo maAtu )_the re o r
e au hce dol iO he Ss\em
Page No.
Date

a kernel ha a thread toble.


ACal o h e KerDR IS mo.d
cheneC t h e is a neeo fo create
thcead00ole3ho n enising
heac n t s theKernet h e a l
table iS polot e
Page No.
Date

8 klrite a boe on mutua eiclUSio)


ancADD i s ioplem.ewted.g i n g
Ccitica region

tuad exlwioo is a pmperh ok po-


ess Syochmoizcution cliclh State hot
Do h oo pcOcesse Co0 eist in tEhe
he
Crihic aseotiod at a e n paiuoE
hme he ecm cDÁA Ust Coineo
b DiiKaa Any pceSSyDChn2-
ouhoD4elaniaue being ded oub Scuki-
S Ehe poperhy oP mutuad eA
Sion
Ducin C0Ocurce dt executio0 oP
pocesse pOSseAeneed D enten
the cica SetioO st imes LoC
enekioo:1E i g u t S o nappe D hat
becaWe ok Ehe e e c h o o o muldiple
procesSeA ok cnce ne i d u e s _Soe
DtM-e ccithca Se kio) be eame
iDCongisheut n otier aocell he-
Value) depeno oO heSequeDces
oP execuina PiOshuctionAalao
Knocod a a CoOciHod he
pnmar a k o l pmceS Sqnthon-
12ahos is to gek rid of Cae Cond
ile exeuing Hne crihca Sectio0
mutud en WIo O

You might also like