Database & Data Handling (NCCIA) MCQs
1999 MCQs is category mein available hain.
All MCQs in Database & Data Handling (NCCIA)
541 Which many-to-many example is correctly mapped with a junction table?
Explanation
Student-Course is many-to-many, so it needs a junction table; the other examples are one-to-many or one-to-one.
Last verified on 27-11-2026
542 In an organisational chart, the relationship between a manager and a subordinate is which cardinality?
Explanation
Each subordinate reports to one manager, while a manager can supervise several employees, giving a 1:N recursive relationship.
Last verified on 27-11-2026
543 An Employee supervises other Employees. What type of relationship is this?
Explanation
A self-referencing relationship relates instances of the same entity type to each other.
Last verified on 27-11-2026
544 What does a foreign key constraint guarantee?
Explanation
Referential integrity requires a foreign key to point to a real parent row, unless NULL is allowed.
Last verified on 27-11-2026
545 In an Employee table, which column implements the self-referencing ReportsTo relationship?
Explanation
The manager of an employee is another employee, so ManagerID references the same table's primary key.
Last verified on 27-11-2026
546 Where is a foreign key placed in a one-to-many relationship?
Explanation
The many side holds the foreign key so many child rows can point to the same parent.
Last verified on 27-11-2026
547 Which example best illustrates a self-referencing relationship?
Explanation
Management is recursive: the manager and the subordinate are both employees in the same table.
Last verified on 27-11-2026
548 In a one-to-one relationship, where is the foreign key usually placed?
Explanation
A unique foreign key ensures each parent is linked to at most one child, which is what makes the relationship one-to-one.
Last verified on 27-11-2026
549 In a Category table for an online store, how is a sub-category linked to its parent category?
Explanation
A category hierarchy is self-referencing, so each category may point to its parent category in the same table.
Last verified on 27-11-2026
550 What is a recursive relationship also called?
Explanation
Recursive and self-referencing describe the same pattern, where an entity type relates to itself.
Last verified on 27-11-2026