Skip to main contentSkip to solution

A table consist of 10 rows and 5 columns. What is the cardinality and degree of the table if 4 rows are deleted and 3 columns are added?

Solution

✅ Correct Option: 2

Cardinality is the number of rows (tuples) and degree is the number of columns (attributes).

Cardinality =10−4=6= 10 - 4 = \boxed{6}

Degree =5+3=8= 5 + 3 = \boxed{8}


Option 1: swaps nothing correctly, it gives 8 rows and 6 columns, which comes from mixing up the arithmetic.

Option 4 and Option 3: not obtainable from the given changes.

Memory trick: Cardinality is Count of rows, Degree is the number of columns (Descriptors of the data).

Keyboard Shortcuts

  • Left arrow: Previous question
  • Right arrow: Next question
  • S key: Jump to solution
  • Q key: Jump to question