What is a relation in relational database terms? MCQ with Answer and Explanation

What is a relation in relational database terms?
A. A column
B. A key
C. A row
D. A table
Answer: Option D
Solution (By JKSSB Mock Tests)
In the relational model, a relation is a table consisting of rows and columns.

Discuss this Question (0)

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

Practice More Database Management System (DBMS) Questions

Question #1
In SQL, how do you check if a value is NOT NULL?
A. IS NOT NULL
B. != NULL
C. IS NULL
D. NOT NULL

Correct Answer: Option A


Explanation:
IS NOT NULL is the correct operator to test for non-NULL values.

This question belongs to: Computer Database Management System (DBMS)
Question #2
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

Correct Answer: Option B


Explanation:
A domain defines the set of permissible values that an attribute can take, ensuring data consistency.

This question belongs to: Computer Database Management System (DBMS)
Question #3
Which type of integrity constraint ensures that a foreign key value must either match an existing primary key value in the parent table or be NULL?
A. Entity Integrity
B. Key Integrity
C. Domain Integrity
D. Referential Integrity

Correct Answer: Option D


Explanation:
Referential Integrity ensures that relationships between tables remain consistent, requiring a foreign key to point to a valid existing row in the referenced table.

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