data structure

Download as pdf or txt
Download as pdf or txt
You are on page 1of 6

Rota stuuduwne

Phimitive hon - p n i m i t i v e

hold
6ingle va lue inLan
CinE, toak, cha,
doule) Non-Kuniaw
unan
L 6tack, Quuue, AHaY Lined ist
Nen-unuan
L Cnmphs, Thees,
Stach
Pop) add 1emove
Push () em add
Peekc) Hetuwnd
i5. emptyC) > check empty.
-fuu) chetk u
INF
latuen wul ontain a ateme Jsaluue, a t n t a alt
dos net hotdmultuple vaus.

Hulatuen must bL in INF all non -

Kuy atbububs ave tully


tunuenaul opundent enh pumay K
3NF
Rulatuen wil be 3NF, 4 t s in 2NF, mot cont aun inansitie
Podtual dpunduny. integuly
uLd do Lduu th data
duplitati en , do achitve data
no tnan6iti ve
duperdeny o on -

pmime atthibtu,
BCNP
BCNF a advancla vuAM EN 3 N

alhvu f having:.

Cori tion hauung ondulton us


lhwi eoLds
ws buone qnuping anemadle 4iding valus om Yr

stat blect 5ta t


6ld, 1nsutk, upolode
Atu, Krame
D9- *a"ytuluem
karguage. (Cxeatu, drep,Tmunca,
Cemmanls to duns thi dalalase schuma

DL
Aaa Hanypulaluen korguge (1 nsvt, dlltt, updat)
usl 0 Ldit tht data nsidt thu dakabase.

)pAL Data &uvuy kanquage Csluct)


9 t th data tem the talt

DCL
Sata Conbrol onguage. ( RUvtku, t1 ant)
doalalbau
to thi
ughiis a n d avmision

ACID prnopety

Atomiculy dosn't haPhn a


Entv bansacten Aaeu plau at ence 0

Censistune ih
must cenissanct btore and ata
Ti datalase
biansactuen
Isslauen wuneut

Mulbpl dtansactuen happen undperelinty


lhanothu
irtbraura
urabilily: has herpunud, Uangis slay uen 4
ereL
encL tansa cthen
auluw ocws afuuands
Aptm

RDBNS ttu
OHdu bileng to ene PULsen.
to- ene: ene
eru -

enL - many nd empany haue mutyl emp


have many w o r e praet
ana
many-Fo . many n n fpvuon
ach PHojLct
hae many wokus

Notmalizabon:
databak tabt unto Smallur
1 Alp lo dii de th lange

taltus and mak latenshp buluun hun


in cens i stunt dpanoduny
.

1t con HLmove Uoludant dataa and

INF, 26F,3NF, BeNF


m p l u m n

sm.
poymorphi

1 Lau Binding Run


tunctuen wvoidrg.
entud
implm
p o l y m o r p h i s m ,

Eooy Bindirg Ompile


unduen oweloaolurg

2 Pu viPtualfn: which on be
a

AA PLUrL
iutual n bl
olnual
but tannetb
Canned

dviurel das
thu
AD ovwloded.
be
3 scope Rusouduen (*) onnot
Membut Sttect1on l.)

4) ABST RACT C46


puHcalluy
dlsigned
dusigned
is a la
Class
*Abatnact

as
base class hon thu das.
uatd
o n be
instance/objtd
No
enu pwe
vrlual fn.
Lertauns abluast
Tt

5 FRIEND FUNCTON that is alleund to aCus


las
a

Lt is a und a tlas
6ome cda .

un tht
in thi
dota
dala
4 protected
th prival, public
mutual.
Not

3 6) thi pointER: clas.


o thu wunt &yuct
uhs
applicatums
web

A , anoth.
to
tharg on
e datakype
dataye

peeaung
n Py: dtyps
valus d 1 / valus
stone
AUO k0
3 S7S data p,
Bulit in

AiStu sami d RP Aon09a


ArUs) enlysom agP
ndy
A io sto
muleypi aype
dHpe nubtuoqp
a s t ,a s , wol mulpU
Arays to 5tor
usLd
anL lo,
AustB ed).
lunthanq
hl
immutua
Tupll and
l u t i
en

uae
br

6 Tple C sa
mutabl (Change).

mmuta b
slow
Fast
innt pHLLNE
noipauH updlat, dilstu,
poloa, due ,insnt
inko t
te Arpend- used to adiol I elumunt
# elumint uno ut
WsLol to add mulbpl
katurol.
1mmuuka blu .
8)Mutable

buple
alic

muarn
Pgthon erual pwspe arg
high-uurd lorguage, interptrtid,
So
usLd te Juld
opp aulomaic mm
Exupiom
Suppohls jIcts O Thunds q
Manogement

sus to use, a s1 to devinp


lasy
wo bsit, open 60uNCe,
duvugpig
(Eg: spoi(y.
Intpyeted lang th
80WHa Coe

un, uuns dutecky byone


2 ECuts
une by
with Lompi lalon
c l o c u m e n t

dsgn
EnthantemerphepoSal Hicial
PEP -

Py thon 10-th PENerCemmuunf


indamater
kov idus
5
COpe un Python
kj a
dituu occsibuuly
To accs p a t u c u l a n
at
vaMUale
Bpl

eulime
dunea
lud,
medul

oal,
tocal
with Kywora

y purauèr n
Pass ng
Null
onnul
0M
purauen
Pyhe
tht d onothury but n0 wnuttb
psus untunmU Ar eutu

empy Jlotk

Oduls4 Pn tkags wi
atsi sin
enRy,
R tom
Binple
PHthenilu

Vasiabus.
Moduill
VaAiab ls.
ad
gtohal
unchens
Collucuen

name):
myMmyMedult" t +name

This is Hy mooduulL:
pHunt
mymoduull
demo
Myoodie
impont Math"".
myMcdull (
a e m o mynmedult.

modulus,
BimpU a ihectoy
Pokag cotuctegns

entams inil- iu. Eg: Math.Ay


and a
Amponted
uattol unctuonality Coode,

yoH

dyint tht Inutante oyect lass


init
envsbuct on mahed n py then, auulemaucoly allocal
wtun e t uatud

dio
unondure s u
Ondune d set
accuseod via Kuys
accunedvia POSitims
Tupl
7OHdtr
70ndun ed
muttbt
immutalte
..7

allow duplica fastu han

Di ct
unoHolred

duroHdus ed d uninolextol
muutu ate
muualtu
KU: vallul avu 7 mot allau dupliak
7

hambda!
kake any
numba a'Jumena,
anony mous unclion,
but have one ugr
utunu
aHuumLs a paed by valu OH ky valu wid
i9 e t h a n ging
acual 8bject not u d :
valu. toty oht
Pass by
att
h achtal oject r' poaol w
RtLunu
Pass ky sulerena

dift betwunP Pc

Sounce ode i s

You might also like