Database & Data Handling (NCCIA) MCQs
1999 MCQs is category mein available hain.
All MCQs in Database & Data Handling (NCCIA)
821 Which of the following best defines a candidate key?
Explanation
A candidate key is defined as a minimal super key: unique, with no redundant attribute.
Last verified on 27-11-2026
822 A table has candidate keys (ID) and (Email). What is (ID, Email)?
Explanation
Combining two unique attributes is still unique but not minimal, so it is a super key only.
Last verified on 27-11-2026
823 If a super key has a redundant attribute, removing it:
Explanation
Removing redundancy step by step leads from a super key to a minimal candidate key.
Last verified on 27-11-2026
824 Which of the following must a candidate key NOT contain?
Explanation
Minimality forbids any attribute whose removal still leaves a unique set.
Last verified on 27-11-2026
825 In a table where (StudentID, CourseID) is a candidate key, is (StudentID, CourseID, Grade) a candidate key?
Explanation
Grade adds no identifying power, so the larger set is a super key but not a minimal candidate key.
Last verified on 27-11-2026
826 Which key type is chosen as the primary key?
Explanation
The primary key must be a candidate key, because it must be both unique and minimal.
Last verified on 27-11-2026
827 What is the relationship between a primary key and a super key?
Explanation
A primary key is selected from candidate keys, which are minimal super keys.
Last verified on 27-11-2026
828 If Email is unique, which of the following is a super key?
Explanation
Any set containing the unique Email is unique, so (Email, Phone) is a super key.
Last verified on 27-11-2026
829 Which statement is true about a super key and NULL values?
Explanation
Uniqueness defines a super key; the NOT NULL rule applies when it is used as a primary key under entity integrity.
Last verified on 27-11-2026
830 Which set could be both a super key and a candidate key?
Explanation
A minimal unique set satisfies both definitions at once.
Last verified on 27-11-2026