Skip to content
Question 15 of 29

Q.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.

West Bengal WbchseCBSE Class XII Board 2025Subjective· 1mImportance★★★★★
52% · 15/29 Questions
🔒 Locked · start free trial →

You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.

Start your 14-day free trial to unlock the full solution →

The statement is True — the Cartesian product of two tables combines every row of one with every row of the other, so the number of rows multiplies and the number of columns adds.

Let's think about what the Cartesian product actually does. In relational algebra, when you take the Cartesian product of two tables (say A and B), you are pairing each row of A with every row of B. The result is a new table that contains all possible combinations of rows from the two original tables.

The number of rows in the product is the product of the row counts of A and B. Here, A has 6 rows and B has 5 rows, so the result has 6 x 5 = 30 rows.

What about the columns? The Cartesian product does not merge or eliminate any columns — it simply places all columns from A side by side with all columns from B. So the total number of columns is the sum of the column counts of A and B. A has 3 columns, B has 2 columns, so the result has 3 + 2 = 5 columns.

Note

This is exactly how the Cartesian product works in relational algebra — it is a cross join, not a natural join. No matching or merging of columns happens; every column from both tables appears in the output. …

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.