Test Index

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

© examsnet.com
Question : 16 of 37
Marks: +1, -0
State True or False :
If table A has 6 rows and 3 columns, and table B has 5 rows and 2 columns, the Cartesian product of A and B will have 30 rows and 5 columns.
Solution:  
Concept:
In a Cartesian product, every row of A is combined with every row of B.
Rows (cardinality) = rows of A × rows of B
Columns (degree) = columns of A + columns of B
Explanation:
Rows = 6 × 5 = 30
Columns = 3 + 2 = 5
So the statement is True.
Key point: Rows multiply, columns add.
Answer:
Option A (True)
© examsnet.com
Advertisements
Go to Question: