Test Index

CBSE Class 12 Computer Science 2026 Paper Set 4 Get it on Google PlayDownload on the App Store

© examsnet.com
Question : 15 of 37
Marks: +1, -0
A relation in MySQL database consists of 2 tuples and 3 attributes. If 2 attributes are deleted and 4 tuples are added, what will be the cardinality of the relation ?
Solution:  
Concept:
Cardinality = number of tuples (rows); degree = number of attributes (columns).
Explanation:
Deleting attributes changes only the degree: 3 − 2 = 1 attribute.
Cardinality = 2 (existing tuples) + 4 (added tuples) = 6.
Key point: Deleting columns does not remove any rows, so the deleted attributes do not affect the cardinality.
Answer:
Option C (6)
© examsnet.com
Advertisements
Go to Question: