Database & Data Handling (NCCIA) MCQs
1999 MCQs is category mein available hain.
All MCQs in Database & Data Handling (NCCIA)
1391 A library rule says a member may borrow many books, but a book copy may be borrowed by only one member at a time. What is the cardinality between Member and BookCopy?
A
One-to-many
B
Many-to-many
C
One-to-one
D
Many-to-one from Member
Explanation
One member links to many copies, while each copy links to at most one member at a time, so it is 1:N.
Last verified on 27-11-2026
1392 What is meant by the maximum cardinality of a relationship?
A
The smallest number that must participate
B
The largest number of entities that may participate in the relationship
C
The number of attributes in the relationship
D
The number of rows in a table
Explanation
Maximum cardinality sets the upper limit on how many entities can be associated, such as one or many.
Last verified on 27-11-2026
1393 In an ER model, what does cardinality describe?
A
The maximum number of entities of one type that can be associated with entities of another type
B
The number of attributes in an entity
C
The number of tables in a database
D
The size of a primary key
Explanation
Cardinality is a mapping constraint that limits how many entities on one side of a relationship can be linked to entities on the other side.
Last verified on 27-11-2026
1394 In a one-to-one (1:1) relationship between Employee and ParkingSpace, what is true?
A
One employee can have many parking spaces
B
Each employee is assigned at most one parking space and each space belongs to at most one employee
C
Many employees share one parking space
D
Each employee must have at least two spaces
Explanation
A 1:1 relationship allows at most one entity on each side to be associated with an entity on the other side.
Last verified on 27-11-2026
1395 Which of the following is an example of a one-to-many (1:N) relationship?
A
One student enrols in one course only
B
Many students share one student ID
C
One department employs many employees
D
One passport belongs to many people
Explanation
In a 1:N relationship one department can be linked to many employees, while each employee belongs to at most one department.
Last verified on 27-11-2026
1396 In a many-to-many (M:N) relationship between Students and Courses, what is true?
A
A student can enrol in only one course
B
A course can have only one student
C
Each student has exactly one course
D
A student can enrol in many courses and a course can have many students
Explanation
M:N means many entities on each side can be associated with many entities on the other side.
Last verified on 27-11-2026
1397 What is the cardinality ratio of the relationship between a Country and its Citizens?
A
One-to-many
B
One-to-one
C
Many-to-many
D
Many-to-one
Explanation
One country has many citizens, while each citizen belongs to one country, so the ratio is 1:N from Country to Citizen.
Last verified on 27-11-2026
1398 What is the cardinality ratio of the relationship between a Book and its Author when a book has several authors and an author writes several books?
A
One-to-one
B
Many-to-many
C
One-to-many
D
One-to-zero
Explanation
Each book can have many authors and each author can write many books, which is an M:N relationship.
Last verified on 27-11-2026
1399 In a 1:N relationship, on which side is the foreign key normally placed when converting to relational tables?
A
On the one side, referencing the many side
B
In a separate table only
C
On the many (N) side, referencing the one side
D
On both sides
Explanation
The foreign key is placed on the N side because each N-side row refers to exactly one row on the 1 side.
Last verified on 27-11-2026
1400 Which of the following is a ternary relationship?
A
A book is written by an author
B
A student enrols in a course
C
An employee manages another employee
D
A supplier supplies a part to a project
Explanation
Supplies links Supplier, Part and Project, three sets, so it is ternary. Enrols and Writes link two sets.
Last verified on 27-11-2026