Database & Data Handling (NCCIA) MCQs
1999 MCQs is category mein available hain.
All MCQs in Database & Data Handling (NCCIA)
521 Which of the following is an entity and which is a relationship?
Explanation
Student is a thing with attributes, while Enrols is the association linking a student to a course.
Last verified on 27-11-2026
522 Why might Enrolment become an entity rather than just a relationship?
Explanation
When a relationship carries attributes and needs its own key, it is modelled as an associative entity, which is both a relationship and an entity.
Last verified on 27-11-2026
523 When does an associative entity become necessary in ER modelling?
Explanation
An associative entity represents a many-to-many relationship that carries attributes of its own, such as a grade in an enrolment.
Last verified on 27-11-2026
524 Which statement best distinguishes an entity from a relationship?
Explanation
Entities are the nouns of a model and relationships are the verbs connecting them; a relationship cannot exist without its participating entities.
Last verified on 27-11-2026
525 In an ER diagram, how are entities and relationships drawn differently?
Explanation
The standard ER notation uses a rectangle for an entity type and a diamond for a relationship type.
Last verified on 27-11-2026
526 A weak entity depends on what?
Explanation
A weak entity such as a Dependent cannot be identified without its owner entity, such as Employee, and its key includes the owner's key.
Last verified on 27-11-2026
527 Which of the following is a correct foreign-key implementation scenario?
Explanation
A foreign key must reference the primary key of the parent table, and it blocks inserts that point to a missing parent.
Last verified on 27-11-2026
528 Which of the following is a relationship attribute rather than an entity attribute?
Explanation
Grade belongs to a specific student-course pairing, not to the student alone or the course alone, so it is a relationship attribute.
Last verified on 27-11-2026
529 What happens when you try to insert a child row whose foreign key does not match any parent row?
Explanation
The DBMS enforces referential integrity by refusing child rows that reference a non-existent parent.
Last verified on 27-11-2026
530 If a relationship is removed from a design, what happens to the entities?
Explanation
Entities have independent existence, while a relationship only records how they are associated.
Last verified on 27-11-2026