Skip to main contentSkip to solution

Consider the following table and find which of the following are candidate keys based on the data present in the table?

NameRollNoAge
Ajay1123
Ramesh1223
Ravi1324
Manish1422

Solution

✅ Correct Option: 1

A candidate key is a minimal attribute that uniquely identifies every row. In the given data, Name (Ajay, Ramesh, Ravi, Manish) and RollNo (11, 12, 13, 14) have no repeated values, so each can identify a row by itself.


Option 3: Age is not a candidate key, since the value 23 appears twice (Ajay and Ramesh).

Options 2 and 4: each leaves out the other valid key. Both Name and RollNo are unique in this data.

Names can repeat in real life, but the question asks only about the data shown.

Keyboard Shortcuts

  • Left arrow: Previous question
  • Right arrow: Next question
  • S key: Jump to solution
  • Q key: Jump to question