GATE / CS ARCHIVE

GATE CSE 2024 SET 1 / QUESTION 22

Atomic attributes versus multi-column keys

Database Management Systems · Normalization & Decomposition · Full GATE CSE 2024 Set 1 paper

GATE 2024 Set 1, Q22 1 mark · MSQ
Report issue

Normalization & Decomposition

Question 22, GATE 2024: Which claims about a relation R in first normal form are true? A R may have a multi-attribute key. B R cannot have a foreign key. C R cannot have a composite attribute. D R cannot have more than one candidate key.
Tap to enlarge
Select all that apply
Answer & solution

Official answer: A, C

Approach: First normal form concerns the form of attribute values, not the number of columns in a key or the number of valid identifiers.
1. In the usual relational model, a 1NF relation stores one atomic value in each attribute position. An undivided composite attribute, such as an Address object containing separate Street and City components, must be represented using suitable atomic columns. Thus C is true in the intended terminology.
2. Several individually atomic columns can together uniquely identify a row. For example, (StudentID,CourseID) can be a key of an enrollment relation. This is a composite key, not a composite attribute, so A is true.
3. A foreign key simply constrains values to reference another relation. It is compatible with atomic values, so B is false.
4. Different columns or column sets may each identify rows uniquely. First normal form does not forbid multiple candidate keys, so D is false.
Answer: A and C.

Original paper, page 15 · Answer key