101110102 = BA16
Its the same as any other base conversion. Iteratively divide the number by the desired base, using the rules of arithmetic for the original base, until the result is zero, and then record the remainders in reverse order. In the case of conversion from base 2 to base 16, you are dividing by 100002, which is the same as shifting to the right by four until you have nothing left.
101110102 divided by 100002 = 10112 remainder 10102
10112 divided by 100002 = 02 remainder 10112
Convert 10102 to A16 and convert 10112 to B16, and reverse write as BA16.
You can also do this by inspection, by simply grouping the original binary number, 10111010, into groups of four bits, 1011, 1010, and writing down the conversion, B, A.
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.
No, binary is a number system.A binary digit is called a bit.
The number 4693 in binary is 1001001010101
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 number 6 in binary is 110
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.
It takes 7 digits.
Octet
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.
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.
It is 216 - 1 = 65535.