DATABASE SYSTEMS-DESIGN, IMPLEMENTATION, AND
MANAGEMENT- CHAPTER 3 REVIEW QUESTIONS, DATABASE
SYSTEMS- DESIGN, IMPLEMENTATION, AND MANAGEMENT: CHAPTER
4 REVIEW QUESTIONS, DATABASE SYSTEMS: DESIGN,
IMPLEMENTATION, AND MANAGEMENT: CHAPTER 5 REVIEW
QUESTION AND ANSWERS
1.PWhatPisPthePdifferencePbetweenPaPdatabasePandPaPtable?P-
PCORRECTPANSWERSPAPtablePisPaPlogicalPstructurePthatPrepresentsPanPentityPset.PItPisPonlyPonePofPthePcomp
onentsPofPaPdatabase.PThePdatabasePisPaPstructurePthatPhousesPonePorPmorePtablesPandPmetadata.PThePme
tadataPincludesPthePdataPcharacteristicsPandPthePrelationshipsPbetweenPthePentityPsets.
1.PWhatPtwoPconditionsPmustPbePmetPbeforePanPentityPcanPbePclassifiedPasPaPweakPentity?PGivePanPexampl
ePofPaPweakPentity.P-PCORRECTPANSWERSPThePentityPmustPbePexistence-
dependentPonPitsPparentPentityPandPitPmustPinheritPatPleastPpartPofPitsPprimaryPkeyPfromPitsPparentPentity.
1.PWhatPisPanPentityPsupertype,PandPwhyPisPitPused?P-
PCORRECTPANSWERSPAnPentityPsupertypePisPaPgenericPentityPtypePthatPisPrelatedPtoPonePorPmorePentityPsu
btypes,PwherePthePentityPsupertypePcontainsPthePcommonPcharacteristicsPandPthePentityPsubtypesPcontai
nPthePuniquePcharacteristicsPofPeachPentityPsubtype.PThePreasonPforPusingPsupertypesPisPtoPminimizePthePn
umberPofPnullsPandPtoPminimizePthePlikelihoodPofPredundantPrelationships.
2.PWhatPdoesPitPmeanPtoPsayPthatPaPdatabasePdisplaysPbothPentityPintegrityPandPreferentialPintegrity?P-
PCORRECTPANSWERSPEntityPintegrityPdescribesPaPconditionPinPwhichPallPtuplesPwithPaPtableParePuniquelyPid
entifiedPbyPtheirPprimaryPkey.PThePuniquePvaluePrequirementPprohibitsPaPnullPprimaryPkeyPvalue,PbecauseP
nullsParePnotPunique.PReferentialPintegrityPdescribesPaPconditionPiPwhichPaPforeignPkeyPvaluePvaluePhasPaPm
atchPiPthePcorrespondingPtablePorPinPwhichPthePforeignPkeyPvaluePisPnull.PThePnullPforeignPkeyPvaluePmakesP
itPpossiblePnotPtoPhavePaPcorresponding,PbutPthePmatchingPrequirementPonPvaluesPthatParePnotPnullPmakeP
itPimpossiblePtoPhavePanPinvalidPvalue.
2.PWhatPisPaPstrongP(orPidentifying)Prelationship,PandPhowPisPitPdepictedPinPaPCrow'sPFootPERD?P-
PCORRECTPANSWERSPAPstrongPrelationshipPisPwhenPanPentityPisPexistence-
dependentPonPanotherPentityPandPinheritsPatPleastPpartPofPitsPprimaryPkeyPfromPthatPentity.
, 2.PWhatPkindsPofPdataPwouldPyouPstorePinPanPentityPsubtype?P-
PCORRECTPANSWERSPAnPentityPsubtypePisPaPmorePspecificPentityPtypePthatPisPrelatedPtoPanPentityPsupertyp
e,PwherePthePentityPsupertypePcontainsPthePcommonPcharacteristicsPandPthePentityPsubtypesPcontainPtheP
uniquePcharacteristicsPofPeachPentityPsubtype.PThePentityPsubtypePwillPstorePthePdataPthatPisPspecificPtoPth
ePentity;PthatPis,PattributesPthatParePuniquePthePsubtype.
3.PWhyParePentityPintegrityPandPreferentialPintegrityPimportantPinPaPdatabase?P-
PCORRECTPANSWERSPEntityPintegrityPisPimportantPbecausePitPmeansPthatPaPproperPsearchPforPanPexistingPt
uplePwillPalwaysPbePsuccessfulPandPthePfailurePtoPfindPaPmatchPonPaProwPsearchPwillPalwaysPmeanPthatPtheP
rowPforPwhichPthePsearchPisPconductedPdoesPnotPexistPinPthatPtable.PReferentialPintegrityPisPimportantPbec
ausePitsPexistencePensurePthatPitPwillPbePimpossiblePtoPassignPaPnonPexistingPforeignPkeyPvaluePtoPaPtable.PF
orPexample,PthePreferentialPintegrityPenforcementPinPaPSALESREPPisPassignedPtoPCUSTOMERPrelationshipP
meansPthatPitPwillPbePpossiblePforPaPcustomerPtoPnotPhavePaPsalesPrepPassignedPtoPhimPorPherPbutPitPwillPbeP
impossiblePtoPassignPnonPexistingPsalesPrepPtoPaPcustomer.
4.PWhatPisPaPcompositePentity,PandPwhenPisPitPused?P-
PCORRECTPANSWERSPAPcompositePentityPisPgenerallyPusedPtoPtransformPM:NPrelationshipsPintoP1:MPrelati
onships.PAPcompositePentity,PalsoPknownPasPaPbridgePentity,PisPonePthatPhasPaPprimaryPkeyPcomposedPofPm
ultiplePattributes.PThePPKPattributesParePinheritedPfromPthePentitiesPthatPitPrelatesPtoPonePanother.
3.PWhatPisPaPspecializationPhierarchy?P-
PCORRECTPANSWERSPAPspecializationPhierarchyPdepictsPtheParrangementPofPhigher-
levelPentityPsupertypesP(parentPentities)PandPlower-levelPentityPsubtypesP(childPentities)
4.PWhatParePthePrequirementsPthatPtwoPrelationsPmustPsatisfyPtoPbePconsideredPunion-compatible?P-
PCORRECTPANSWERSPUsingPthePproperPrelationalPterminology,PthePstatementPmayPbePtranslatedPtoP"PthePt
ablePorPentityPsetPcontainsPtwoPhundredProws/tuples.
6.PWhatPisPaPrecursivePrelationship?PGivePanPexample.P-
PCORRECTPANSWERSPAPrecursivePrelationshipPexistsPwhenPanPentityPisPrelatedPtoPitself.PForPexample,PaPCO
URSEPmayPbePaPprerequisitePtoPaPCOURSE
MANAGEMENT- CHAPTER 3 REVIEW QUESTIONS, DATABASE
SYSTEMS- DESIGN, IMPLEMENTATION, AND MANAGEMENT: CHAPTER
4 REVIEW QUESTIONS, DATABASE SYSTEMS: DESIGN,
IMPLEMENTATION, AND MANAGEMENT: CHAPTER 5 REVIEW
QUESTION AND ANSWERS
1.PWhatPisPthePdifferencePbetweenPaPdatabasePandPaPtable?P-
PCORRECTPANSWERSPAPtablePisPaPlogicalPstructurePthatPrepresentsPanPentityPset.PItPisPonlyPonePofPthePcomp
onentsPofPaPdatabase.PThePdatabasePisPaPstructurePthatPhousesPonePorPmorePtablesPandPmetadata.PThePme
tadataPincludesPthePdataPcharacteristicsPandPthePrelationshipsPbetweenPthePentityPsets.
1.PWhatPtwoPconditionsPmustPbePmetPbeforePanPentityPcanPbePclassifiedPasPaPweakPentity?PGivePanPexampl
ePofPaPweakPentity.P-PCORRECTPANSWERSPThePentityPmustPbePexistence-
dependentPonPitsPparentPentityPandPitPmustPinheritPatPleastPpartPofPitsPprimaryPkeyPfromPitsPparentPentity.
1.PWhatPisPanPentityPsupertype,PandPwhyPisPitPused?P-
PCORRECTPANSWERSPAnPentityPsupertypePisPaPgenericPentityPtypePthatPisPrelatedPtoPonePorPmorePentityPsu
btypes,PwherePthePentityPsupertypePcontainsPthePcommonPcharacteristicsPandPthePentityPsubtypesPcontai
nPthePuniquePcharacteristicsPofPeachPentityPsubtype.PThePreasonPforPusingPsupertypesPisPtoPminimizePthePn
umberPofPnullsPandPtoPminimizePthePlikelihoodPofPredundantPrelationships.
2.PWhatPdoesPitPmeanPtoPsayPthatPaPdatabasePdisplaysPbothPentityPintegrityPandPreferentialPintegrity?P-
PCORRECTPANSWERSPEntityPintegrityPdescribesPaPconditionPinPwhichPallPtuplesPwithPaPtableParePuniquelyPid
entifiedPbyPtheirPprimaryPkey.PThePuniquePvaluePrequirementPprohibitsPaPnullPprimaryPkeyPvalue,PbecauseP
nullsParePnotPunique.PReferentialPintegrityPdescribesPaPconditionPiPwhichPaPforeignPkeyPvaluePvaluePhasPaPm
atchPiPthePcorrespondingPtablePorPinPwhichPthePforeignPkeyPvaluePisPnull.PThePnullPforeignPkeyPvaluePmakesP
itPpossiblePnotPtoPhavePaPcorresponding,PbutPthePmatchingPrequirementPonPvaluesPthatParePnotPnullPmakeP
itPimpossiblePtoPhavePanPinvalidPvalue.
2.PWhatPisPaPstrongP(orPidentifying)Prelationship,PandPhowPisPitPdepictedPinPaPCrow'sPFootPERD?P-
PCORRECTPANSWERSPAPstrongPrelationshipPisPwhenPanPentityPisPexistence-
dependentPonPanotherPentityPandPinheritsPatPleastPpartPofPitsPprimaryPkeyPfromPthatPentity.
, 2.PWhatPkindsPofPdataPwouldPyouPstorePinPanPentityPsubtype?P-
PCORRECTPANSWERSPAnPentityPsubtypePisPaPmorePspecificPentityPtypePthatPisPrelatedPtoPanPentityPsupertyp
e,PwherePthePentityPsupertypePcontainsPthePcommonPcharacteristicsPandPthePentityPsubtypesPcontainPtheP
uniquePcharacteristicsPofPeachPentityPsubtype.PThePentityPsubtypePwillPstorePthePdataPthatPisPspecificPtoPth
ePentity;PthatPis,PattributesPthatParePuniquePthePsubtype.
3.PWhyParePentityPintegrityPandPreferentialPintegrityPimportantPinPaPdatabase?P-
PCORRECTPANSWERSPEntityPintegrityPisPimportantPbecausePitPmeansPthatPaPproperPsearchPforPanPexistingPt
uplePwillPalwaysPbePsuccessfulPandPthePfailurePtoPfindPaPmatchPonPaProwPsearchPwillPalwaysPmeanPthatPtheP
rowPforPwhichPthePsearchPisPconductedPdoesPnotPexistPinPthatPtable.PReferentialPintegrityPisPimportantPbec
ausePitsPexistencePensurePthatPitPwillPbePimpossiblePtoPassignPaPnonPexistingPforeignPkeyPvaluePtoPaPtable.PF
orPexample,PthePreferentialPintegrityPenforcementPinPaPSALESREPPisPassignedPtoPCUSTOMERPrelationshipP
meansPthatPitPwillPbePpossiblePforPaPcustomerPtoPnotPhavePaPsalesPrepPassignedPtoPhimPorPherPbutPitPwillPbeP
impossiblePtoPassignPnonPexistingPsalesPrepPtoPaPcustomer.
4.PWhatPisPaPcompositePentity,PandPwhenPisPitPused?P-
PCORRECTPANSWERSPAPcompositePentityPisPgenerallyPusedPtoPtransformPM:NPrelationshipsPintoP1:MPrelati
onships.PAPcompositePentity,PalsoPknownPasPaPbridgePentity,PisPonePthatPhasPaPprimaryPkeyPcomposedPofPm
ultiplePattributes.PThePPKPattributesParePinheritedPfromPthePentitiesPthatPitPrelatesPtoPonePanother.
3.PWhatPisPaPspecializationPhierarchy?P-
PCORRECTPANSWERSPAPspecializationPhierarchyPdepictsPtheParrangementPofPhigher-
levelPentityPsupertypesP(parentPentities)PandPlower-levelPentityPsubtypesP(childPentities)
4.PWhatParePthePrequirementsPthatPtwoPrelationsPmustPsatisfyPtoPbePconsideredPunion-compatible?P-
PCORRECTPANSWERSPUsingPthePproperPrelationalPterminology,PthePstatementPmayPbePtranslatedPtoP"PthePt
ablePorPentityPsetPcontainsPtwoPhundredProws/tuples.
6.PWhatPisPaPrecursivePrelationship?PGivePanPexample.P-
PCORRECTPANSWERSPAPrecursivePrelationshipPexistsPwhenPanPentityPisPrelatedPtoPitself.PForPexample,PaPCO
URSEPmayPbePaPprerequisitePtoPaPCOURSE