Binary conversion: Binary, octal, decimal, hexadecimal.
(i) Binary to decimal:
1. Write 2
2. Index, right-to-left, marking from 0
3. Multiply coefficients, each corresponding.
4. Add.
Example: binary number 1101 to decimal number *
1.2 2 2 2
2.2^3 2^2 2^1 2^0
3.1*2^3 1*2^2 0*2^1 1*2^0
4.1*2^3+1*2^2+0*2^1+1*2^0=13
(b) Decimal turn binary: except 2
1. Using vertical, the decimal number is followed by 2 and the remainder of each step is recorded.
2. In addition to the quotient 0, the remainder is recorded from bottom to top, which is a binary number.
(c) octal to decimal: O denotes octal similar to binary o52=42
(four) decimal turn octal: o72=110
(v) hexadecimal to decimal: 123456789ABCDEF (a=10,b=11,c=12,d=13,e=14,f=15) ox means hexadecimal similar to binary ox72=48 ox108=6c
(vi) Decimal turn 16 binary: similar to binary
(vii) binary turn octal: three-bit group
(eight) octal turn binary: Each number is split into three bits
(ix) Binary turn 16 binary: four-bit group
(10) Hex turn binary: Each number is split into four bits
(11) Octal to 16-binary: octal to binary and hex, octal to decimal, hex
(12) hexadecimal to octal: hexadecimal to binary and then octal, hexadecimal to decimal, then octal
2014.12.20 Learning-in-transition