Database & Data Handling (NCCIA) MCQs
1999 MCQs is category mein available hain.
All MCQs in Database & Data Handling (NCCIA)
431 In a Gym system, Membership links Member and Plan and stores StartDate and Fee. What is Membership?
Explanation
Membership resolves the M:N link and stores data about that specific pairing, so it is an associative entity.
Last verified on 27-11-2026
432 What must be true before a foreign-key constraint can be created on existing data?
Explanation
The DBMS validates existing rows when the constraint is added, so orphaned values block its creation.
Last verified on 27-11-2026
433 Which design correctly separates entities from relationships in a Library?
Explanation
Reader and Book are entities, Borrows is the relationship, and Loan implements it as an associative entity with its own attributes.
Last verified on 27-11-2026
434 In a Company, an Employee can be a Mentor to many Employees and also have one Mentor. What is this relationship?
Explanation
Each employee has at most one mentor, while a mentor can guide many, and both roles are employees in the same table.
Last verified on 27-11-2026
435 How is a self-referencing many-to-many relationship between Products, where one product is a substitute for another, implemented?
Explanation
A recursive M:N link needs a junction table, with both foreign keys pointing to the same Product table but playing different roles.
Last verified on 27-11-2026
436 In a family tree, a Person’s FatherID and MotherID are examples of what?
Explanation
Parents are also persons, so each parent column is a self-referencing foreign key with a different role name.
Last verified on 27-11-2026
437 What is the main challenge when deleting a row in a self-referencing table?
Explanation
Deleting a parent in the same table can orphan or cascade to its children in that table, so the referential action must be chosen carefully.
Last verified on 27-11-2026
438 Which query pattern finds the direct manager of an employee in a self-referencing Employee table?
Explanation
A self-join treats the same table as two roles, Manager and Subordinate, and matches the foreign key to the primary key.
Last verified on 27-11-2026
439 In a Folder system, each Folder may contain many Subfolders. How is this modelled?
Explanation
Folder hierarchy is recursive, so a folder points to its parent folder in the same table.
Last verified on 27-11-2026
440 What does it mean if a self-referencing foreign key is NULL?
Explanation
NULL in a self-referencing foreign key marks the top of the tree, where no parent exists.
Last verified on 27-11-2026