m
10010
1539026015
Starting from the right, group the binary number into sets of 4. Then use the following conversions for each quartet: 0000 = 0 0001 = 1 0010 = 2 0011 = 3 0100 = 4 0101 = 5 0110 = 6 0111 = 7 1000 = 8 1001 = 9 1010 = A 1011 = B 1100 = C 1101 = D 1110 = E 1111 = F.
Counting from the right, group the binary into groups of 4. If you are left with less than 4 binary digits, then add preceding zeros. Then recode each quartet as follows: 0000 = 0 0001 = 1 0010 = 2 0011 = 3 0100 = 4 0101 = 5 0110 = 6 0111 = 7 1000 = 8 1001 = 9 1010 = A 1011 = B 1100 = C 1101 = D 1110 = E 1111 = F
Binary to what? Binary to Hex is easy. Binary Hex decimal 0000 =0 =0 0001 =1 =1 0010 =2 =2 0011 =3 =3 0100 =4 =4 0101 =5 =5 0110 =6 =6 0111 =7 =7 1000 =8 =8 1001 =9 =9 1010 =A =10 1011 =B =11 1100 =C =12 1101 =D =13 1110 =E =14 1111 =F =15
10010
10010
The way I convert between decimal and hexadecimal is to first convert the decimal number to binary: 664062510 = 110010101010011111100012 Then split the binary number into 16-bit (4 digit) chunks: 0110 0101 0101 0011 1111 00012 Next, convert each chunk into a hexadecimal digit: 0110 0101 0101 0011 1111 00012 6 5 5 3 F 1 Finally, put all the digits together: 664062510 = 6553F116
Add the binary equivalent of 3 (0011) to each digit of the number in binary format. Ex: 1. Excess-3 of 6 is 0110(6) + 0011(3)= 1001(9) 2. Excess-3 of 12 is 0001 0010 + 0011 0011 = 0100 0101 (45)
Example Binary 00111000 Convert to Decimal 56 Convert to BCD by using groups of four binary numbers for each digit 5 6 0101 0110
The Alphabet in Binary CodeLetterBinary CodeA01000001B01000010C01000011D01000100E01000101F01000110G01000111H01001000I01001001J01001010K01001011L01001100M01001101N01001110O01001111P01010000Q01010001R01010010S01010011T01010100U01010101V01010110W01010111X01011000Y01011001Z01011010LetterBinary Codea01100001b01100010c01100011d01100100e01100101f01100110g01100111h01101000i01101001j01101010k01101011l01101100m01101101n01101110o01101111p01110000q01110001r01110010s01110011t01110100u01110101v01110110w01110111x01111000y01111001z01111010
Write each hexadecimal digit straight into binary: 5 = 0101 4 = 0100 2 = 0010 So 0x542 = 0101 0100 0010 = 10101000010 (without the spaces). Hex digit to binary conversion: 0 = 0000, 1 = 0001, 2 = 0010, 3 = 0011 4 = 0100, 5 = 0101, 6 = 0110, 7 = 0111 8 = 1000, 9 = 1001, a = 1010, b = 1011 c = 1100, d = 1101, e = 1110, f = 1111
Collect them in groups of 4Then0000 = 0 0001 = 1 0010 = 2 0011 = 30100 = 4 0101 = 5 0110 = 6 0111 = 71000 = 8 1001 = 9 1010 = A 1011 = B1100 = C 1101 = D 1110 = E 1111 = F
1539026015
It is 0001 0110 0011.
Arrange your binary number in Four number groups from right to left add zero's if needed. So if your binary is 11011101 it will be 1101 1101 now replace your group with 0-0000 1-0001 2-0010 3-0011 4-0100 5-0101 6-0110 7-0111 8-1000 9-1001 A-1010 B-1011 C-1100 D-1101 E-1110 F-1111 and you get your number in hex 1101 1101 == DD
100 1000 100 0001 101 0110 100 0101 100 0001 100 1110 100 1001 100 0011 100 0101 100 0100 100 0001 101 1001---------Binary Representation. 110 101 126 105 101 116 111 103 105 104 101 131.------Octal