The math optional, made finite.

← 2025 Paper 2

UPSC Maths 2025 Paper 2 Q5c-i — Solution

5 marks · Section B

Question

Convert the number (3479)10(3479)_{10} into binary system and the number (7AE9F)16(7AE \cdot 9F)_{16} into decimal system.

Technique

Use repeated division by 2 for the decimal-to-binary conversion, and positional (place-value) expansion for the hexadecimal-to-decimal conversion, with negative powers of 16 for the fractional hex digits.

Solution

Part 1: (3479)10(3479)_{10} \to binary

Repeated division by 2, reading remainders bottom-to-top:

divisionquotientremainder
3479÷23479 \div 21739173911
1739÷21739 \div 286986911
869÷2869 \div 243443411
434÷2434 \div 221721700
217÷2217 \div 210810811
108÷2108 \div 2545400
54÷254 \div 2272700
27÷227 \div 2131311
13÷213 \div 26611
6÷26 \div 23300
3÷23 \div 21111
1÷21 \div 20011

Reading remainders from last to first: (3479)10=(110110010111)2.(3479)_{10} = (110110010111)_2.

Check: 2048+1024+256+128+16+4+2+1=3479.2048 + 1024 + 256 + 128 + 16 + 4 + 2 + 1 = 3479.

Part 2: (7AE.9F)16(7AE.9F)_{16} \to decimal

Hex digits: 7,A=10,E=147, A=10, E=14 (integer part); 9,F=159, F=15 (fractional part).

Integer part: 7×162+10×161+14×160=7(256)+10(16)+14=1792+160+14=1966.7 \times 16^2 + 10 \times 16^1 + 14 \times 16^0 = 7(256) + 10(16) + 14 = 1792 + 160 + 14 = 1966.

Fractional part: 9×161+15×162=916+15256=0.5625+0.05859375=0.62109375.9 \times 16^{-1} + 15 \times 16^{-2} = \frac{9}{16} + \frac{15}{256} = 0.5625 + 0.05859375 = 0.62109375.

Total: (7AE.9F)16=1966+0.62109375=1966.62109375.(7AE.9F)_{16} = 1966 + 0.62109375 = 1966.62109375.

Answer

(3479)10=(110110010111)2,(7AE.9F)16=(1966.62109375)10\boxed{(3479)_{10} = (110110010111)_2,\qquad (7AE.9F)_{16} = (1966.62109375)_{10}}

We've mapped all 13 years of this exam. Get new solutions, tools, and guides as we release them — free.