Solveeit Logo

Question

Computer Science Question on Cartesian product

Consider a table P with 4 rows and 5 columns and table S with 6 rows and 3 columns. What will be the size of resultant table if we apply Cartesian product ?

A

No. of rows = 6, No. of columns = 5

B

No, of rows = 4, No. of columns = 3

C

No. of rows = 8, No. of column = 24

D

No of rows = 24, No. of columns = 8

Answer

No of rows = 24, No. of columns = 8

Explanation

Solution

The correct option is (D) :No of rows = 24, No. of columns = 8