Examveda

The datatype INT stores . . . . . . . .

A. 16 bit

B. 32 bit

C. 48 bit

D. 64 bit

Answer: Option B

Solution (By Examveda Team)

This question is about how much data the INT data type can hold in MySQL. Imagine a data type like a container that can hold a certain amount of information.

INT is a data type used to store whole numbers (no decimals). To understand the options, think of bits as small switches that can be either on (1) or off (0).

* Option A: 16 bit - This means the container has 16 switches, which isn't enough to hold very large numbers. * Option B: 32 bit - This means the container has 32 switches, allowing it to hold a wider range of numbers. * Option C: 48 bit - This is not the correct size for INT. * Option D: 64 bit - This is also not the correct size for INT.

The correct answer is Option B: 32 bit

INT in MySQL uses 32 bits to store whole numbers. This means it can store a range of numbers from -2,147,483,648 to 2,147,483,647.

This Question Belongs to MySQL >> MySQL Miscellaneous

Join The Discussion

Related Questions on MySQL Miscellaneous