Database & Data Handling (NCCIA) MCQs
1999 MCQs is category mein available hain.
All MCQs in Database & Data Handling (NCCIA)
1001 In an M:N relationship between Author and Book, the junction table AuthorBook contains AuthorID and BookID. What is its primary key?
Explanation
The pair jointly identifies each author-book link, so it is the composite primary key.
Last verified on 27-11-2026
1002 Which normal form concept relies on candidate keys to define prime attributes?
Explanation
2NF and 3NF rules are stated in terms of prime and non-prime attributes, which are defined by candidate keys.
Last verified on 27-11-2026
1003 Which of the following lists contains ONLY key types?
Explanation
Primary, candidate, alternate, foreign and super are all key types, while derived and multivalued describe attributes.
Last verified on 27-11-2026
1004 What is the relationship between a super key, a candidate key and a primary key?
Explanation
The hierarchy is: super keys include candidate keys, and the primary key is one selected candidate key.
Last verified on 27-11-2026
1005 If a table has NO candidate key, what does that mean?
Explanation
Without a candidate key, no attribute set can uniquely identify rows, so entity integrity cannot be enforced.
Last verified on 27-11-2026
1006 Why is a surrogate auto-increment ID often preferred as a primary key?
Explanation
A surrogate key is system-controlled, so it stays stable even if business attributes such as names or emails change.
Last verified on 27-11-2026
1007 A designer chooses Email as the primary key instead of RollNo. What is RollNo then?
Explanation
RollNo is still a candidate key, so once Email is chosen as primary, RollNo becomes an alternate key.
Last verified on 27-11-2026
1008 What is a key attribute in ER modelling that becomes a primary key in a table?
Explanation
The underlined key attribute in an ER diagram becomes the primary key of the corresponding table.
Last verified on 27-11-2026
1009 What is the first step in identifying candidate keys for a table?
Explanation
Candidate keys are found by first finding super keys, then keeping only the minimal ones.
Last verified on 27-11-2026
1010 If two tables share the same primary key values in a 1:1 relationship, the foreign key in one table is also:
Explanation
In a 1:1 relationship implemented by sharing the key, the foreign key is also the primary key of the referencing table.
Last verified on 27-11-2026