Multiple choice rdbms

Define compound key

  1. Is made up of a several pieces of information.

  2. Uniquely identifies an item in a list.

  3. Is a combination of each unique key.

  4. Both (a) and (b).

  5. Both (c) and (b).

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

A compound key is made up of multiple pieces of information (attributes) that together uniquely identify an item in a list. Option A correctly states it's made of several pieces. Option B correctly states it uniquely identifies an item. Option C incorrectly says 'combination of each unique key' - compound keys combine attributes, not other keys. Therefore D (both A and B) is correct.

AI explanation

A compound key (also called a composite key) is formed by combining two or more columns/attributes to create a value that uniquely identifies a record in a table — this matches option (a), 'made up of several pieces of information.' It also, by definition, uniquely identifies an item in the list/table, matching option (b). Therefore 'Both (a) and (b)' correctly captures the full definition. Option (c), 'combination of each unique key,' is a looser/less precise phrasing (a compound key isn't necessarily built from other unique keys), so combining it with (b) is not as accurate as combining (a) and (b).