Вы находитесь на странице: 1из 6

Home PBD Topic5 Pretest4

Startedon
State
Completedon
Timetaken
Question1
Complete
Markedoutof1.00

Saturday,17September2016,7:05PM
Finished
Saturday,17September2016,7:35PM
30mins1sec

LetR(ABCDEFGH)satisfythefollowingfunctionaldependencies:
{A>B,CH>A,B>E,BD>C,EG>H,DE>F}
WhichofthefollowingFDisalsoguaranteedtobesatisfiedbyR?
1.BFG>AE
2.ACG>DH
3.CEG>AB

Selectone:
a.1and2areincorrect,3iscorrect
b.1,2,3arecorrect
c.1and3areincorrect,2iscorrect
d.1iscorrect,2and3areincorrect
e.1,2,3areincorrect

Question2

ConsidergiventablePARTSUPPLIERasfollow:

Complete
Markedoutof1.00

Note:Part_NoandVendor_NamearethePrimaryKeyofthetable

Whichofthefollowingstatementsaretrue?
1.DescriptionisfunctionallydependenttoPart_No
2.AddressisfunctionallydependenttoPart_No
3.Vendor_NameisfunctionallydependenttoPart_No
4.Unit_Costhasfullfunctionaldependency
5.Descriptionhaspartialfunctionaldependency
6.Addresshasfullfunctionaldependency

Selectone:
a.3,4,5
b.1,2,3
c.1,4,5
d.1,3,6
e.2,5,6

Question3
Notanswered
Markedoutof1.00

GivenrelationR=(A,B,C,G,H,I)andthefollowingfunctionaldependencies:
F={A>G,
A>H,
B>A,
AC>I,
G>C}
Matchthefollowingclosureswiththerulesthatconduct!

AG>I

Choose...

AC>HC Choose...

Question4
Complete
Markedoutof1.00

B>C

Choose...

B>G

Choose...

AC>C

Choose...

A>GH

Choose...

ComputetheclosureofthefollowingsetFoffunctionaldependenciesforrelationschema
R=(A,B,C,D,E).
ABC
CDE
BD
EA
Matchtheclosurebelowwiththeaxioms!
AB

decompositionrule

ABAD

pseudotransitivityrule

ADBCD augmentationrule
CDD

unionrule

CBE

decompositionrule

Question5

SupposewehavearelationonattributesABCDEwiththeseFDs:

Complete

AC,

Markedoutof1.00

CE,
EBD
WhichofthefollowingFDarefollow?
1.ABC
2.CB
3.EBA
4.ACE
5.CAD
Selectone:
a.2,3,5
b.1,3,4
c.1,2,4
d.1,4,5
e.3,4,5

Question6

ConsidergivenPatientDentalAppointmenttablebelow:

Complete
Markedoutof1.00

Matchthefollowingstatementsbasedonthetable!
DentistNameisfunctionallydependenttostaffNo

True

surgeryNoispartiallyfunctionallydependentto{staffNo,appoinmentDate,
andappoinmentTime}

False

StaffNoistheprimarykeyofthetable

True

SurgeryNoisfunctionallydependenttostaffNo

True

PatientNoisfunctionallydependenttostaffNo,appoinmentDate,and
appoinmentTime

True

dentistNameisfullyfunctionallydependentto{staffNo,appoinmentDate,
andappoinmentTime}

False

Question7

SupposewehavearelationonattributesABCDEFwiththeseFDs:

Complete

ACF,

Markedoutof1.00

CEFB,
CD,
DCA
(a)DoesitfollowthatCF?
(b)DoesitfollowthatACDB?
Selectone:
a.CFdoesfollow,ACDBdoesfollow
b.CFdoesfollow,ACDBdoesnotfollow
c.CFdoesnotfollow,ACDBdoesfollow
d.CFdoesnotfollow,ACDBdoesnotfollow

Question8
Complete

ConsidertherelationalschemaR={A,B,C,D}andF={ABC,BD}.Letthefollowing
beaninstanceoftherelationalschemaR.

Markedoutof1.00

r(R):

WhatisthecandidatekeyforR?
Selectone:
a.A
b.BC
c.AB
d.CD
e.B

Вам также может понравиться