Asked in NUST NET Mock Test 2 — Computer ScienceModerate

If a relation is in 1NF and the key consists of a single attribute, then the relation is automatically in

Correct answer: B. 2NF

  • A. 3NF
  • B. 2NF
  • C. Both (a) and (b)
  • D. BCNF

Explanation

First Normal Form (1NF): A relation is in 1NF if all its underlying domains contain atomic values (indivisible units of data) and there are no repeating groups within a table.Second Normal Form (2NF): A relation is in 2NF if it fulfills the conditions of 1NF and also eliminates partial dependencies. A partial dependency exists when a non-key attribute relies on only a part of the composite primary key.Why a single-attribute key guarantees 2NF:When a relation has a single attribute as its primary key, there's no possibility of partial dependencies. By definition, a partial dependency involves a non-key attribute depending on a subset of the primary key. With a single-key attribute, there are no subsets to be dependent on. Therefore, the relation inherently satisfies the requirement for 2NF

Last updated

About Logical Problems

Logical problems present several conditions about people, objects, events or choices and require their possible arrangements to be tested. They cover constraint-based reasoning, rankings, matching, grouping, scheduling and elimination, with attention to the difference between a complete solution and a possibility that merely satisfies one condition.

Practise Logical Problems

439 free Logical Problems MCQs from Analytical and Logical Reasoning, each with the correct answer and an explanation. Unlimited attempts, no account needed.

Exams that ask Analytical and Logical Reasoning questions like this

Analytical and Logical Reasoning is on 24 papers prepared for on TestUstad, and all of them draw the same bank, so this question is worth knowing for every one of them.

Related questions