Database & Data Handling (NCCIA) MCQs
1999 MCQs is category mein available hain.
All MCQs in Database & Data Handling (NCCIA)
991 Which is a disadvantage of a long composite key?
Explanation
A composite primary key must be repeated in child tables as a foreign key, increasing storage and join complexity.
Last verified on 27-11-2026
992 In a many-to-many relationship, the junction table usually has:
Explanation
The junction table commonly uses the pair of foreign keys as its composite primary key to identify each link once.
Last verified on 27-11-2026
993 In a table Enrollment(StudentID, CourseID, Grade), which columns together form the composite primary key?
Explanation
StudentID and CourseID together identify each enrolment uniquely, while Grade is a non-key attribute.
Last verified on 27-11-2026
994 In a table Enrollment(StudentID, CourseID, Grade), which pair most likely forms a composite primary key?
Explanation
One student can take many courses and one course has many students, so only the pair identifies one enrollment uniquely.
Last verified on 27-11-2026
995 Which statement about a composite key is correct?
Explanation
A composite key guarantees uniqueness of the combined values; an individual column may repeat across rows.
Last verified on 27-11-2026
996 What is another common name for a composite key?
Explanation
Composite key and compound key are used interchangeably for a key formed from more than one attribute.
Last verified on 27-11-2026
997 A composite key is needed mainly when:
Explanation
When no single column is unique, combining columns can produce a unique identifier for each row.
Last verified on 27-11-2026
998 In OrderDetail(OrderID, ProductID, Quantity, Price), why is (OrderID, ProductID) a suitable composite key?
Explanation
The pair is unique because a product appears at most once in a given order, although each part repeats separately.
Last verified on 27-11-2026
999 Which of the following is an example of a composite key?
Explanation
The pair identifies one enrollment, whereas each single value can occur many times in the table.
Last verified on 27-11-2026
1000 Which of the following is TRUE about alternate keys?
Explanation
Alternate keys are the candidate keys left over after the primary key is chosen.
Last verified on 27-11-2026