Database & Data Handling (NCCIA) MCQs
1999 MCQs is category mein available hain.
All MCQs in Database & Data Handling (NCCIA)
931 In a Students table, RollNo assigned by the school is best described as:
Explanation
A school-assigned roll number has no meaning outside that system, so it acts as a surrogate identifier.
Last verified on 27-11-2026
932 Which of the following is a natural key for a book?
Explanation
ISBN is a real-world standard identifier printed on the book, so it is a natural key.
Last verified on 27-11-2026
933 A surrogate key is also known as:
Explanation
Surrogate keys are also called artificial or synthetic keys because they are invented by the system.
Last verified on 27-11-2026
934 Why do designers often keep a natural key as UNIQUE even when using a surrogate primary key?
Explanation
Keeping CNIC or email UNIQUE enforces its real uniqueness without making it the primary key.
Last verified on 27-11-2026
935 Which statement about surrogate keys is correct?
Explanation
Surrogate keys are internal identifiers; users normally see names or codes, not the surrogate value.
Last verified on 27-11-2026
936 What is a common example of a surrogate key in SQL Server?
Explanation
An IDENTITY column auto-generates a sequential numeric surrogate key for each new row.
Last verified on 27-11-2026
937 If a customer’s email changes, which key choice avoids updating foreign keys in other tables?
Explanation
A surrogate key never changes when business data changes, so child tables need no update.
Last verified on 27-11-2026
938 Which is a risk of using a natural key as a primary key?
Explanation
If a natural primary key changes, every foreign key referencing it must also be updated.
Last verified on 27-11-2026
939 A UUID generated by the system for each row is an example of:
Explanation
A UUID is system-generated and has no business meaning, so it is a surrogate key.
Last verified on 27-11-2026
940 Why can a person’s name generally NOT serve as a natural key?
Explanation
A natural key must uniquely identify each row, but different people can share a name and names can change.
Last verified on 27-11-2026