Which one of the options given below refers to the degree (or arity) of a relation in relational database systems?
Topic-wise GATE CS PYQs with verified steps
GATE CSE 2023 · Q16
Time
Select one answerSingle correct
Solution
Official answer: A) Number of attributes of its relation schema.
Relational Model and SQLIn relational database management systems:
The degree (or arity) of a relation is defined as the total number of attributes (columns) present in its relation schema.
The cardinality of a relation is the total number of tuples (rows) stored in the relation instance.
Therefore, option A correctly defines the degree (or arity).
B describes the *cardinality* of the relation.
C corresponds to the total number of cells/elements across all tuples.
D is incorrect because different attributes may share the same domain.
Try the question first, then check your work.
Examiner trap
Recall the fundamental relational database terminology: degree (arity) refers to the number of columns (attributes), whereas cardinality refers to the number of rows (tuples).
This Relational Model and SQL previous year question is Q16 of the GATE CSE 2023 paper. Find more GATE CSE PYQs on Relational Model and SQL in Databases, or browse all GATE CSE PYQs.
Free diagnostic
Take the 20-minute diagnostic: the 3 topics that cost you the most marks, and a rank range. Or sit 5 related Relational Model and SQL PYQs now with no account.
An official question by email at 7 AM IST, with a link to its verified solution. Unsubscribe in one click.
Relational Model and SQL has 15 GATE CSE PYQs across 12 papers from 2011 to 2026. 2 of them are 1-mark MCQs like this one, and it is the only one in GATE CSE 2023.
How GATE tests Relational Model and SQLIndependent practice explanation verified by the GateAI team. GATE is conducted by the IITs; question text follows the official paper.