What is a candidate key? MCQ with Answer and Explanation

What is a candidate key?
A. A column that can be used as a primary key but is not chosen
B. A column that allows duplicate values
C. A set of columns that uniquely identifies a row and can serve as a primary key
D. A foreign key
Answer: Option C
Solution (By JKSSB Mock Tests)
A candidate key is an attribute or set of attributes that can uniquely identify a tuple; one is selected as the primary key.

Discuss this Question (0)

No comments yet. Be the first to start the discussion!

Practice More Database Management System (DBMS) Questions

Question #1
In the context of databases, what is a 'tuple'?
A. A row of a table
B. A column of a table
C. A table itself
D. A key constraint

Correct Answer: Option A


Explanation:
In relational databases, a tuple is a single row or record of a table.

This question belongs to: Computer Database Management System (DBMS)
Question #2
In an Entity-Relationship (ER) diagram, what geometric shape is used to represent an entity type?
A. Triangle
B. Ellipse
C. Diamond
D. Rectangle

Correct Answer: Option D


Explanation:
In standard ER modeling notation, rectangles are used to represent entity sets or entity types.

This question belongs to: Computer Database Management System (DBMS)
Question #3
Which key establishes a logical relationship between two tables by referencing the primary key of another table?
A. Alternate Key
B. Super Key
C. Foreign Key
D. Candidate Key

Correct Answer: Option C


Explanation:
A Foreign Key is an attribute or collection of attributes in one table that references the primary key of another table to maintain referential integrity.

This question belongs to: Computer Database Management System (DBMS)