SOFTWARE ENGINEERING

EMERGING TRENDS IN SOFTWARE ENGINEERING

CLOUD COMPUTING

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
How many bits are needed to represent 128 values?
A
6
B
7
C
8
D
9
Explanation: 

Detailed explanation-1: -Therefore, we have used 8 bits to represent 128 in binary.

Detailed explanation-2: -Each bit can have two values as 0 and 1. similarly in case of 7 bits it is 2^7 or 128 numbers.

Detailed explanation-3: -The 128-bit data type can handle up to 31 significant digits (compared to 17 handled by the 64-bit long double). However, while this data type can store numbers with more precision than the 64-bit data type, it does not store numbers of greater magnitude.

There is 1 question to complete.