Database & Data Handling (NCCIA) MCQs
1999 MCQs is category mein available hain.
All MCQs in Database & Data Handling (NCCIA)
801 A bank uses an account number printed on a cheque book as a key. What type of key is it?
Explanation
The account number is a real-world identifier, so it is a natural key.
Last verified on 27-11-2026
802 Which composite key would identify a row in a table recording daily sales by shop and product?
Explanation
Daily sales for a shop and product are identified by shop, product and date together.
Last verified on 27-11-2026
803 When should a designer prefer a surrogate key over a natural key?
Explanation
A long or changeable natural key makes a poor primary key, so a stable surrogate is preferred.
Last verified on 27-11-2026
804 What does referential integrity guarantee about an Order row?
Explanation
Referential integrity requires a foreign key to match an existing parent key or be NULL.
Last verified on 27-11-2026
805 Which key is defined as a minimal super key?
Explanation
A candidate key is exactly a minimal super key: unique with no redundant attribute.
Last verified on 27-11-2026
806 In a Course table, CourseCode is the primary key and CourseTitle is UNIQUE. What is CourseTitle?
Explanation
CourseTitle is a candidate key not chosen as primary, so it is an alternate key.
Last verified on 27-11-2026
807 A UNIQUE constraint on a column that also has NOT NULL makes that column:
Explanation
Unique plus not null gives the properties of a candidate key, eligible to be a primary key.
Last verified on 27-11-2026
808 Which statement about a composite foreign key is correct?
Explanation
A composite foreign key must match the full composite primary key, column by column in order.
Last verified on 27-11-2026
809 Why is (StudentID, CourseID) a candidate key for Enrollment but (StudentID, CourseID, Grade) is not?
Explanation
Adding Grade keeps uniqueness but breaks minimality, so only the smaller set is a candidate key.
Last verified on 27-11-2026
810 In key theory, which key is selected from candidate keys to be the table’s identifier?
Explanation
The primary key is chosen from among the candidate keys of a table.
Last verified on 27-11-2026