Professional Documents
Culture Documents
Chetan Cs Cce - 2
Chetan Cs Cce - 2
Holk
eience Coll
e College
Indore
Computer Science
CCE-2
Name Chetan
class-Bsc cs 3rd year
section - M2
() static
memay allo cation Statie emo
mo allo Cationn
isPer fexm ed when the
e Gompiles the Psog am
and genexa t e
object files and Cxeates
file man igte eeutoble
m em6
memo for
executon I n s tatic
allo cation, the Siee
of the da ta
by the
proCess must be sequisee
Known befere the
execution the
O ce ss initiatees
i) Onamic
memo dloCa tian: In
dynomiC memoy allo
-Cation me mo s
at assia ned
SUn ime
accarding to the neeel of Aro Cess
Pna mic allo Cotion technique
isImplemented b
demannd
Pa'g and scqmen tation .
These e
ees tech niqu es
A) Con bauous
memod olloCo ti'on
B) No n
contguous memo
-
allo ca tion
A) Contgu ous m
emo allocotion In Con
tiguo us
the and
Prgamls do ta instructions
oCruPa
sigle Con bguos
memo axea.
also know nn aS
si09
u sex Con tguoss
alloCati on o
sigle Process
=tem,
th entree uses S p a Ce
memo
Advon eae u) -
Tt s Simple sohe me
g'sam mn a S one u se
Uses
PocesS
Unused
Main Mcmo
y
) Result to Poo Utilizatron Pad CessOS.
2kB 2R
myltele fA'xed
pasibon the
Partition s
Can be equal SIZe
unequal size
KB 2K6 2 Ka 2k0 2Ks
-1o K63-
Xample '
fo
Pi = YK6 P3 2 6
26
SRB 2FB
In ynome
Partioning-
parti tioni ng, nogiso't divided into
xed set ortton.
No ixedl
boundo o bserued the amoun a SP9 re
alle Co ted to
POCess in the exact amgunt of
-
UKB 3 k6 ICB 2k
UIHNGAHF No Tntwnal Aregmentot
to -
JOns
Ckomple
Ans Relation al Alge bsa proCedusal queo
Tt gives
1oRguge
Step step ProCesss to obtain
the resyE oF e
to Per fosm
jue yses Opera ters
gu csies.
) select opevation
i) Project opeesc
i Caxrtesian Psoduct
opesotion
Joins A join OPerati on Combies elo ted
sela
from different yres
res
Tela tions, if and
giVen ony a
JOin Con diton s
satis hed It is
denoted
n
R and g thot ase eqy al on the'
Common attvibute nemeS.
Tt s denoted b Da
Etam ple Let/s Use the Employee table
ER PLO yEE
lo stephen
So,00
Ja ck
60 o0 0
0 3
Has 70000
Inpot -
EM PLOY EE
EM P- N AME STREET CI TY
EM P- NAME
BRANCH SALARY
Ram Thfo s
syom Wip
2000 03
Om
TCS
Ku b e 300 g0
HCL
Qutfa t -
EMP- N ANE
STREET eITY BPANCH SALARYy
Ram civil tinee MU mba
Tnfoss
shyam Parksheet Co wiP 2000 eo
o m
AG Rond Oelhi TCS
Combinatton ss nR and 9
of
name S,
It Out e r
joh, tupless n s haue
Matthing
tples nR
Deneteed
Denot ed
Examle
Inpat EmPloy ee FACT-woRKE PS
inpu
A
70
H
D
NA