What is the purpose of the SQL 'NULL' value? MCQ with Answer and Explanation

What is the purpose of the SQL 'NULL' value?
A. To represent missing or unknown data
B. To represent an error
C. To represent empty string
D. To represent zero
Answer: Option A
Solution (By JKExamLibrary)
NULL is a special marker indicating that a value is unknown or missing, not the same as zero or empty string.

This question belongs to: Computer Database Management System (DBMS)

Discuss this Question (0)

No comments yet. Be the first to start the discussion!

Practice More Database Management System (DBMS) Questions

Question #1 Report Error
What is a data dictionary in a DBMS?
A. A log file
B. A backup of the database
C. A table containing user data
D. A repository of metadata about the database

Correct Answer: Option D


Explanation:
The data dictionary stores metadata such as table definitions, column types, constraints, and other database objects.

This question belongs to: Computer Database Management System (DBMS)
Question #2 Report Error
Which of the following is a property of a well-designed database?
A. Ease of data maintenance
B. Support for efficient data retrieval
C. Avoidance of data redundancy
D. All of the above

Correct Answer: Option D


Explanation:
Good database design aims to minimize redundancy, simplify maintenance, and provide efficient access.

This question belongs to: Computer Database Management System (DBMS)
Question #3 Report Error
Which SQL component is used to specify a fallback default value for a column when no value is provided during an insert operation?
A. NOT NULL
B. CHECK
C. UNIQUE
D. DEFAULT

Correct Answer: Option D


Explanation:
The DEFAULT constraint assigns a predefined default value to a column when an INSERT statement does not explicitly provide a value for that column.

This question belongs to: Computer Database Management System (DBMS)