You are on page 1of 4

Binary to decimal - > 0-101000111 = 167

0-101000111 sub 2

0 | 1 | 0 |1 |0 |0|1|1|1

256 | 128 | 64 | 32 | 16 | 8 | 4 | 2 | 1

128 + 32 + 4 + 2 + 1 = 167 sub 10

Decimal to binary - > 167 = 0-10100111

- 128 = 1

- 32 = 1

-4 = 1

-2 = 1

-1 = 1

256 | 128 | 64 | 32 | 16 | 8 | 4 | 2 | 1

0 | 1 | 0 |1 |0 |0|1|1|1

=010100111 sub 2

Binary to octal - > 010111 = 27

-Split into 3 bits

010111 sub 2

|4 2 1|421|

|0 1 0|111 |

2 |4+2+1

=27 sub 8
Octal to binary - > 712 = 1-11001010

-Seperate each digit

712 sub 8

7 | 1 | 2 7-4-2-1

421 | 421 | 421 1-1

1 1 1 | 001| 0 1 0 2-2

= 111001010 sub 2

Binary to hexadecimal - > 0111-10110110 = 7B6

-Split into 4 bits

0111 1011 0110 sub 2

8421 8421 8421

4+2+1 8+2+1 4+2

7 11 6

=7B6 sub 16

-----------

A- 10 |

B- 11 |

C- 12 |

D- 13 |

E- 14 |

F- 15 |

-----------
Hexadecimal to binary - > ABE12 = 10101011111000010010

-Seperate each digit

ABE12 sub 16

A | B | E | 1 | 2 10 - 8 - 2

10 | 11 | 14 | 1 | 2 8-2-1

8421 8421 8421 8421 8421 14 - 8 - 4 - 2

1010 1011 1 1 1 0 0001 0010 1-1

=1010-10111110-00010010 sub 2 2-2

Decimal to octal - > 394 = 612

394 sub 10

Divide decimal by 8 until quotient is 0

394 / 8 = 49 R 2

49 / 8 = 6 R 1

6/8=0R6

From bottom to top take remainder and make into number

6, 1, 2

= 612 sub 8

Octal to decimal - > 612 = 394

612 sub 8

Seperate each digit

612

(6 x 8 ^ 2) + (1 x 8 ^ 1) + (2 x 8 ^ 0)

= 394 sub 10
Decimal to hexadecimal - > 479 = 1DF

479 sub 10

Similar to octal, but divide by 16 until quotient is 0

479 / 16 = 29 R 15

29 / 16 = 1 R 13

1 / 16 = 0 R 1

1, 13, 15

13 = D

15 = F

1DF sub 16

Hexadecimal to decimal - > 23E = 574

-Turn each digit into a number and seperate them

23E sub 16

2|3|E

2 | 3 | 14

(2 x 16 ^ 2) + (3 x 16 ^ 1) + (14 x 16 ^ 0)

= 574 sub 10

You might also like