What is the minimum no of bit require to store -256 to256 in computer?
Answers
Answered by
0
Answer:
256
Explanation:
because in 1 bit we can store 2 values 0 and 1
Answered by
0
Answer:
Minimum eight number of bits are required to store 256 (a positive integer) and nine number of bits are required to store -256 (negative integer).
Explanation:
Generally, binary digits or bits are denoted as either 0 or 1 i.e. 2 bits. So we divide each integer by 2 and consider the remainder as an output. We do the same process for all positive integers. There are also several formulas through which we can calculate the same. For calculating the bits for negative integer generally, we take Two’s complement of the positive number.
Similar questions