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...
Base two is also referred to as the binary number system.In the decimal system we use 10 different digits (0 to 9) to represent numbers. However, all numbers in binary consist of a combination of only 2 different digits; a "0" and/or a "1".All numbers can be represented using only these 2 digits.
That's not a binary number ! Binary numbers can only use the digits 1 and 0.
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.
It takes 7 digits.
64 or 123
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.
Octet
4 these are 00,01,10 and 11...
-- The decimal system (base-10) uses 10 digits to write all numbers. -- The binary system (base-2) uses 2 digits to write all numbers.