Match the attribute names in List-I with the most suitable data type in List-II
List-I List-II Attribute Name Data type (A) RollNumber (I) DATE (B) Address (II) VARCHAR(20) (C) DateofBirth (III) INT (D) Name (IV) CHAR(12)
Match the attribute names in List-I with the most suitable data type in List-II
| List-I | List-II |
|---|---|
| Attribute Name | Data type |
| (A) RollNumber | (I) DATE |
| (B) Address | (II) VARCHAR(20) |
| (C) DateofBirth | (III) INT |
| (D) Name | (IV) CHAR(12) |
Solution
✅ Correct Option: 4
| List I | List II |
|---|---|
| (A) RollNumber | (III) INT |
| (B) Address | (II) VARCHAR(20) |
| (C) DateofBirth | (I) DATE |
| (D) Name | (IV) CHAR(12) |
RollNumber is a whole number, so INT. DateofBirth is a calendar date, so DATE.
VARCHAR(20) suits Address because its length varies. CHAR(12) is fixed length and fits Name here.
Related questions:
2025: 13 May Shift 2
2025: 13 May Shift 2