Database & Data Handling (NCCIA) MCQs
1999 MCQs is category mein available hain.
All MCQs in Database & Data Handling (NCCIA)
1711 Which property means concurrent transactions do not interfere with each other?
Explanation
Isolation hides the intermediate steps of one transaction from other concurrent transactions.
Last verified on 27-11-2026
1712 Which aggregate function adds up all values in a numeric column?
Explanation
SUM totals the numeric values in a column; COUNT only counts rows.
Last verified on 27-11-2026
1713 Which property means committed changes survive a later system crash?
Explanation
Durability guarantees that once a transaction is committed, its changes remain even after a crash.
Last verified on 27-11-2026
1714 What does COUNT(Name) do that COUNT(*) does not?
Explanation
COUNT(column) ignores NULL values in that column, while COUNT(*) counts every row.
Last verified on 27-11-2026
1715 Why can a DDL statement such as CREATE TABLE usually not be rolled back?
Explanation
In most DBMSs a DDL statement commits immediately, so its effect cannot be undone with ROLLBACK.
Last verified on 27-11-2026
1716 Which statement lists students from youngest to oldest?
Explanation
ORDER BY Age ASC sorts ages from smallest to largest, so youngest students appear first.
Last verified on 27-11-2026
1717 Which statement lists the highest-paid employees first?
Explanation
DESC sorts from largest to smallest, so the highest salary appears first.
Last verified on 27-11-2026
1718 Which statement sorts by Department and then by Name within each department?
Explanation
ORDER BY with two columns sorts by the first, then uses the second to order rows tied on the first.
Last verified on 27-11-2026
1719 Which keyword limits a result to the first 10 rows in MySQL?
Explanation
In MySQL, LIMIT 10 after ORDER BY returns only the first 10 rows of the result.
Last verified on 27-11-2026
1720 Which statement returns the five highest marks?
Explanation
Sorting marks descending and limiting to 5 keeps only the five largest marks.
Last verified on 27-11-2026