Database & Data Handling (NCCIA) MCQs
1999 MCQs is category mein available hain.
All MCQs in Database & Data Handling (NCCIA)
1 If a transaction reads a row, another transaction updates and commits it, and the first transaction reads it again and sees the new value, which anomaly occurred?
A
Non-repeatable read
B
Phantom read
C
Dirty read
D
Deadlock
Explanation
The same row returned different values within one transaction because of a committed update.
Last verified on 27-11-2026
2 Which technique prevents lost updates when two users edit the same record at the same time?
A
Removing all indexes
B
Locking or optimistic concurrency control with version checking
C
Disabling backups
D
Deleting the record
Explanation
Concurrency control ensures one update does not silently overwrite another.
Last verified on 27-11-2026
3 What is the trade-off of higher normalisation?
A
No effect on queries
B
More redundancy and faster reads always
C
Less redundancy but more tables and joins, which can slow some reads
D
Less storage and no joins
Explanation
Normalisation reduces duplication but splits data, so queries may need more joins.
Last verified on 27-11-2026
4 Which normal form should a well-designed transactional database usually reach?
A
No normal form
B
Only 1NF
C
Only BCNF for every table
D
At least 3NF
Explanation
3NF is the usual practical target, balancing integrity against complexity.
Last verified on 27-11-2026
5 A customer’s address is stored in 50 rows and must be changed in every row. Which anomaly does this describe?
A
Update anomaly
B
Insertion anomaly
C
Deletion anomaly
D
Phantom read
Explanation
An update anomaly occurs when the same fact is stored in many places and must be changed in all of them to stay consistent.
Last verified on 27-11-2026
6 Which anomaly occurs when a new department cannot be recorded because no employee has joined it yet?
A
Update anomaly
B
Insertion anomaly
C
Deletion anomaly
D
Dirty read
Explanation
An insertion anomaly prevents recording a fact without also recording unrelated data.
Last verified on 27-11-2026
7 Which anomaly occurs when deleting the last employee of a department also deletes the department’s details?
A
Update anomaly
B
Insertion anomaly
C
Deletion anomaly
D
Non-repeatable read
Explanation
A deletion anomaly causes unrelated data to be lost when a row is deleted.
Last verified on 27-11-2026
8 Which statement best summarises why indexes, backups, validation and normalisation matter together?
A
They replace the need for a DBMS
B
They only make the database larger
C
They only affect the user interface
D
They protect speed, recoverability, correctness and consistency of data
Explanation
Indexes speed access, backups enable recovery, validation ensures correct input, and normalisation prevents anomalies.
Last verified on 27-11-2026
9 Which SQL statement lists indexes on a table in most databases, or shows index information?
A
SHOW INDEX FROM table
B
CREATE TABLE
C
SELECT * FROM table
D
DELETE INDEX
Explanation
SHOW INDEX (or the DBMS equivalent) displays the indexes defined on a table.
Last verified on 27-11-2026
10 What is a warm backup site in disaster recovery?
A
A site that is always fully live
B
A site with hardware ready but data restored from backup after a failure
C
A site with no hardware at all
D
A backup stored on paper
Explanation
A warm site has equipment ready, but data must be restored, so recovery is slower than a hot site.
Last verified on 27-11-2026