Calculate the degree and cardinality of the given relation below:
ID Name Email Address Phone No. 001 Ajay [email protected] A1-Shakti Nagar, Bangalore 55218936 002 Amit [email protected] C32- Indira Nagar, Lucknow 45321789 003 Ashu [email protected] 117/82 Patel Nagar, Delhi 98567894 004 Ashok [email protected] 249-250, Motinagar, Gujrat 97698541
Calculate the degree and cardinality of the given relation below:
| ID | Name | Address | Phone No. | |
|---|---|---|---|---|
| 001 | Ajay | [email protected] | A1-Shakti Nagar, Bangalore | 55218936 |
| 002 | Amit | [email protected] | C32- Indira Nagar, Lucknow | 45321789 |
| 003 | Ashu | [email protected] | 117/82 Patel Nagar, Delhi | 98567894 |
| 004 | Ashok | [email protected] | 249-250, Motinagar, Gujrat | 97698541 |
Solution
✅ Correct Option: 2
Degree is the number of attributes (columns) in a relation, and cardinality is the number of tuples (rows).
The table has 5 columns (ID, Name, Email, Address, Phone No.), so degree .
It has 4 rows of data, not counting the header row, so cardinality .
Option 1: swaps the two terms and counts the header row as a tuple.
Related questions:
2026: 20 May Shift 1
2026: 19 May Shift 1
2025: 13 May Shift 2