Lecture1414 - 12284 - Number Conversion
Lecture1414 - 12284 - Number Conversion
1
Octal to Decimal 1
3 2 1
4
0
1024 448 40 4
1 5 1 610 0
Hexadecimal to Decimal
(54.D2)1 6
(5 161 ) (4 160 ) (13161
11
) (2
16 2 )
1
Binary to Octal
Step 1 − Divide the binary digits into groups of three (starting from the right).
Step 2 − Convert each group of three binary digits to one octal digit.
Octal to Binary
Hexadecimal to Binary
Step 1 − Convert each hexadecimal digit to a 4 digit binary number.
Step 2 − Combine all the resulting binary groups (4 digits each) into a single binary number.
8421
(1101)2 8 4 1
(13)10
(0111)2 710
(1010)2 (10)10 A16
(10101) 2
Practice Question
(4021.5)5 (
)10 (B65F )16 ( )10
(630.4)8 (
)10
(0.6875)10 (
)2
(0.513)10 (
(306.D)16 (
BCD (Binary Coded Decimal)
(1001 0 ) 2 (1001) 2 ?
Binary
Subtraction
(1100) 2 (1010) 2
?