← 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:
- (i) Integer 524 in binary system.
- (ii) 101010110101⋅101101011 to octal system.
- (iii) decimal number 5280 to hexadecimal system.
- (iv) Find the unknown number (1101⋅101)8→(?)10.
Technique
Repeated division for integer→base, positional expansion for base→decimal, and 3-bit grouping for binary↔octal (since 8=23).
Solution
(i) 52410→ binary (repeated division by 2)
| quotient | remainder |
|---|
| 524÷2=262 | 0 |
| 262÷2=131 | 0 |
| 131÷2=65 | 1 |
| 65÷2=32 | 1 |
| 32÷2=16 | 0 |
| 16÷2=8 | 0 |
| 8÷2=4 | 0 |
| 4÷2=2 | 0 |
| 2÷2=1 | 0 |
| 1÷2=0 | 1 |
Read remainders bottom-up:
52410=10000011002.
Check: 512+8+4=524. ✓
(ii) 101010110101⋅1011010112→ octal (group in 3 bits about the point)
Integer part, group from the point leftward (pad left): 101010110101
101=5, 010=2, 110=6, 101=5 ⇒ 5265.
Fractional part, group from the point rightward (pad right): 101101011
101=5, 101=5, 011=3 ⇒ 553.
101010110101.1011010112=(5265.553)8.
(iii) 528010→ hexadecimal (repeated division by 16)
| quotient | remainder |
|---|
| 5280÷16=330 | 0 |
| 330÷16=20 | 10 = A |
| 20÷16=1 | 4 |
| 1÷16=0 | 1 |
Bottom-up: 1,4,A,0:
528010=(14A0)16.
Check: 1⋅4096+4⋅256+10⋅16+0=4096+1024+160=5280. ✓
(iv) (1101.101)8→ decimal (positional expansion, base 8)
1⋅83+1⋅82+0⋅81+1⋅80+1⋅8−1+0⋅8−2+1⋅8−3
=512+64+0+1+0.125+0+0.001953125=577.126953125.
Answer
(1101.101)8=(577.126953125)10.