Question discussion

Relation R has 12 tuples and 5 attributes, and relation S has 8 tuples and 3 attributes. What are the cardinality and degree of R × S?

1107Medium DSSSB TGT Computer Science 0 replies

Relation R has 12 tuples and 5 attributes, and relation S has 8 tuples and 3 attributes. What are the cardinality and degree of R × S?

  • A20 tuples and 8 attributes
  • B96 tuples and 15 attributes
  • C96 tuples and 8 attributes
  • D20 tuples and 15 attributes
Correct answer: C

Explanation

The Cartesian product has 12 × 8 = 96 tuples and 5 + 3 = 8 attributes.

Discussion 0

Nobody has replied yet. Start the discussion!