Database & Data Handling (NCCIA) MCQs
1999 MCQs is category mein available hain.
All MCQs in Database & Data Handling (NCCIA)
1221 What is the primary key of a junction table for an M:N relationship?
Explanation
The pair of foreign keys together uniquely identifies each link, so it forms the composite primary key.
Last verified on 27-11-2026
1222 In the conversion of a 1:N relationship, why is the foreign key placed on the N side?
Explanation
Placing it on the N side allows each many-side row to point to its single parent without repeating data.
Last verified on 27-11-2026
1223 How is a weak entity converted to a relational table?
Explanation
The weak entity table's primary key is the composite of the owner foreign key and the discriminator.
Last verified on 27-11-2026
1224 In the conversion of a weak entity, what role does the owner’s key play?
Explanation
The owner key is stored as a foreign key and forms part of the weak entity's composite primary key.
Last verified on 27-11-2026
1225 How is a relationship with its own attributes converted in a 1:N case?
Explanation
In a 1:N relationship, descriptive attributes move to the N-side table with the foreign key.
Last verified on 27-11-2026
1226 What is specialisation in an ER diagram?
Explanation
Specialisation divides a superclass entity set into subclasses with their own attributes.
Last verified on 27-11-2026
1227 How is a relationship with its own attributes converted in an M:N case?
Explanation
In an M:N relationship the junction table holds both foreign keys plus the relationship's descriptive attributes.
Last verified on 27-11-2026
1228 What is generalisation in an ER diagram?
Explanation
Generalisation is the reverse of specialisation: subclasses are grouped under a shared superclass.
Last verified on 27-11-2026
1229 How is a recursive 1:N relationship converted to relational tables?
Explanation
A self-referencing foreign key, such as SupervisorID in Employee referencing EmployeeID, implements a recursive 1:N relationship.
Last verified on 27-11-2026
1230 When converting an ER model to a relational schema, what does each strong entity set become?
Explanation
Each strong entity set maps to a relation whose attributes are the entity's attributes and whose primary key is the entity's key.
Last verified on 27-11-2026