Database & Data Handling (NCCIA) MCQs
1999 MCQs is category mein available hain.
All MCQs in Database & Data Handling (NCCIA)
551 A Doctor-Patient many-to-many relationship is implemented with Appointment as the junction table. What extra information can Appointment hold?
Explanation
Junction tables can carry relationship attributes, such as when and why a particular doctor saw a particular patient.
Last verified on 27-11-2026
552 If a Student enrols in three Courses, how many rows appear for that student in the Enrolment junction table?
Explanation
Each pair is a separate row in the junction table, so three courses produce three rows for that student.
Last verified on 27-11-2026
553 What happens when a Course is deleted if the Enrolment junction table has ON DELETE CASCADE on CourseID?
Explanation
CASCADE on the junction table removes only the links, not the entities on either side of the many-to-many relationship.
Last verified on 27-11-2026
554 In a Product-Order many-to-many design, which table holds Quantity for a particular product in a particular order?
Explanation
Quantity describes one product in one order, so it is an attribute of the relationship and lives in the junction table.
Last verified on 27-11-2026
555 Which statement about a junction table is FALSE?
Explanation
A junction table must contain the two foreign keys, but it may also contain relationship attributes such as date, grade or quantity.
Last verified on 27-11-2026
556 How is a many-to-many relationship between Actor and Film usually mapped in a relational schema?
Explanation
The standard mapping creates two entity tables plus a linking table with a row for each actor-film pair.
Last verified on 27-11-2026
557 A junction table row is deleted when a Student withdraws from one Course. What remains?
Explanation
Deleting one link removes only that pair; both entities and their other links stay intact.
Last verified on 27-11-2026
558 A Clinic requires every Appointment to have a Doctor, but a Doctor may have no appointments. How is this described?
Explanation
Appointment must always link to a Doctor, while a Doctor can exist with zero appointments, so participation differs by side.
Last verified on 27-11-2026
559 Why is the composite key in a junction table important?
Explanation
The composite primary key enforces uniqueness of each pair, so a student cannot be enrolled twice in the same course by accident.
Last verified on 27-11-2026
560 What does a minimum cardinality of 0 mean on one side of a relationship?
Explanation
Minimum cardinality 0 means an instance may have no related instances, which is partial participation.
Last verified on 27-11-2026