Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
17 views

ADBMS Assignment.2

Uploaded by

SAMRUDDHI DEVKAR
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views

ADBMS Assignment.2

Uploaded by

SAMRUDDHI DEVKAR
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 10

PAGE NO.

DATE :

Assignment- 2
oExplaia with suibable exomples,bbjeat identhy,abject sbychue f
ype consbuctyn 00DB..

Ashject Identitu

-Tiso lkey part fx definingon objeste


Iaan 00 sysbemeach abieet is asigned on objet idenhhey
(0ID wben it is aeated

)Prneriesi

-Daiaueness Lmnutable
Syshem Crenexated Lmuisile
-Lnvaiant -Long Zateges
Tndspenduat
Tnplea.ania ban'

Ia GoDBMS, b, sing Naiahle nane & poiatens


foy 01D cosld be physieal addes in the ucess Demory
spare
2 Obiject Shuchrei
-Ta ooDB systoms Sone bype canstuchng ee used to aanshuk
the basic. data stuchrâng opevotni are cambined fy Cam ple
dbjeck shuhr
PAGE NO.
DATE :

The fuma

where
C= Type cansbauchoY
V= Curent Vale (obËeck slube

O2=(igats, Suhas
O3=(ia, abom, I))

3.Type CanstuchY

Ihe ype canstauckx is a sbauchvsog opunban which s Váod ta de fae He


stute ot an abject in 00 databases.

dehae ype. nameibupleFnamei sbing


Mnameising
shing'
Lhameisbiag;li
PAGE NO.

DATE:

Descabe the concepfkacapukkian &Lahemtance in Chjiek


Oyieated System

Encupsuakon is ohe s the im pehant charntemthes ef gO


sustem.

The idea etf encapsulahnin prbaxcmhing lnguaqes sa comesfam


aabract data hypes Tis is elahed h the Concegt of data
hidiag cancep in 00 languager
)Need fn Ehcagsulatonic

-To distiaypish bedwaen the specacohm &iplementaian cY an


operokan.
Madlasty is nefessay h stueare camgka apkcabas desiqneda
inngleamented bya tean a pmaraam YS
-TEis ass necesson, as a hal hy patechon &aythazaten.

2.Taheniance is a mdameatal concept in 00.sy shems t is the


pncessa cemvieg a class bm Qunahes class ycveaiga hieyaYchy
ot carses tha shae attibute &methads

The class Hhat is degived famie caled a Supasclass ox paeat elest


The class that is denied is called sú belass coY child clas.

-The chid classill inhenit all publi &pnbeetel mapentiesk methsds


c£ the paent class. Ln additiah, it can alsohave its qunmettods
popenhes
Kemard'xtends' is used,in inhevitance aperabns.
/ PAGE NO.
DATE :

QExplain aduantaçer k disaduantuge s of Objet Oriented Da


As Object Oiented datbases (oDB:) store Cambine
| sae datuk ibs atibutes within anaaject Jhis naeans all
is die ctyawalable.
selatepoala
" Alucuntuger of GoDBEr -

- SztensibilibyExtensi ble ith custam databypes


-Pextammaucei Iopmaved madeling capabi lifhes, cade nuusabilie.
-Conples dahi Cample dat &usidex vazieky of dabatyper thant
MyssL dahubypes
-

-Lategra oni Senmless inteqrahin th 00P lshguages.


- Madellingi- Eesey madadunced neaodoblems

. Disaduantuges of cOvDs

-Canplexity- Comdex naigakonal systenm.


is cample
Posy perrmancei- Quemy opbmizaton 's doDB Ms hare
Posy peY mane
Scalabikby
xt uneble. to hanle laxge scale system
/PAGE NO.
DATE :

aite appicahns of XM).


LelMx betensible Markup Lunguagehes many applicabinç
deb Applicabarg YML aises shachze ho he data on wekpages TH
Con alss be uSed to coreate an inteactive wekp age y customize
them maee e-compnemee appleatis easiery ho coeete

o. Data ansfei XML Con ansferdata bebneen systemg khet


stre the some data in eifeeatomott

a-Contont denelopneati- XML can be used to coeate madulag Cantnt


that Can be cambingd ith e ontent & repuoxpased fy
different plotm media
can malee webageats 4 nbatr mor e cient
& pruduce more gekl res lbs.

5 Dah Acesg- XML gruides a standard metad h acae5s iafwmahan,


makins it easier bo-tecers hx app licahiurs& deaices ta ure
store, tioAsmit &display &datu

