Docsity

Database Normalization and Functional Dependencies, Exams of Advanced Education

Partial preview of the text

Download Database Normalization and Functional Dependencies and more Exams Advanced Education in PDF only on Docsity!

Lossy and Dependency Preserving. Lossless and Not Dependency Preserving. Lossless and Dependency Preserving. Lossy and Not Dependency Preserving. Select one: Question text Let R(A,B,C,D, E) be a relation with FDs F = {AB→CD, A→E, C→D, D→E} The decomposition of R into R1(A, B, C), R2(B, C, D) and R3(C, D, E) is (2 Points)

Question 2

Correct Mark 2.00 out of 2. Flag question

COMP 353_Midterm winter 2024 practice exam solution Concordia University

Question 1

Correct Mark 2.00 out of 2. Flag question

Question 3

Correct Mark 2.00 out of 2. Flag question R has more than three candidate keys. R has exactly three candidate keys. R has exactly one candidate key. R has exactly two candidate keys. Question text Let R(A,B,C,D,E) be a relation with FDs F = {ABC→D, BD→A, E→B} (2 Points) Select one:

Question 4

Correct Mark 2.00 out of 2. Flag question Question text Suppose R is a one-to-one relationship from R1 = { a, b, c, d} to R2 = {e, f, g, h}. Of the following sets, which one is NOT a valid instance of R? (2 Points) Select one: {}, the empty set. {(c, g)}. {(a, e),(b,f),(b,g)}. {(a, h), (b, g), (c, f), (d, e)}. All of the above. None of the above.

Question 7

Correct Mark 2.00 out of 2. Flag question R is not in 3NF but in BCNF. R is not in 3NF and not in BCNF. R is in 3NF and in BCNF. R is in 3NF but not in BCNF. Question text Let R(A,B,C, D) be a relation with FDs F = {AB→C, C→D} (2 Points) Select one:

Question 8

Correct Mark 2.00 out of 2. Flag question Let R(A,B,C,D,E) be a relation with FDs F = {AB→C, CD→E, E→B, CE→A} Consider an instance of this relation that only contains the tuple (1, 1, 2, 2, 3). Which of the following tuples can be inserted into this relation without violating the FD's? (2 Points) Select one: (0, 1, 2, 4, 3) (1, 1, 2, 2, 4) (1, 2, 2, 2, 3) (1, 1, 3, 2, 3) All of the above can be inserted. None of the above can be inserted. Question text

Question 9

Correct Mark 2.00 out of 2. Flag question Question text Consider an instance of relation R below R

A B C D E

What would possibly be a candidate key of relation R? (2 Points) Select one: AE BC BD CD All of the above. Let R(A,B,C,D) be a relation with FDs F = {A→B, A→C, C→A, B→C, ABC→D} Which of the following statements is correct? (2 Points) Select one: G = {A→B, B→C, C→A, AC→D } is a canonical cover of F H = {A→C, C→A, B→C, B→D } is a canonical cover of F. F is a canonical cover of itself. G and H are canonical covers of F. None of the above.

AC→B

CF→B

AF→B

All of the above None of the above Finish review Skip Quiz navigation You are logged in as Julien Fadel (Log out)

QUIZ NAVIGATION

Question1This pageQuestion2This pageQuestion3This pageQuestion4This pageQuestion5This pageQuestion6This pageQuestion7This pageQuestion8This pageQuestion9This pageQuestion10This pageQuestion11This page Show one page at a timeFinish review