Documente Academic
Documente Profesional
Documente Cultură
ASSIGNMENTS
FIRST SET OF ASSIGNMENTS Assignment-I = 5 Marks
PART A
1.
a. Describewhatmetadataareandwhatvaluetheyprovidetothedatabasesystem.
b. WhataretheadvantagesofhavingtheDBMSbetweentheendusersapplicationsandthe
database?
c. Discusssomeconsiderationswhendesigningadatabase.
2.
a. Listandbrieflydescribethedifferenttypesdatabasemaintenanceactivities.
b. Databasebackupscanbeperformedatdifferentlevels.Listanddescribethese.
c. Whataretheclassicalapproachestodatabasedesign?
3.
a. Explainthedifferencesbetweenacentralizedanddecentralizedapproachtodatabasedesign.
b. Explainhowdatabasedesignersdesignandnormalizedatabases.
c. ExplaintheBCNF.Howisitrelatedtoothernormalforms?
4.
a. Whatisaschema?Howmanyschemascanbeusedinonedatabase?
b. Whatcommandisusedtosavechangestothedatabase?Whatisthesyntaxforthis
command?Howdoyoudeleteatablefromthedatabase?Provideanexample.
c. Whatisasubquery?Whenisitused?DoestheRDBMSdealwithsubqueriesanydifferently
fromnormalqueries?
5.
a. Explainnormalizationanditsdifferentforms.
b. Describetheneedforconvenientandsafebackupstorage.
c. ExplainuserrequirementsgatheringaspartoftheDBA'sendusersupportservices.
a. Explainheterogeneousdistributeddatabasesystems.
b. Afullydistributeddatabasemanagementsystemmustperformallofthefunctionsofa
centralizedDBMS.Doyouagree?Whyorwhynot?
c. Describethefivetypesofusersidentifiedinadatabasesystem.
2.
a. DescribetheDBAsmanagerialrole.
b. Whatarethethreebasictechniquestocontroldeadlocks?
c. Howdoesashared/exclusivelockschemaincreasethelockmanagersoverhead?
3.
a. Describeaconceptualmodelanditsadvantages.Whatisthemostwidelyusedconceptual
model?
b. Whatisakeyandwhyisitimportantintherelationalmodel?Describetheuseofnullsina
database.
c. Explainsinglevaluedattributesandprovideanexample.Explainthedifferencebetweensimple
andcompositeattributes.Provideatleastoneexampleofeach.
4.
a. Describespecializationandgeneralization.
b. Explainthedifferenttypesofjoinoperations.Whataretheyandhowdotheywork?
c. WhatareSQLfunctionsandwhenaretheyused?Provideacoupleofexamplesofsituationsin
whichtheyarenecessary.
5.
a. DescribethecharacteristicsofanOraclesequence.
b. Triggersarecriticaltoproperdatabaseoperationandmanagement.Whataresomeoftheways
thattriggersareused?
c. Describequeryoptimization.
2.
a. Whatareviews?Mostdatabasemanagementsystemssupportthecreationofviews.Give
reasons.
b. HowcanyouusetheCOMMIT,SAVEPOINTandROLLBACKcommandstosupporttransactions?
3.
a. Whatisanindex?Whatarethedisadvantagesofusinganindex?
b. DescribetheformatfortheUPDATEcommand.
4.
a. DescribetheformatoftheALTERTABLEcommandtoaddanewcolumn.
b. Therearethreesetoperations:union,intersection,difference.Defineeachoftheseoperations.
WhicharesupportedbyOracle?
5.
a. Shouldauserbeallowedtoenternullvaluesfortheprimarykey?Givereasonsforyouranswer.
b. WhatisDataIndependence?ExplainLogicaldataindependencePhysicaldataindependence.
Initially,thedatabaseshouldhouseinformationaboutsuppliersandproducts.Thedatabasewillcontain
two tables: a supplier table and a product table. The recorder level refers to the number of items in
inventory that triggers a decision to order more items to prevent a stock out. (In other words, if the
number of units of a particular item in inventory falls below the recorder level, the item should be
recorded.)Theusershouldbeabletoperformseveralqueriesandproduceseveralmanagerialreports
basedonthedatacontainedinthetwotables.
Questions:
1. DesignthedatabasesystemforLaxmiCycles.
2. DrawthecorrespondingERDiagramfortheabove
3. Write a brief description of how the database could be enhanced to further improve the
managementofthebusiness.
CASE STUDY-II
ACabservicecompanysemployeesarecategorizedintosections.Eachsectionhasasectionmanager.
Section No anda fixed basic salary rateis assigned to asection. They keep data on Empno, NIC_No,
name, address, sex, DOB, contact no. of employees. If the employee is a driver, his driving licence
noshouldbeadded.Eachemployeeisassignedonlytoonesection.Foratravel,driverisassignedtoa
vehicle.Theykeepfollowingdataaboutvehicles;RegNo,Insuranceno,Model,vehiclecategory,current
mileage. In this case customer isthe person who is making areservation. They keep name, NIC_no,
address, contact no. regarding the customer. Once a customer reserved a cab, hecannot make any
otherreservations until theend of thereserved duration. Customer can reserve one ormore vehicles
from a reservation. They are keeping index no, payment method, amount, No. of vehicles, distance,
startdate and time, end dateand time regarding a reservation. They aresupplying various kinds
ofsupplies to maintainvehicles. Asupplier can supply more thanone supplying category. Company
alwayskeepsdataonadditionalsuppliers.EverysupplierhasaRegNo,Name,address,contactno.An
employee is responsible for oneor more supplying categories. They keep data likecat_no,
cat_description,cost,quantity,netcostregardingeverysupplyingcategory.
Questions:
1. Design a database that stores the Cab service companys information. Identify the entities of
interestandshowtheirattributes.
2. Whatrelationshipsexistamongtheseentities?Explain.DrawthecorrespondingERDiagram.
3. Writeabriefdescriptionofhowthedatabasecouldbeenhancedtofurtherimprovemanagement
ofthebusiness.
4. Inyouropinion,isitadvisableforthe Cab service company togoforaninhouse developmentofDBMS?
Givereasonsforyouranswer.