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.
11111111 = 255
There is no largest number, either decimal or binary.
The binary number 10111100111111101010 corresponds to the decimal number 774122.
0xc = 1100 Hexadecimal digits use exactly 4 binary digits (bits). The 0x0 to 0xf of hexadecimal map to 0000 to 1111 of binary. Thinking of the hexadecimal digits as decimal numbers, ie 0x0 to 0x9 are 0 to 9 and 0xa to 0xf are 10 to 15, helps with the conversion to binary: 0xc is 12 decimal which is 8 + 4 → 1100 in [4 bit] binary.
The largest decimal number is binary 11111, which is decimal 31.
10 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.
That's not a binary number ! Binary numbers can only use the digits 1 and 0.
Octet
It takes 7 digits.
56 in binary is 111000. Unlike the decimal number system where we use the digits.
The decimal representation of numbers is shorter. Binary number require approx 3.3 times as many digits.
It is 31.
11111111 = 255
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.
5 bits are 5 binary digits. If they represent a decimal number, then that number can be anything from zero to 31, and can have either 1 or 2 digits.