CBSE Class 12 Computer Science Question 15 of 44

Solved 2025 Sample Question Paper CBSE Class 12 Computer Science (083) — Question 15

Back to all questions
15
Question

Question 15

In which datatype the value stored is padded with spaces to fit the specified length.

  1. DATE
  2. VARCHAR
  3. FLOAT
  4. CHAR
Answer

CHAR

Reason — The CHAR data type in SQL is used to store fixed-length strings. When a value is stored in a CHAR field, it is padded with spaces to fit the specified length.