Database & Data Handling (NCCIA) MCQs
1999 MCQs is category mein available hain.
All MCQs in Database & Data Handling (NCCIA)
811 Which statement about candidate keys is correct?
Explanation
A table with a primary key has at least one candidate key because the primary key itself is a candidate key.
Last verified on 27-11-2026
812 Which integrity rule would be broken by a student record with no StudentID at all?
Explanation
A missing primary key means the row cannot be identified, which violates entity integrity.
Last verified on 27-11-2026
813 If a parent Department row is deleted and all its Employee rows are deleted automatically, which action was defined?
Explanation
CASCADE propagates the delete from parent to child rows, preserving referential integrity.
Last verified on 27-11-2026
814 Which example shows a super key that is not a candidate key?
Explanation
The extra Name and Address add nothing to identification, so the set is a super key but not a candidate key.
Last verified on 27-11-2026
815 Which property do super keys and candidate keys share?
Explanation
Both super keys and candidate keys uniquely identify rows; only candidate keys also require minimality.
Last verified on 27-11-2026
816 What happens if you remove an attribute from a candidate key?
Explanation
By minimality, removing any attribute from a candidate key can destroy uniqueness.
Last verified on 27-11-2026
817 In a Students table, (RollNo, Name) is a super key and RollNo alone is unique. What is RollNo alone?
Explanation
RollNo alone is unique and minimal, so it is a candidate key.
Last verified on 27-11-2026
818 Which key concept includes the most sets?
Explanation
Super keys include every unique set, minimal or not, so they are the largest family of keys.
Last verified on 27-11-2026
819 What is the difference between a super key and a primary key?
Explanation
The primary key is a selected minimal super key, while super keys include all non-minimal unique sets too.
Last verified on 27-11-2026
820 If (A) is a candidate key, how many super keys contain A?
Explanation
Adding any other columns to a unique set keeps it unique, creating many super keys.
Last verified on 27-11-2026