Database & Data Handling (NCCIA) MCQs
1999 MCQs is category mein available hain.
All MCQs in Database & Data Handling (NCCIA)
261 Which sorting behaviour is common for NULL values?
Explanation
- NULL ordering is DBMS-dependent; some systems put NULLs first in ASC order and others last.
- Use NULLS FIRST or NULLS LAST where supported to control it.
Last verified on 27-11-2026
262 What is a NULL in the context of entity integrity?
Explanation
- Entity integrity requires every primary key value to be present and unique.
- A NULL primary key would violate that rule.
Last verified on 27-11-2026
263 Which of the following best explains why COUNT(*) and COUNT(Phone) can differ?
Explanation
- The difference equals the number of rows with a NULL Phone.
- COUNT(column) counts only non-NULL values.
Last verified on 27-11-2026
264 What does SELECT * FROM Students WHERE Grade IS NOT NULL return?
Explanation
- IS NOT NULL selects rows where a value is present.
- It is the opposite of IS NULL.
Last verified on 27-11-2026
265 Which of the following is NOT a property of a database transaction?
Explanation
Atomicity, Consistency, Isolation and Durability (ACID) are the properties of a transaction; redundancy is not one of them.
Last verified on 27-11-2026
266 Which property ensures that a transaction is treated as a single indivisible unit?
Explanation
- Atomicity means all or nothing: a transaction either completes fully or has no effect.
- A failure midway rolls back all its changes.
Last verified on 27-11-2026
267 What does the ‘C’ in ACID stand for?
Explanation
- C stands for Consistency: a transaction moves the database from one valid state to another.
- Constraints and rules must hold after the transaction.
Last verified on 27-11-2026
268 What does Isolation mean in ACID?
Explanation
- Isolation ensures concurrent transactions behave as if they ran one after another.
- It prevents dirty reads and lost updates.
Last verified on 27-11-2026
269 What does Durability mean in ACID?
Explanation
- Durability means committed changes are permanent, even after a crash or power failure.
- They are written to stable storage.
Last verified on 27-11-2026
270 Which ACID property is violated if a bank transfer debits one account but never credits the other?
Explanation
- Atomicity is violated because the transfer was only partly applied.
- Both debit and credit must succeed together or both be undone.
Last verified on 27-11-2026