Computer Science - Class 12
Solutions to CBSE Sample Paper - Computer Science Class 12

Fill in the blank:

_________ is a non-key attribute, whose values are derived from the

primary key of some other table.

(a) Primary Key

(b) Foreign Key

(c) Candidate Key

(d) Alternate Key 

 

Answer:

Checking the options:

  • (a) Primary Key - It is used to uniquely identify the tuples in a relation.
  • (b) Foreign Key - It is used to represent the relationship between two tables/relations and its value is derived from the primary key of some other table.
  • (c) Candidate Key - refers to the set of all attributes which can uniquely identify records in a relation.
  • (d) Alternate Key - It is a candidate key which has not been selected to be the primary key.

So, the correct answer is (b).

Learn in your speed, with individual attention - Teachoo Maths 1-on-1 Class

Ask a doubt
Davneet Singh's photo - Co-founder, Teachoo

Made by

Davneet Singh

Davneet Singh has done his B.Tech from Indian Institute of Technology, Kanpur. He has been teaching from the past 13 years. He provides courses for Maths, Science, Social Science, Physics, Chemistry, Computer Science at Teachoo.