Match the following data types of SQL as List-I with List-II
List-I List-II (A) VARCHAR(n) (I) Value occupies 4 bytes storage with decimal point (B) FLOAT (II) Value occupies 8 bytes of storage (C) CHAR(n) (III) Specifies character type data of length where n could be any value from 0 to 65535. and of variable-length data type (D) BIGINT (IV) Specifies character type data of length n where n could be any value from 0 to 255 and of fixed length
Match the following data types of SQL as List-I with List-II
| List-I | List-II |
|---|---|
| (A) VARCHAR(n) | (I) Value occupies 4 bytes storage with decimal point |
| (B) FLOAT | (II) Value occupies 8 bytes of storage |
| (C) CHAR(n) | (III) Specifies character type data of length where n could be any value from 0 to 65535. and of variable-length data type |
| (D) BIGINT | (IV) Specifies character type data of length n where n could be any value from 0 to 255 and of fixed length |
Solution
✅ Correct Option: 2
| List I | List II |
|---|---|
| (A) VARCHAR(n) | (III) Character type, variable length, n from 0 to 65535 |
| (B) FLOAT | (I) 4 bytes of storage, with decimal point |
| (C) CHAR(n) | (IV) Character type, fixed length, n from 0 to 255 |
| (D) BIGINT | (II) 8 bytes of storage |
CHAR is fixed length and pads shorter values with spaces, while VARCHAR stores only the characters entered, so it allows a much larger n.
Related questions:
2025: 14 May Shift 1
2026: 19 May Shift 1