GATE CS 2024 Set 1 — Question 22
MSQ+1 / -0Medium1NF, 2NF, 3NFNormalizationDatabases
Databases → Normalization → 1NF, 2NF, 3NF
Last updated
Question
Which of the following statements about a relation in first normal form (1NF) is/are TRUE ?
A.
can have a multi-attribute key
B.
cannot have a foreign key
C.
cannot have a composite attribute
D.
cannot have more than one candidate key
Correct answer
(A) R can have a multi-attribute key; (C) R cannot have a composite attribute
Solution
A relation is in First Normal Form (1NF) if and only if the domain of each attribute contains only atomic (indivisible) values, and the value of each attribute in a tuple contains only a single value from that domain.Analysis of Options:
- (A) can have a multi-attribute key: TRUE. A candidate key or primary key can consist of multiple attributes (a composite key). This does not violate the atomicity requirement of 1NF, as long as each individual attribute in the key is atomic.
- (B) cannot have a foreign key: FALSE. 1NF does not restrict the existence of foreign keys. Relations in 1NF can and often do have foreign keys to establish relationships.
- (C) cannot have a composite attribute: TRUE. By definition, 1NF requires attributes to be atomic. A composite attribute (e.g., an address composed of street, city, zip) is not atomic. Therefore, a relation in 1NF cannot contain composite attributes; they must be decomposed into atomic attributes.
- (D) cannot have more than one candidate key: FALSE. A relation in 1NF can have multiple candidate keys. 1NF places no restriction on the number of candidate keys.
More questions on Normalization
2024 Set 2 Q19Once the DBMS informs the user that a transaction has been successfully completed, its effect…2024 Set 1 Q20Let S be the specification: "Instructors teach courses. Students register for courses. Courses are…2024 Set 2 Q20In the context of owner and weak entity sets in the ER (Entity-Relationship) data model, which one…2024 Set 1 Q21In a tree, the requirement of at least half-full (50%) node occupancy is relaxed for which…2024 Set 2 Q26Which of the following file organizations is/are I/O efficient for the scan operation in DBMS?
Practice GATE CS PYQs with adaptive difficulty
Timed practice, skill tracking, and AI explanations — free to start.
Start practicing free