Normalization Questions with Answers

45 practice questions on Normalization (DBMS) with answers and step-by-step solutions. Try 10 samples below, then practise all 45 free in the AptiNest app.

Sample questions

Question 1Easy

Which normal form deals with multivalued dependencies?

  1. 4NF
  2. BCNF
  3. 2NF
  4. 3NF

Answer: A. 4NF

Explanation

4NF requires that every non-trivial multivalued dependency X ->> Y has X as a super key. 5NF deals with join dependencies.

Step-by-step solution

  1. A multivalued dependency X ->> Y means Y-values are independent of other attributes for each X.
  2. 4NF requires every non-trivial MVD to have a super-key left side.
  3. So 4NF handles multivalued dependencies.

Why the other options are wrong

  • B. BCNF deals with functional dependencies only.
  • C. 2NF deals with partial dependencies.
  • D. 3NF deals with transitive dependencies.

Tip: FDs up to BCNF; MVDs -> 4NF; join dependencies -> 5NF.

Question 2Easy

3NF removes which kind of dependency (beyond 2NF)?

  1. Partial dependency
  2. Transitive dependency of non-prime attributes on a key
  3. Multivalued dependency
  4. Trivial dependency

Answer: B. Transitive dependency of non-prime attributes on a key

Explanation

In 3NF no non-prime attribute depends on the key through another non-prime attribute.

Step-by-step solution

  1. After 2NF there are no partial dependencies.
  2. 3NF also forbids Key -> X -> Y where X and Y are non-prime.
  3. That chain is a transitive dependency, so 3NF removes it.

Why the other options are wrong

  • A. Partial dependencies are already removed by 2NF.
  • C. Multivalued dependencies are handled by 4NF.
  • D. Trivial dependencies (X -> subset of X) are always allowed.

Tip: 3NF: non-key attributes depend on nothing but the key.

Question 3Easy

A course's fee is stored in hundreds of enrollment rows; changing it requires editing all of them. This is a(n):

  1. Insertion anomaly
  2. Dangling-tuple anomaly
  3. Deletion anomaly
  4. Update anomaly

Answer: D. Update anomaly

Explanation

Redundant copies must all be changed together, otherwise the data becomes inconsistent.

Step-by-step solution

  1. The fee is copied in many rows.
  2. Changing it means editing every copy, and missing one makes data inconsistent.
  3. This is an update anomaly.

Why the other options are wrong

  • A. Insertion anomaly is about not being able to add a fact.
  • B. Dangling tuples relate to joins, not repeated values.
  • C. Deletion anomaly is about losing facts on delete.

Tip: Many copies to change = update anomaly.

Question 4Easy

Which anomaly occurs when deleting a student's only enrollment also removes the only record of a course's instructor?

  1. Deletion anomaly
  2. Update anomaly
  3. Join anomaly
  4. Insertion anomaly

Answer: A. Deletion anomaly

Explanation

Unrelated facts stored in the same row disappear together when that row is deleted.

Step-by-step solution

  1. Instructor details exist only inside enrollment rows.
  2. Deleting the last enrollment also loses the instructor fact.
  3. Losing unrelated facts on delete is a deletion anomaly.

Why the other options are wrong

  • B. An update anomaly is about changing many copies.
  • C. "Join anomaly" is not one of the three standard anomalies.
  • D. An insertion anomaly is being unable to add a fact without unrelated data.

Tip: Delete one thing, lose another = deletion anomaly.

Question 5Medium

R(A, B, C, D, E) with FDs {A->BC, C->DE} is decomposed into R1(A, B, C) and R2(C, D, E). Is the decomposition lossless?

  1. Yes, it is lossless
  2. No, it is lossy
  3. Lossless only if R1 and R2 are in BCNF
  4. Cannot be decided from FDs

Answer: A. Yes, it is lossless

Explanation

The common attribute is C, and C -> DE makes C a key of R2(C, D, E), so the join cannot create spurious tuples.

Step-by-step solution

  1. R1 ∩ R2 = {C}.
  2. C -> DE, so C is a key of R2(C, D, E).
  3. The common attribute is a key of one part, so it is lossless.

Why the other options are wrong

  • B. The common attribute C is a key of R2.
  • C. Losslessness does not depend on BCNF.
  • D. The FDs are enough to decide.

Tip: Split on X -> Y keeping X in both parts: lossless.

Question 6Medium

R(A, B, C, D) has FDs {AB->C, B->D}. What is the highest normal form that R satisfies (assume all attributes are atomic)?

  1. 2NF
  2. 1NF
  3. 3NF
  4. BCNF

