Computer Conversions
Computer Conversions
1. Divide 13 by 2:
a. Quotient: 6, Remainder: 1
2. Divide 6 by 2:
a. Quotient: 3, Remainder: 0
3. Divide 3 by 2:
a. Quotient: 1, Remainder: 1
4. Divide 1 by 2:
a. Quotient: 0, Remainder: 1 (stop here)
Now, take the remainders and write them in reverse order: 1101
1. Divide 42 by 2:
a. Quotient: 21, Remainder: 0
2. Divide 21 by 2:
a. Quotient: 10, Remainder: 1
3. Divide 10 by 2:
a. Quotient: 5, Remainder: 0
4. Divide 5 by 2:
a. Quotient: 2, Remainder: 1
5. Divide 2 by 2:
a. Quotient: 1, Remainder: 0
6. Divide 1 by 2:
a. Quotient: 0, Remainder: 1 (stop here)
Quick Trick:
If you’re familiar with powers of 2, you can also look for which powers of 2 add up to
the number. For example:
• For 42:
42=32+8+242 = 32 + 8 + 242=32+8+2, which is represented as 101010 in binary.
Process:
Process:
1. Divide 53 by 16:
a. 53 ÷ 16 = 3 with a remainder of 5.
b. The quotient is 3 and the remainder is 5.
2. Divide 3 by 16:
a. 3 ÷ 16 = 0 with a remainder of 3.
b. The quotient is now 0, so we stop here.
3. Write the remainders from bottom to top:
a. The remainders are 3 and 5, so 53 (denary) = 35 (hexadecimal).
Summary of Steps:
1. Binary → Denary:
a. Convert 110101 (binary) to 53 (denary).
2. Denary → Hexadecimal:
a. Convert 53 (denary) to 35 (hexadecimal).
1. Binary to Denary:
a. Binary: 101110
b. =46
2. Denary to Hexadecimal:
a. 46 ÷ 16 = 2, remainder 14 (14 in hexadecimal is E).
b. 2 ÷ 16 = 0, remainder 2.
c. The remainders from bottom to top: 2 and E.
Final Conclusion:
Step 2: Divide 15 by 16
Steps:
Hexadecimal 2F to Denary:
2F = (2 × 16^1) + (F × 16^0)
F = 15 in decimal
2 × 16 = 32
15 × 1 = 15
32 + 15 = 47
So, 2F in denary is 47
2. Hexadecimal to Binary
Steps:
Hex Binary
0 0000
1 0001
2 0010
3 0011
4 0100
5 0101
6 0110
7 0111
8 1000
9 1001
A 1010
B 1011
C 1100
D 1101
E 1110
F 1111
Summary: