Database & Data Handling (NCCIA) MCQs
1999 MCQs is category mein available hain.
All MCQs in Database & Data Handling (NCCIA)
131 Why is a backup schedule important?
Explanation
A schedule ensures consistent, timely backups and limits data loss.
Last verified on 27-11-2026
132 What is data integrity in a database?
Explanation
Data integrity means data remains accurate, consistent and reliable throughout its life.
Last verified on 27-11-2026
133 Which constraint ensures a column cannot contain NULL values?
Explanation
NOT NULL prevents missing values in a column.
Last verified on 27-11-2026
134 Which constraint ensures all values in a column are different?
Explanation
UNIQUE enforces that no two rows share the same value in that column.
Last verified on 27-11-2026
135 Which SQL clause is used to declare a foreign key in a CREATE TABLE statement?
Explanation
The FOREIGN KEY clause followed by REFERENCES declares a foreign key and the table and column it references.
Last verified on 27-11-2026
136 Which constraint ensures that a column contains only unique, non-NULL values?
Explanation
A PRIMARY KEY constraint guarantees uniqueness and forbids NULL values in the key column.
Last verified on 27-11-2026
137 What is a CHECK constraint used for?
Explanation
CHECK validates that inserted or updated values meet a specified condition.
Last verified on 27-11-2026
138 What is a DEFAULT constraint used for?
Explanation
DEFAULT provides a preset value if a column is omitted in an INSERT.
Last verified on 27-11-2026
139 Which type of integrity ensures relationships between tables remain valid?
Explanation
Referential integrity ensures foreign keys always point to existing primary key rows.
Last verified on 27-11-2026
140 In which situation is entity integrity violated?
Explanation
Entity integrity requires the primary key to be unique and never NULL.
Last verified on 27-11-2026