Chat with our AI personalities
log2 200 = ln 200 ÷ ln 2 = 7.6... → need 8 bits. If a signed number is being stored, then 9 bits would be needed as one would be needed to indicate the sign of the number.
5
110 = 00012 110 - This is the number one writen in the decimal system 00012 - This is the number 1 using the binary system. Here, 4 bits are being represented. 00012 = 012
28-bits
The largest binary number that can be expressed with 16 bits is 1111111111111111, which is equivalent to 65,535 in decimal. This number uses all 16 bits set to 1. In general, for an n-bit binary number, the maximum value is (2^n - 1). Thus, for 16 bits, it is (2^{16} - 1 = 65,535).