What is a domain in the context of the relational model? MCQ with Answer and Explanation

What is a domain in the context of the relational model?
A. A table name
B. A set of allowed values for an attribute
C. A foreign key
D. A primary key
Answer: Option B
Solution (By JKSSB Mock Tests)
A domain defines the set of permissible values that an attribute can take, ensuring data consistency.

Discuss this Question (0)

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

Practice More Database Management System (DBMS) Questions

Question #1
Which of the following represents raw, unorganized, and unprocessed facts that lack contextual meaning?
A. Metadata
B. Information
C. Data
D. Knowledge

Correct Answer: Option C


Explanation:
Data refers to raw, unorganized, and unprocessed facts, figures, or symbols that do not convey a specific meaning on their own. When data is processed and organized, it becomes information.

This question belongs to: Computer Database Management System (DBMS)
Question #2
Which SQL keyword is used within a SELECT query to filter records matching a specified pattern using wildcards?
A. LIKE
B. BETWEEN
C. IN
D. EXISTS

Correct Answer: Option A


Explanation:
The LIKE operator is specifically used in a WHERE clause to perform pattern matching on string columns using wildcards (% and _).

This question belongs to: Computer Database Management System (DBMS)
Question #3
Which of the following is not an aggregate function in SQL?
A. MAX
B. SUM
C. AVG
D. DESC

Correct Answer: Option D


Explanation:
DESC is a keyword for sorting order, not an aggregate function.

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