Database & Data Handling (NCCIA) MCQs
1999 MCQs is category mein available hain.
All MCQs in Database & Data Handling (NCCIA)
881 Which statement about referential integrity and data types is correct?
Explanation
Matching values can only be compared reliably when the types are compatible.
Last verified on 27-11-2026
882 Which rule is broken when a primary key column contains a NULL value?
Explanation
Entity integrity requires that no part of a primary key is NULL.
Last verified on 27-11-2026
883 Which constraint enforces entity integrity?
Explanation
The PRIMARY KEY constraint enforces uniqueness and NOT NULL, which together give entity integrity.
Last verified on 27-11-2026
884 What does entity integrity prevent?
Explanation
By requiring a unique non-null primary key, entity integrity guarantees every row can be identified.
Last verified on 27-11-2026
885 If a table has no primary key, which integrity rule is violated?
Explanation
A table without a primary key cannot guarantee unique identification, violating entity integrity.
Last verified on 27-11-2026
886 Can a primary key column contain NULL under entity integrity?
Explanation
Entity integrity forbids NULL in any part of a primary key.
Last verified on 27-11-2026
887 What is the difference between entity integrity and referential integrity?
Explanation
Entity integrity is intra-table identification, while referential integrity is inter-table linkage.
Last verified on 27-11-2026
888 Which of the following violates entity integrity?
Explanation
A NULL primary key means the row has no identifier, directly violating entity integrity.
Last verified on 27-11-2026
889 Which of the following violates referential integrity, not entity integrity?
Explanation
A non-existent parent reference is a referential integrity failure, while the others concern the primary key itself.
Last verified on 27-11-2026
890 In a composite primary key, entity integrity requires:
Explanation
No part of a primary key may be NULL, so all composite key columns must be NOT NULL.
Last verified on 27-11-2026