manageh ent

|7: Cantiqxabn hlex XML can be used far confisua han Aler

. XL cen be use fix dataseiaizatn &deseniaizatian


PAGE NO.
DATE :

Q.hihe the campnenh of XN).Dacam ent


AnsTh <xmdshnls agi mande the beqinning kendotan
fle

2 An XML dscuaent begia witt scme infumain abat tML ialk


The saundagd farn aE Carsists ef an Ml prly which canka's bt
aa XML Decloaben kKML DI) (Dacument Type Dehihibo).
The moain cantent f an XML document x n tML elemsat. ,
element consists of a stat tag &ton end ageth plain hent
content aY othey elenentin between

An xM atibube dafines the prapsrhy ot the glement Thassaci


a name itha ueue, which is a sting cf chawactens
L. The conhent of an XML docment cunk sista entively off XML
eleyment.

s The data sbnchuse sachin inchdes the hienachy f dabaelemat


reresenthag the dacumenbs enbcontent
PAGE NO.

DATE :

.How nemespace 1s usEhlin XM1 2

Lle An XM anespoce is a callecbian oft KML edenens &atibter


hat ae identfed by cun Iotematoncized Resuvce CURT) grfeence

. Nonespaces are USed ho cueity elenent k atbibute names in


2.

Extensibe Merrkup lenae (XM) Documeats


3Uses Gf
ct nomespaes ia XMl

Avoid canich Nsmespaces hedo awaid confiske betheen elemeatr


with samename. Tox eg. when miria XM) dacuments fm
diHerent epplicatons,deuelopars canuNa Dame pmrei'e ta
lene eement names

) Quculify Names Nomespaces pmNidea way to qyuolihy aames y


elemente, atibute,data types k funcbons in Xlath.
Nomesin XPathame called ONomes (Qualihed Name)

|i)ece a namespacei Dsens can eate a new nemespare


add eleneat &atibutes to iE using XM) Schema.
PAGE NO.
DATE :

Qwhat is well fomed XML Docsment2 Haw it is eiterent


Nalidatd XML Doum en
ArsXM Docoments hich saisty the les below ae callec
well- Fymed M Doconeats'
)ML dowment must stat ith an XML deadoratato indicok
the we sin numbex of XML bein Used al athey elNOnt o
t ibutes
2) A nell-med rM) document shld be
syntachcaly caneet.
.2. On the athey hand, valid XML dacumenh Sahsty
condihanyi
blew

4)The dscwment mst bewell-tmmed

gbuche

) This sbueis speihed in


ìn a sepoate XMLDTD.

9hat is XML Schemm Explain with Qneomple


As XM) SchcMa,as lenan ar XSD (XML Schema Dehinihi) isa
fay to de soibe tthe stche k consbroia bs f XML Daamenb

|2.Tk dafines the elereas, atbibutes &datutypes that are allowe/ nan
XML docwment, enmag that the doument Canto mst a speate
sbrucbre.
l)elemeats'iHe, child specifiey
he Saauence Lii
ment. stctue
af thdenes
e Camplelype XSi
NamespaLe Schema XM) schema
= KSi
<lusitlemtat>schemas </xsi
shsicampleyTypes
Statuence>
a 'publieabicnyea
typa " <sielement
name
"> "si typez athe» element
na <xSi
XA:
°/> shing typ
namez elemenA <25:
Seeuence <XSi
lypecamples <xsi
boola"> nanneE
<Xsielement
heixs"http:mnaww3 Ramhas
225iSchema
DATE:
NO. PAGE
PAGE N0.
DATE :

nXL, indieuts ae sunbals used tu deine the


strueh
eainshios beten elemets &in an KnL dacument sos
Cothmon indicators ari

). Elenent indictor <:- Madss the beqinningf end af an kIL


element

2. Atbibte indicahr (="i:Species Hheabibber ctan eleml


3 Nomespace Pro x indicahuy (prehiz:)- Dsed ba
with a nomespace
ossaciate kMl elema
ekx

4. Names 9ace DRT iadica y(tRg Xmlas


URT);- Dehaes defaut namesaa
Fr eg. <xmns =
"http:l/nww3-9zg/2o01/XMLSehemas
S. Comment iadicatr <l----- Osedoadd
camménbr in on r-l
FY eq- <l- his is a comment
et --

G. CDATA Secin iadicahyrcDAZA LN)

BocessiAg Lnsbchea indicatoy <?2>:

You might also like