Convert the following: i) (56210)10 into Octal ii) (56210)10 into Hexadecimal
Q.) Convert the following: i) (56210)10 into Octal ii) (56210)10 into Hexadecimal
Subject: Digital Systemsi) Converting (56210)10 into Octal:
> Step 1: Divide (56210)10 by 8, the base of the octal system.
8 | 5 6 2 1 0
--- --- --- --- ---
0 | 7 0 2 6 2
--- ---
--- ---
--- ---
--- ---
> Step 2: The remainder is 2, which is the last digit of the octal number.
> Step 3: Bring down the quotient (7026) to the dividend.
> Step 4: Repeat the process until the quotient is 0.
8 | 7 0 2 6
--- --- --- ---
0 | 1 0 3 2
--- ---
--- ---
--- ---
--- ---
8 | 1 0 3
--- --- ---
0 | 0 1 3
--- ---
--- ---
--- ---
--- ---
8 | 0 1 3
--- --- ---
0 | 0 0 1
--- ---
--- ---
--- ---
--- ---
> Step 5: Finally, the octal number can be read from the bottom up: 11032.
Therefore, (56210)10 in octal is 11032.
ii) Converting (56210)10 into Hexadecimal:
> Step 1: Divide (56210)10 by 16, the base of the hexadecimal system.
16 | 5 6 2 1 0
--- --- --- --- ---
0 | 3 5 1 1 2
--- ---
--- ---
--- ---
--- ---
> Step 2: The remainder is 2, which is the last digit of the hexadecimal number.
> Step 3: Bring down the quotient (3511) to the dividend.
> Step 4: Repeat the process until the quotient is 0.
16 | 3 5 1 1
--- --- --- ---
0 | 0 D 3 7
--- ---
--- ---
--- ---
--- ---
16 | 0 D 3
--- --- ---
0 | 0 0 7
--- ---
--- ---
--- ---
--- ---
> Step 5: Finally, the hexadecimal number can be read from the bottom up: D707.
Therefore, (56210)10 in hexadecimal is D707.