← 2019 Paper 2

UPSC 2019 Maths Optional Paper 2 Q6b — Step-by-Step Solution

15 marks · Section B

Number systems · Numerical Analysis · asked 7× in 13 yrs · Read the full method →

Question

Find the equivalent numbers given in a specified number to the system mentioned against them:

Technique

Repeated division for integer→base, positional expansion for base→decimal, and 3-bit grouping for binary↔octal (since 8=238=2^3).

Solution

(i) 52410524_{10}\to binary (repeated division by 2)

quotientremainder
524÷2=2620
262÷2=1310
131÷2=651
65÷2=321
32÷2=160
16÷2=80
8÷2=40
4÷2=20
2÷2=10
1÷2=01

Read remainders bottom-up:

52410=10000011002.\boxed{524_{10}=1000001100_2.}

Check: 512+8+4=524512+8+4=524. ✓

(ii) 1010101101011011010112101010110101\cdot101101011_2\to octal (group in 3 bits about the point)

Integer part, group from the point leftward (pad left): 101010110101101\,010\,110\,101

101=5, 010=2, 110=6, 101=5  5265.101=5,\ 010=2,\ 110=6,\ 101=5\ \Rightarrow\ 5265.

Fractional part, group from the point rightward (pad right): 101101011101\,101\,011

101=5, 101=5, 011=3  553.101=5,\ 101=5,\ 011=3\ \Rightarrow\ 553. 101010110101.1011010112=(5265.553)8.\boxed{101010110101.101101011_2=(5265.553)_8.}

(iii) 5280105280_{10}\to hexadecimal (repeated division by 16)

quotientremainder
5280÷16=3300
330÷16=2010 = A
20÷16=14
1÷16=01

Bottom-up: 1,4,A,01,4,A,0:

528010=(14A0)16.\boxed{5280_{10}=(14A0)_{16}.}

Check: 14096+4256+1016+0=4096+1024+160=52801\cdot4096+4\cdot256+10\cdot16+0=4096+1024+160=5280. ✓

(iv) (1101.101)8(1101.101)_8\to decimal (positional expansion, base 8)

183+182+081+180+181+082+1831\cdot8^3+1\cdot8^2+0\cdot8^1+1\cdot8^0+1\cdot8^{-1}+0\cdot8^{-2}+1\cdot8^{-3} =512+64+0+1+0.125+0+0.001953125=577.126953125.=512+64+0+1+0.125+0+0.001953125=577.126953125.

Answer

(1101.101)8=(577.126953125)10.\boxed{(1101.101)_8=(577.126953125)_{10}.}
We post more of this — worked solutions, CSAT trap breakdowns, guide chapters — a few times a week on Telegram. Free, no sign-in. Join

This solution is part of the Maths Coverage Map — 13 years, mapped. Get the take-away PDF free.