Database & Data Handling (NCCIA) MCQs
1999 MCQs is category mein available hain.
All MCQs in Database & Data Handling (NCCIA)
421 A Customer places many Orders. If Order.CustomerID is NULL for an order, what does that mean?
Explanation
A NULL foreign key means no link, which is valid only when the child may exist without a parent.
Last verified on 27-11-2026
422 Which of the following is a relationship, not an entity?
Explanation
Teaches is the association between a teacher and a course, while Teacher, Course and Classroom are entities.
Last verified on 27-11-2026
423 What is a relationship instance?
Explanation
A relationship instance is one occurrence of the association, linking particular entities at a particular time.
Last verified on 27-11-2026
424 How is a relationship set different from a relationship instance?
Explanation
The set is the collection of all links of that type, such as all enrolments, while one enrolment is a single instance.
Last verified on 27-11-2026
425 Which ER concept describes the total number of relationship instances an entity can take part in?
Explanation
Cardinality limits how many instances of one entity can be associated with instances of another, such as 1:N.
Last verified on 27-11-2026
426 An Order must have at least one OrderItem, and an OrderItem belongs to exactly one Order. What does this mean for the OrderItem side?
Explanation
Every OrderItem must link to one Order, so its foreign key is mandatory and points to a single parent.
Last verified on 27-11-2026
427 What is the main purpose of a foreign key in a relationship?
Explanation
A foreign key is a constraint as well as a column: it guarantees the referenced parent exists and defines what happens on change or delete.
Last verified on 27-11-2026
428 A designer stores Course names inside the Student table as a comma-separated list. Which modelling error is this?
Explanation
A list in one column cannot be checked by foreign keys and violates 1NF; the correct design is a junction table.
Last verified on 27-11-2026
429 Which statement correctly describes an entity set?
Explanation
An entity set is the set of all instances of one entity type, corresponding to all rows of its table.
Last verified on 27-11-2026
430 What is the difference between an attribute and a relationship?
Explanation
Attributes describe a single entity, such as a student's name, while relationships describe associations, such as enrolment.
Last verified on 27-11-2026