What is the highest valued signed number you can generate us

What is the highest valued signed number you can generate using 17 bits? How many bytes you will need to store that number?

Solution

If we have 17 bits to store number then the maximum value for it is 2^17=131072 but here as to store the signed number by using the 17 bits then the first bit will be used to define the sign i.e., 1 for negative numbers and 0 positive hence there will be only 16 bits to define the value to be hold

So here the available 16 bits are used to store the value hence the maximum value that can be stored is 2^16= 65536

To hold the value 65536 it need 16 bits hence the bytes needed to hold this value is 2 Bytes because 1Byte=8bits

 What is the highest valued signed number you can generate using 17 bits? How many bytes you will need to store that number?SolutionIf we have 17 bits to store

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site