UGC-NET Nov 2017 · ER-Model

MCQ · 2 marks · Problem DBMS-RELM-0054

Match the following with respect to RDBMS : $\begin{array}{clcl} \text{(a)} & \text{Entity integrity} & \text{(i)} & \text{enforces some specific business rule that do not} \\ &&& \text{fall into entity or domain} \\ \text{(b)} & \text{Domain integrity} & \text{(ii)} & \text{Rows can’t be deleted which are used by} \\ &&& \text{other records} \\ \text{(c)} & \text{Referential integrity} & \text{(iii)} & \text{enforces valid entries for a column} \\ \text{(d)} & \text{Userdefined integrity} & \text{(iv)} & \text{No duplicate rows in a table} \end{array}$ $\textbf{Code :}$
  1. A
    $\text{(a)-(iii); (b)-(iv); (c)-(i); (d)-(ii)}$
  2. B
    $\text{(a)-(iv); (b)-(iii); (c)-(ii); (d)-(i)}$
  3. C
    $\text{(a)-(iv); (b)-(ii); (c)-(iii); (d)-(i)}$
  4. D
    $\text{(a)-(ii); (b)-(iii); (c)-(iv); (d)-(i)}$

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

Show the worked solutionEntity integrity: the primary key is unique and non-null, so there are no duplicate rows (a-iv). Domain integrity: only valid entries are allowed in a column (b-iii). Referential integrity: a row that other records refer to cannot be deleted (c-ii). User-defined integrity: business rules that are neither entity nor domain rules (d-i). So (a)-(iv), (b)-(iii), (c)-(ii), (d)-(i), which is option (B).Answer: B

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