Database & Data Handling (NCCIA) MCQs
1999 MCQs is category mein available hain.
All MCQs in Database & Data Handling (NCCIA)
1371 Which statement about cardinality is correct?
A
Cardinality counts the attributes of an entity
B
Cardinality is the same as participation
C
Cardinality restricts how many relationship instances an entity may participate in
D
Cardinality determines the data type of a key
Explanation
Cardinality is a mapping constraint on the number of relationship instances per entity.
Last verified on 27-11-2026
1372 In the relationship Teaches between Teacher and Subject, if one teacher teaches many subjects and each subject is taught by many teachers, the cardinality is what?
A
One-to-many
B
One-to-one
C
Many-to-one
D
Many-to-many
Explanation
Many teachers to many subjects is M:N.
Last verified on 27-11-2026
1373 What is a binary relationship with cardinality 1:N also called?
A
A one-to-many relationship
B
A unary relationship
C
A ternary relationship
D
A recursive relationship
Explanation
A relationship between two entity sets with a 1:N ratio is called one-to-many.
Last verified on 27-11-2026
1374 If every department must have at least one employee and an employee belongs to exactly one department, what are the minimum cardinalities?
A
Department 0, Employee 0
B
Department 1, Employee 1
C
Department 1, Employee 0
D
Department 0, Employee 1
Explanation
Both sides are mandatory: a department needs at least one employee and an employee needs exactly one department.
Last verified on 27-11-2026
1375 What is meant by the minimum cardinality of a relationship?
A
The largest number allowed
B
The total number of entities in the database
C
The smallest number of entities that must participate, often zero or one
D
The number of primary keys
Explanation
Minimum cardinality states whether participation is optional (0) or mandatory (1 or more).
Last verified on 27-11-2026
1376 Which cardinality would best model the relationship between a FootballTeam and its Players?
A
One-to-one
B
Many-to-many
C
One-to-many
D
Zero-to-zero
Explanation
One team has many players, while each player belongs to one team in this model, so it is 1:N.
Last verified on 27-11-2026
1377 If an entity can exist without participating in a relationship, what is its minimum cardinality?
A
One
B
Many
C
Two
D
Zero
Explanation
A minimum of zero means participation is optional, so the entity may exist without a related entity.
Last verified on 27-11-2026
1378 A patient may visit many doctors over time, and a doctor treats many patients. Which design best represents this?
A
A one-to-one relationship
B
A foreign key in Patient only
C
A foreign key in Doctor only
D
A many-to-many relationship resolved with a Visit junction table
Explanation
M:N between Patient and Doctor is resolved by a Visit table holding both foreign keys, possibly with date as an attribute.
Last verified on 27-11-2026
1379 Which pair best illustrates a one-to-one relationship in a hospital database?
A
Patient and MedicalRecord
B
Patient and Doctor
C
Doctor and Ward
D
Patient and Medicine
Explanation
Each patient normally has one medical record and each record belongs to one patient, a classic 1:1 case.
Last verified on 27-11-2026
1380 In a school database, the relationship between Class and Student is usually modelled as what?
A
One-to-one
B
One-to-many
C
Many-to-many
D
Many-to-one from Class
Explanation
One class contains many students, while each student belongs to one class, so it is 1:N.
Last verified on 27-11-2026