Database & Data Handling (NCCIA) MCQs
1999 MCQs is category mein available hain.
All MCQs in Database & Data Handling (NCCIA)
731 What is the cardinality of a one-to-many relationship?
Explanation
The notation 1:N means one parent row relates to many child rows, while each child relates to one parent.
Last verified on 27-11-2026
732 What is the cardinality of a many-to-many relationship?
Explanation
The notation M:N means many rows on each side can relate to many rows on the other side.
Last verified on 27-11-2026
733 In an ER diagram, how is a one-to-many relationship usually shown?
Explanation
The crow's foot marks the many end, while the single bar marks the one end, showing the direction of the relationship.
Last verified on 27-11-2026
734 What does the crow’s foot symbol mean in an ER diagram?
Explanation
The crow's foot, with three prongs, indicates that one row can be related to many rows on that side.
Last verified on 27-11-2026
735 In a one-to-one relationship, where is the foreign key normally placed?
Explanation
A one-to-one link is made by a foreign key that is also unique, so each parent can be linked to only one child.
Last verified on 27-11-2026
736 Which key-selection mistake causes the most update problems?
Explanation
A changing natural key forces updates in the table and in every table that references it, increasing the risk of inconsistency.
Last verified on 27-11-2026
737 In a many-to-many relationship, how is it normally implemented in a relational database?
Explanation
Relational tables cannot store a list of links directly, so a junction table holds one row per pair, with a foreign key to each side.
Last verified on 27-11-2026
738 A company uses a customer’s email as the primary key. Later the customer changes email. What is the best design fix?
Explanation
A surrogate primary key stays stable while the email, kept unique, can change safely without breaking linked orders or payments.
Last verified on 27-11-2026
739 Why should a primary key ideally be minimal, using as few columns as needed?
Explanation
A minimal key keeps indexes compact, speeds up lookups and joins, and keeps foreign keys in child tables short and simple.
Last verified on 27-11-2026
740 In an exam hall, RollNo is unique for one exam session but repeats next year. What should the designer do?
Explanation
RollNo alone is not unique over time, so the key must include the year or be replaced by a stable surrogate identifier.
Last verified on 27-11-2026