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

Assignment - DBMS

fdrfghjnml

Uploaded by

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

Assignment - DBMS

fdrfghjnml

Uploaded by

pawan bluff
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 13

Databaso Managomont Syutem

Aeslgnment #1
dalalpasto lochnl7
onnev on goma behind-tho-scooW UW o
n wio a lwo pAqo (doublo-#pacerd) wGlal yl n U
aanonmont I8 to oxaming how daluhanos ha
you daly ile. "Tho yoa) of thus MiS
Sugues in vour eunay. >or mmny 14 l63ij618 y"
q^a 00nuo for ho MCale. Addrena the(ollowing
briely how you carng up wilh your (/44117 1
ot havo concrolo inlormation: for theae exnlain
rough)enimato.

theso usors interact Wth ?


w ne databAso applicatlon, who uses it, and how do
bohind the ajpiCHIVn
*What kind of data 18 storod in tho (agenerallv hidden to the usor) database
Discuns hoth posillys and negaTYG
ow doos tho prosonco of this database impact the user?
mpacls.
* Envision the database as a collection of tables. each with somo columngand (possihly nany) sos
Whal might bo an appropriale name lor ong of these tables? What columns might it have in it? veY
roughiy. how many rows might be in the table? How much dísk space (in MB) would be nceded ot
Ihis table? For the entiro application?
*Estimate the usor population, both in terms of size and compoition. *Give two queries in Englisn
that tho appl1cation might execute on the database in the process of interacting with the user.
*How often would this database be queried? Be updated? (Very roughly)
*Briefly list any specific privacy,securily, and/or reliability issues that might be of concrn wmih this
database.
* How would this application be diflerent if database technology (both software, in the availab1liy of
DBMS's, and hardware, in the availability of cheap disk storage) was not presont?
Please do not use any of the example industries (e.g., banks, university etc.) discussed in book.
Exira credis could be earned for a description of a particular innovative application. Your essay
should be articulate,well-structured, and complete, ín that ít addresses all of the above-listed issues,
It should be neatly hand written. As mentioned in the class, allwork should be your OWn. Any copied
submission shall be rejected. Quote and provide a relerence for any prose that you got from
somewhere else (if any).

2. Explain why conceptual modelling is an important step in a process of database design.


3.What is data model? Why do we need a dala model?
4.What is data independence and how does DBMS support if?
5. What are the responsibilities of a DBA? If we assume that the DBA is never interested in running his
or her own queries, does the DBA still need to undersland query optimization? Why?

B. You are required to note down all the class assignments dictated in the class during the lectures
and complete them, You will be asked to submit along with the next assignment due.
Cssayi Yehnduseeees

a baes
fpliahons we
oeidy
Le4dvice
Keobil af.
Ralabase Abiaton
by cuians,

Condlr atabas a
ides
tu dmvia uovian ss atabau o moto
olie-foungu aintrahons 2
ofatou Manag
tiniu aules.
Poda stoud in
data bau &toes a vauchy dada nelu ding

deteila nelud
ay auouut. aps dala ecoyds ta teeuly tao
keu

lorotas.
lsy n both

ofh hand, w's'


oe steud in t dela bae, making da
data bunehes.
- Envisiciy tu Doalabau stctu
Cue bossibl tabd a tuchtabau coutd be namud
"Rid . This able hae calunes sueh as
ida. id','din.id','auingi.id", iup locatiou fare'

"R'd tebl would Qccumulate 365 illou


Sambl Qumvis':
pomibd quenes
Fnd thu anut avaulabl biyu to
Cuwutloation.
b Cadeulatee ta avs or

intornaton Atorad in tu databast huda to

abo
aguiat
itial an
nauthoriud accaus. Rediabiy vd

yhout
Rata baus : Teehnalgy
abna od cadaba 'ana gemut sy teis weuld
dud do ieiuimis , dlay "and a
making demalus enfeiena
-to ss
-Tuhon tau_ Conuhad moduling'
stet sudues eukanes
Conmunicahin anoy stakekstdus puorids achay
klufuit for
- Daka odel e ta hienihy'
Mo dl uind dlata
Actueval
chulabane.
(OddSemester202
(MCAIII)
Syslem
Munagement
Dalabase

to aody
- Rale fo ta abibty ti afliabos
in demu
dfn setuuaclhout echigdna by afanating
Data
-ttu doda
bau dluka idfn
deta
DBMS
shutu

DBA!:

-Rahouib acitaer(DBA) cala boe duuny

tuiging
bueferonce umbu usues
ansunt o
Amigs ment 2
Datahe Munameal System (MCA 111)
044 Semester 2424-25
Ilanded (yt un: 20 Avzoss 224
De: September 27, 2W24
ER Prastks Probßems
Dre an Rdagram fo cah prblem that calures their
Probem informatim rUquirenIms.
ionreTty datzhae otais informalin zht
amhcn arkd courcs (idcrtifed to creid) profewrs (identifcd by xial urAy
Profewrs twzch unrS, cach the
olkr tfig stuatkons CoKEIn the 1exte relatsnhip 4, kor ch sitvsn, draw n :k

Prolcors can tcach the seme coure in everal emesters, 2rd cach offering mu
rcsrded.
2 ProlcKors can tcach the same coure in everal semeters, and only the
such ofleríng nceds to be rccordcd. nMyA rc1
3. lscry profcor tcchs eKAly ong CAMIE (n
mre, ) less)
4. tvcry professor tcches cKxtly one coure (x more, no
ks). and cvery u r muM
be taught by some professot.
Problem 2
Profeswrs have an SSN. nae, an ayE, rank, and a reearch specialty.
Projccts have a project number. a sponsos nane (e.g. NSE), a starling date, an
date. znd a budyct. ending
Graduate tudents have an SSN, a rame, an age, znda degree
proyyam
Fach projcct is managed by exactly one professor (krown as Pi)
tach project is worked in by one or more professors (known as Co-Pls)
lach proect ís worked on by onc or more graduate students (known as
RAS) When
graduate studets work on a project, a prolcssor must supervÍe their work on the
project, Graduate students can work on mutiple projccts, in which case they will have
a potentially different supervisor for cach project.
Departments have a department number, a department narnc, and a main office.
Deparl1ncnt has a professor (knovwn as Chairman) who runs the department.
Professors work in one or more departments, and for each department that they
work
in. a time percentage is asociated with their job
Graduste students have one major department in which they sre working on thcir
dcgrcc.
" lach graduate student must have another, more enior
graduate sludent as an adviwr.
Problem 3
company database nccds to store in•ormation aboul employees (identified by ssn, with salary
A
and phonc as attríbutes), departments (identificd by dno, with dname and budget as altributes),
and children of employccs (with namc and age as attributes). E:mployccswork in departments:
cach departmcnt ís manayed by an employec: a child musl be identificd uniquely by name
when the parent(who is an cmploycc; assune thal only onc parent works lor thecompany )iv
known,
Problem
product fur art galleries. The corc ol (his
Tou sel up a databse company, ArBase that builds a that gallerics nçcd lo
mduct is adatabuse vith aschema Ihal cuntures all thc inlormation
maintain.

Clerics keep inlomation about artists thcir names (which are uniquc), birthplaces, agC. and
NIS C ol art. For cach picce of artwork, the ariist. the year it was made, its uniquc tille, ls lype
lithograph, sculpturc. photograph), and its price must be storcd. Picces ol
at ane painting,
arnorh also classilicd into proups ofvarious kinds. lor cxamplc, porlrails, still liles, works
rcaN, Or worhs of the 19th centur:a eiven picce may belong to more than one group.
Tachgroup is identilficd by a name (like those just given) that describes the Broup :
galeries keep information about customers. For cach customer, gallerics kcep thal person s
uniquc name, address, total amount of dollars spent in the gallery (vcry importanl:), and tne
artists and groups of art that the cuslomer tends to likc.
Draw the l:R diagram for the database.

Problems
Notown rccords has decided lo store information on musicians who perform on thcir albuns
(as well as other company data) in a database. The company has choscn to hirc you as a
databasc designcr.
Fach musician that records at Nolown has an SSN, a namc, an address and a phonc
number. Poorly paid musicians ofien sharc the same address, and no addrcss has more
than onc phonc.
Fach instrument that is used in songs recorded at Nolown has a name (e.g. guitar,
synthesizcr. flutc) and a musical key (c.g., C, B-Ilat, F:flat).
Each album that is rcorded at the Nolown label has a title, acopyright datc, a format
(c.g.. CD or MC) and an album identifier.
lach song recordcd at Notown has an id, tille and an author.
Each musician may play several instruments, and agiven instrumcnt may be playcd by
several musicians.
Each album has a number of songs on il, bul no song may appcar on morc than onc
album.
" lach song performcd by onc or morc musicians, and a musician may perform a
number of songs.
. Iach album has cxactly onc musician who acis as ils produccr. A
scvcral albums.
producer may produce

" Draw an l:R diagran for Notown.


Cem each tu sanu
(a eusens
Bmstes

Semtens teocty

Aeneid)
Conseid
Couss

snus'us ly tu 'most ucant suet uny


eda to uordd.
<Heachs Cous

Consid
Sensts

bemid
evacy
Cowseid

Heachus Couss

Senurts dmid

vust teactu eacly


(Cowi

Hearkus
Cowss
Semsteny

Aemid
hod
CAank
dnane

KManag

þid
duate
Gou (budgt
deg-uoy
btat-date)

(end-date
Beier
hame Hdviser
budgt
Photln 3
dame
(phon
dho
(salany brdhet

chitd

nae
Cwlid
toCums
addum
ham

KAike-nti

name
Hahiot. (ag

(dhyle(bitfplou)

Painta
uotlm s

(Phenno
addus

<Home

name
Cud
albumid

Tsis <uo duco dlbune

Plays
Songs

Trtument Bongid Quhor

tnsid
Auy
nanie

You might also like