UGC-NET Jun 2015 · Normal Forms (1NF, 2NF, 3NF, BCNF)

MCQ · 2 marks · Problem DBMS-NORM-0023

The relationVendor Order (\(V_no\), \(V_ord_no\), \(V_name\), Qty_sup, unit_price)has the composite key (\(V_no\), \(V_ord_no\)). It is NOT in 2NF because
  1. A
    Non_key attribute \(V_name\) is dependent on \(V_no\) which is part of composite key
  2. B
    Non_key attribute \(V_name\) is dependent on Qty_sup
  3. C
    Key attribute Qty_sup is dependent on primary key unit_price
  4. D
    Key attribute \(V_ord_no\) is dependent on primary key unit_price

Solve it on GATE DA practice →More Relational Model & SQL problems

Show the worked solution\[\boxed{\text{2NF: no non-key attribute depends on only part of a candidate key}}\](A) \(V_name\) depends on \(V_no\) alone, which is only part of the composite key (\(V_no\), \(V_ord_no\)). This partial dependency violates 2NF: correct.(B) A dependency of \(V_name\) on the non-key Qty_sup would be a transitive dependency (a 3NF issue), and it does not hold for vendor names anyway.(C), (D) Qty_sup and \(V_ord_no\) are not determined by unit_price, and unit_price is not the primary key.(The UGC NET paper printed "is in 2NF because"; the reason in its key (A) is exactly why the relation is not in 2NF, so the stem has been corrected.)Answer: A

GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com