Answer: B. 1NF

Explanation

Candidate key(s): AB. B -> D is a partial dependency of the non-prime attribute D on part of the key AB, so R is only in 1NF.

Step-by-step solution

  1. AB is the only candidate key.
  2. B -> D: D depends on part of the key AB.
  3. That partial dependency breaks 2NF, so R is in 1NF.

Why the other options are wrong

  • A. B -> D is a partial dependency.
  • C. 3NF needs 2NF first.
  • D. B is not a superkey.

Tip: Composite key + FD from part of it = 1NF only.

Question 7Medium

R(A, B, C, D) has candidate key AB and the FDs AB -> C, AB -> D, C -> D. What should be done to reach 3NF?

  1. Nothing; R is already in 3NF
  2. Decompose into (A, B) and (C, D)
  3. Decompose into (A, B, C) and (C, D)
  4. Decompose into (A, C) and (B, D)

Answer: C. Decompose into (A, B, C) and (C, D)

Explanation

C -> D is transitive (AB -> C -> D). Moving it into its own relation removes the violation, and C is the common key, so the split is lossless.

Step-by-step solution

  1. AB -> C -> D: D depends transitively on the key.
  2. Move C -> D into its own relation (C, D).
  3. Keep (A, B, C) with C as a foreign key.

Why the other options are wrong

  • A. C -> D is transitive, so 3NF fails.
  • B. Splitting C away from AB loses AB -> C and is lossy.
  • D. This split loses the FDs and is lossy.

Tip: Peel off the transitive FD into its own table.

Question 8Medium

3NF synthesis (from a minimal cover) guarantees which pair of properties?

  1. Lossless join and dependency preservation
  2. BCNF and no multivalued dependencies
  3. Dependency preservation and BCNF
  4. Lossless join and complete absence of redundancy in every relation

Answer: A. Lossless join and dependency preservation

Explanation

Synthesis creates one relation per FD in the cover and adds a key relation if needed, so both properties hold; BCNF decomposition may lose dependencies.

Step-by-step solution

  1. Make one relation per FD in the minimal cover.
  2. Add a relation containing a candidate key if none has one.
  3. This guarantees lossless join and dependency preservation.

Why the other options are wrong

  • B. 3NF synthesis does not guarantee BCNF or 4NF.
  • C. BCNF is not guaranteed.
  • D. Some redundancy can remain in 3NF.

Tip: 3NF: lossless + dependency-preserving, always possible.

Question 9Hard

R(A, B, C, D, E) has FDs {AB->C, C->D, B->E}. What is the highest normal form that R satisfies (assume all attributes are atomic)?

  1. 2NF
  2. BCNF
  3. 1NF
  4. 3NF

Answer: C. 1NF

Explanation

Candidate key(s): AB. B -> E makes the non-prime attribute E depend on part of the key AB, a partial dependency, so R is in 1NF only.

Step-by-step solution

  1. AB is the only key.
  2. B -> E: E depends on part of the key.
  3. That partial dependency means R is only in 1NF.

Why the other options are wrong

  • A. B -> E is a partial dependency.
  • B. C, B are not superkeys.
  • D. 3NF needs 2NF.

Tip: Test 2NF before 3NF.

Question 10Hard

R(A, B, C, D) has FDs {A -> B, B -> A, A -> C, C -> D}. Which of the following is a valid lossless decomposition of R into BCNF?

  1. (A, B, C) and (C, D)
  2. (A, C, D) and (B, D)
  3. (A, B) and (C, D)
  4. (A, B, C, D) unchanged

Answer: A. (A, B, C) and (C, D)

Explanation

C -> D violates BCNF (C is not a key), so split on it: (C, D) with key C, and (A, B, C) where A and B are both keys. The shared attribute C is a key of (C, D), so the join is lossless.

Step-by-step solution

  1. Keys are A and B (A <-> B). C -> D breaks BCNF, since C is not a key.
  2. Split on C -> D: (C, D) and (A, B, C).
  3. In (A, B, C) the determinants A and B are keys; in (C, D), C is the key.
  4. Common attribute C is a key of (C, D), so the split is lossless.

Why the other options are wrong

  • B. Common attribute D is not a key of either part, so it is lossy.
  • C. No common attribute links the parts, so it is lossy.
  • D. C -> D violates BCNF in R.

Tip: Violating X -> Y: make (XY) and (R − Y).

Practise all 45 questions free

The full question bank with timed practice, progress tracking and Vidya, your AI tutor. Free, no ads.

Open this topic in the app →

Related topics

See all DBMS topics · All topics