Start learning →

If $|R| = 200$ tuples and $|S| = 50$ tuples, how many tuples does $R \times S$ contain?

A10000 tuples, every (r, s) pair
B250 tuples (sum of the two)
C50 tuples (the smaller of the two)
D200 tuples (the larger of the two)
Answer & Solution
Correct answer: A. 10000 tuples, every (r, s) pair
Cross product enumerates every pair, so $|R \times S| = |R| \cdot |S| = 200 \cdot 50 = 10000$. Sum or min/max would correspond to union, intersection or a single side, not product.
Practise this question with Quill — GATE CSE →

Keep practising Database Management Systems

Browse all Database Management Systems questions for GATE CSE, or explore more Computer Science topics.

Start a Database Management Systems lesson →
Related questions