db_ch3-4
db_ch3-4
8. What type of constraint ensures that a foreign key must match a primary
key in another table?
A. Domain constraint
B. Entity integrity constraint
C. Key constraint
D. Referential integrity constraint
Answer: D
10. What action does the CASCADE option specify in referential integrity
constraints?
A. Reject the deletion
B. Set the foreign key to NULL
C. Propagate the change
D. Perform no action
Answer: C
11. What does the RESTRICT option do in the case of a DELETE operation?
A. Propagates the deletion
B. Sets the foreign key to NULL
C. Rejects the deletion
D. Updates the foreign key
Answer: C
A. INSERT
B. DELETE
C. MODIFY
D. SELECT
Answer: D
16. Which of the following constraints is automatically enforced by the
DBMS?
A. Key constraint
B. Business rule
C. Trigger
D. Stored procedure
Answer: A
18. What type of constraint is violated if an attribute value is not within its
domain?
A. Key constraint
B. Domain constraint
C. Referential integrity constraint
D. Entity integrity constraint
Answer: B
Chapter 4
22. What is an Entity in an ERD?
A. A relationship between data
B. A uniquely identifiable object
C. A type of data structure
D. A primary key
Answer: B