✔ Scroll down and test yourself — answers are hidden under the “View Answer” button.
A. BCNF
B. 4NF
C. 3NF
D. 2NF
Explanation:
4NF is specifically concerned with eliminating non-trivial multi-valued dependencies that cause redundancy.
What is multivalued dependency?
Multivalued dependency (MVD) is a type of functional dependency that happens when two attributes in a table are independent of each other but both depend on a third attribute in that table. In other words, for a single value of one attribute, multiple independent values of another attribute can exist.
A. Update anomaly
B. Lossless join
C. No anomaly
D. Query anomaly only
Explanation:
Redundancy where instructor appears multiple times (for multiple courses) can cause update anomalies when office is updated in some rows but not others.
A. Lossless join & redundancy retention
B. Lossless join & dependency preservation
C. Only dependency preservation
D. Neither required
Explanation:
A desirable decomposition is lossless (to avoid information loss) and dependency preserving (to allow enforcement of FDs without expensive joins).
A. BCNF
B. 4NF
C. 1NF only
D. DKNF
Explanation:
BCNF requires every FD to have a superkey on the LHS. If all FDs already have LHS as superkeys, R meets BCNF.
A. C is prime attribute
B. A → C too
C. B is non-key attribute
D. C depends on A indirectly
Explanation:
A → B and B → C indicate a transitive chain; if B is a non-key attribute, then C transitively depends on A through B — a classic transitive dependency.
A. Fully dependent
B. Partially dependent
C. Transitively dependent
D. Multivalued dependent
Explanation:
When a non-key attribute depends on the whole key (not on a part), it is called fully dependent — the desirable situation for 2NF.
A. Minimize tables
B. Reduce redundancy + avoid anomalies
C. Increase number of attributes
D. Improve indexing
Explanation:
Normalization's goal is to reduce data redundancy and avoid insertion/update/delete anomalies — improving data integrity.
A. BCNF violation
B. 4NF violation
C. 5NF violation
D. 2NF violation
Explanation:
Independent multi-valued facts (Student →> Project and Student →> Mentor) cause redundancy that 4NF targets. So this indicates a 4NF violation.
A. {A,B} is only key
B. C is also a key
C. No key exists
D. A determines BC
Explanation:
From AB→C and C→A, AB+ = {A,B,C}, so AB is a key. C+ = {C,A} but not B, so C alone isn't a key. Thus {A,B} is the key.
A. 2NF decomposition
B. 3NF decomposition
C. BCNF decomposition
D. Join dependency decomposition
Explanation:
Decomposing to BCNF can guarantee lossless joins but may not preserve all original FDs, i.e., dependency preservation can be lost.
No comments:
Post a Comment