You are on page 1of 14

Week 02

Number Systems
• Decimal System (human) ---- Base 10
• 0 ---- 9
• Binary System (Computer) ---- Base 2
• 0,1
• Hexadecimal --------------------- Base 16
• 0,1,2, ....,9, A, B, C, D, E , F
• Octal --------------------------------- Base 8
• 0,1, ........, 7
Base 10 to Base 2
Base 10 to base 8
Base 10 Base 16
Conversion to Decimal
• Base 2 to Base 10
• Base 8 to Base 10
• Base 16 to Base 10
Binary to Decimal
Binary value: 11011.0111 = (?) in Base 10
Octal to Decimal
• Octal Value: 125.7 = (?) in Base 10
Hexadecimal to Decimal
• Hexadecimal Value: 6A.C = (?) in Base 10
Binary-Coded Hexadecimal
• Binary-coded hexadecimal (BCH) is used to represent
hexadecimal data in binary code.
Conversion Examples
• Hexa to BIN:

• BIN to Hexa
Shortcut Methods
• 82 Base 10 to BIN: ?
• 10010011 BIN to DEC: ?
• 5C from Hexa to DEC?
Complements
• Used to calculate subtraction via addition

• Shortcut Metod?

You might also like