← 2021 Paper 2

UPSC 2021 Maths Optional Paper 2 Q5c-i — Step-by-Step Solution

5 marks · Section B

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

Question

Convert (3798.3875)10(3798.3875)_{10} into octal and hexadecimal equivalents.

Technique

Standard base conversion: repeated division for integer part, repeated multiplication for fractional.

Solution

Integer part: 3798

Octal (base 8): 3798÷8=4743798\div 8=474 rem 6. 474÷8=59474\div 8=59 rem 2. 59÷8=759\div 8=7 rem 3. 7÷8=07\div 8=0 rem 7.

Read bottom-up: (7326)8(7326)_8.

Verify: 7512+364+28+6=3584+192+16+6=37987\cdot 512+3\cdot 64+2\cdot 8+6=3584+192+16+6=3798 ✓.

Hexadecimal (base 16): 3798÷16=2373798\div 16=237 rem 6. 237÷16=14237\div 16=14 rem 13 → D. 14÷16=014\div 16=0 rem 14 → E.

Read bottom-up: (ED6)16(ED6)_{16}.

Verify: 14256+1316+6=3584+208+6=379814\cdot 256+13\cdot 16+6=3584+208+6=3798 ✓.

Fractional part: 0.3875

Octal: 0.3875×8=3.10.3875\times 8=3.1 → integer 3. 0.1×8=0.80.1\times 8=0.8 → integer 0. 0.8×8=6.40.8\times 8=6.4 → integer 6. 0.4×8=3.20.4\times 8=3.2 → integer 3. 0.2×8=1.60.2\times 8=1.6 → integer 1. 0.6×8=4.80.6\times 8=4.8 → integer 4. … continues (non-terminating).

Fractional octal: .306314\approx .306314\ldots (truncate as desired).

Hexadecimal: 0.3875×16=6.20.3875\times 16=6.2 → integer 6. 0.2×16=3.20.2\times 16=3.2 → integer 3. 0.2×16=3.20.2\times 16=3.2 → integer 3. … repeating.

Fractional hex: .6333\approx .633\overline{3} (repeating 3 after the initial 6).

Summary

Answer

  (3798.3875)10=(7326.306314)8=(ED6.6333)16.  \boxed{\;(3798.3875)_{10}=(7326.306314\ldots)_8=(ED6.6333\ldots)_{16}.\;}
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.