It is 31.
If using the compressed format, where a byte holds two decimal digits (because only 4 bits are needed to make nine), so two bytes would be four decimal digits, the largest which is 9999.
Octet
4 these are 00,01,10 and 11...
That's not a binary number ! Binary numbers can only use the digits 1 and 0.
7 digits
The largest decimal number is binary 11111, which is decimal 31.
You can look it up (00010110) or convert each numeral to binary individually. 11111111 is 255 decimal and is the largest number expressible with 8 binary digits.
It is 216 - 1 = 65535.
10 digits.
If using the compressed format, where a byte holds two decimal digits (because only 4 bits are needed to make nine), so two bytes would be four decimal digits, the largest which is 9999.
56 in binary is 111000. Unlike the decimal number system where we use the digits.
In binary, the number 1000 is represented as 1111101000. This is calculated by converting the decimal number 1000 into binary, which involves dividing the number by 2 and recording the remainders. The binary representation uses only the digits 0 and 1, where each digit represents a power of 2.
It takes 7 digits.
All I know is that when a number is negative, you convert the decimal into binary and if it is negative you put 1111 before the binary digits.
64 or 123
Octet
4 these are 00,01,10 and 11...