Examveda

The minimum value stored by signed TINYINT is . . . . . . . .

A. -256

B. -128

C. 0

D. 128

Answer: Option B

Solution (By Examveda Team)

This question is about data types in MySQL. TINYINT is a data type used to store small integers.
Signed means that the TINYINT can store both positive and negative values.
To figure out the minimum value, we need to understand how signed TINYINT works:
* It uses 8 bits of memory.
* One bit is used to represent the sign (positive or negative).
* The remaining 7 bits are used to store the actual number.
This means the range of values for a signed TINYINT is -128 to 127.
Therefore, the correct answer is Option B: -128.

This Question Belongs to MySQL >> MySQL Miscellaneous

Join The Discussion

Related Questions on MySQL Miscellaneous