PPT On Number Systems
Download
Presentation Transcript:
1. Number Systems2. Common Number Systems
3. Binary to Decimal
Technique
Multiply each bit by 2n, where n is the “weight” of the bit
The weight is the position of the bit, starting from 0 on the right
Add the results
4. Octal to Decimal
Technique
Multiply each bit by 8n, where n is the “weight” of the bit
The weight is the position of the bit, starting from 0 on the right
Add the results
5. Hexadecimal to Decimal
Technique
Multiply each bit by 16n, where n is the “weight” of the bit
The weight is the position of the bit, starting from 0 on the right
Add the results
6. Decimal to Binary
Technique
Divide by two, keep track of the remainder
First remainder is bit 0 (LSB, least-significant bit)
Second remainder is bit 1
Etc.
7. Octal to Binary
Technique
Convert each octal digit to a 3-bit equivalent binary representation
8. Hexadecimal to Binary
Technique
Convert each hexadecimal digit to a 4-bit equivalent binary representation
9. Decimal to Octal
Technique
Divide by 8
Keep track of the remainder
10. Decimal to Hexadecimal
Technique
Divide by 16
Keep track of the remainder
11. Binary to Octal
Technique
Group bits in threes, starting on right
Convert to octal digits
12. Binary to Hexadecimal
Technique
Group bits in fours, starting on right
Convert to hexadecimal digits
13. Octal to Hexadecimal
Technique
Use binary as an intermediary
14. Hexadecimal to Octal
Technique
Use binary as an intermediary
15. Thank You.