Difficulty: Easy
Correct Answer: Incorrect
Explanation:
Introduction / Context:First Normal Form (1NF) requires atomicity: each cell in a relation must contain a single, indivisible value from its attribute domain. The question asks whether multi-valued cells are permitted in a relation.
Given Data / Assumptions:
Concept / Approach:Multi-valued cells violate 1NF. In a properly normalized design, each value occupies its own row in a related table connected by keys. This ensures simpler constraints, predictable querying, and avoids update anomalies (insertion, deletion, and modification anomalies).
Step-by-Step Solution:
Check a cell containing “red, blue, green”.Observe that it encodes multiple values in one attribute cell.Conclude this is not atomic and therefore the table is not a proper relation in 1NF.Verification / Alternative check:Normalize by splitting multi-valued data into a child relation (e.g., ProductColor(product_id, color)). Each color then resides in its own tuple, satisfying atomicity.
Why Other Options Are Wrong:
Common Pitfalls:Storing CSV strings, arrays, or JSON blobs for convenience leads to difficult querying and constraint enforcement.
Final Answer:Incorrect
Discussion & Comments