Você está na página 1de 2

Conversion between various number systems From\To Decimal (0,1,29) Binary (0, 1) Integer part: Repeatedly DIVIDE the

number by 2. Note the REMAINDERS from BELOW. Decimal part: Repeatedly multiply the DECIMAL PART by 2. Note the INTEGER PART from TOP.
th

Decimal

NOT REQUIRED

Binary

Octal

Integer part: (n digit x 2 ) + [(n-1) digit x 1 th 2 2 )] + [(n-2) digit x 2 )] + ... st -1 Decimal part: (1 digit after decimal x 2 ) + nd -2 (2 digit after decimal x 2 ) + ADD Integer and decimal parts. th 0 th Integer part: (n digit x 8 ) + [(n-1) digit x81)] + [(n-2)th digit x 82)] + ... Decimal part: (1st digit after decimal x 8-1) + (2nd digit after decimal x 8-2) + ADD Integer and decimal parts. Integer part: (nth digit x 160) + [(n-1)th digit x 161)] + [(n-2)th digit x 162)] + ... Decimal part: (1st digit after decimal x 161) +(2nd digit after decimal x 16-2)+ ADD Integer and decimal parts.

th

NOT REQUIRED

Octal (0,1,2.7) Integer part: Repeatedly DIVIDE the number by 8. Note the REMAINDERS from BELOW. Decimal part: Repeatedly multiply the DECIMAL PART by 8. Note the INTEGER PART from TOP. Integer and Decimal part: Group the numbers in "3s" from the decimal point. Use 4-2-1 code(3-Bit BCD code).

Hexadecimal (0,1,216) Integer part: Repeatedly DIVIDE the number by 16. Note the REMAINDERS from BELOW. Decimal part: Repeatedly multiply the DECIMAL PART by 16. Note the INTEGER PART from TOP. Integer and Decimal part: Group the numbers in "4s" from the decimal point. Use 8-4-2-1 code(3-Bit BCD code).

Integer and Decimal part: Write the number one by one with tab-spacing(5 spaces gap). Write the RESPECTIVE binary code below each number using 4-2-1 code. Integer and Decimal part: Write the number one by one with tab-spacing(5 spaces gap). Write the RESPECTIVE binary code below each number using 8-4-2-1 code.

NOT REQUIRED

Integer and decimal part: Direct conversion is NOT POSSIBLE. Convert octal to binary first. Thereafter, convert again the binary into Hexadecimal.

Hexadecimal

Integer and decimal part: Direct conversion is NOT POSSIBLE. Convert Hexadecimal to binary first. Thereafter, convert again the binary into Octal.

NOT REQUIRED

Number 0 1 2 3 4 5 6 7 8 9 A(10) B(11) C(12) D(13) E(14) F(15)

4-2-1 code 000 001 010 011 100 101 110 111 -

8-4-2-1 code 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111

Number 0 1 2 3 4 5 6 7 8 9 A(10) B(11) C(12) D(13) E(14) F(15)

4-2-1 code 8-4-2-1 code 000 0000 001 0001 010 0010 011 0011 100 0100 101 0101 110 0110 111 0111 1000 1001 1010 1011 1100 1101 1110 1111

Você também pode gostar