(i) Convert the hexadecimal number $1C_{16}$ to decimal number. (ii) Convert the decimal number 650 to hexadecimal by repeated division by 16. (iii) Add the hexadecimal numbers: $23_{16} + 16_{16}$ (iv) Subtract the hexadecimal numbers: $84_{16} - 2A_{16}$
Shivam Kumar, AIR 19, 2023
① $1C_{16} = 1 \times 16^1 + C \times 16^0$
$= 1 \times 16 + 12$
$(1\,9)_{16} = (28)_{10}$
(ii) [repeated division of 650 by 16: 16 into 650, then 16 into 40 with remainder 10 (A), then quotient 2 with remainder 8]
$(650)_{10} = (28A)_{16}$
(iii) $23_{16} + 16_{16}$
$= (39)_{16}$
(iv) $84_{16} - 2A_{16}$
=> [column subtraction of 84 over 2A with a borrow marked (-1, 16) above, difference 5A under a line]
$\therefore (84)_{16} - (2A)_{16} = (5A)_{16}$