โกTRAINING CONVERTING NUMBERS WITH FRACTIONS (BIN/OCT/HEX/DEC)
๐ stepโbyโstep methods ยท radix point ยท group fractions
๐ 1) Decimal โ binary (with fractional part): 13.6875โโ
โ
binary = 1101.1011โ
Integer part 13: 13/2=6 r1; 6/2=3 r0; 3/2=1 r1; 1/2=0 r1 โ read up: 1101โ.
Fraction 0.6875: ร2 = 1.375 โ int 1; 0.375ร2 = 0.75 โ 0; 0.75ร2 = 1.5 โ 1; 0.5ร2 = 1.0 โ 1. stop. Read down: .1011โ
Result: 1101.1011โ.
๐ 2) Binary โ decimal : 101.1101โ
โ
decimal = 5.8125โโ
Integer part 101โ = 1ร4 + 0ร2 + 1ร1 = 5.
Fraction .1101โ = 1ร2โปยน + 1ร2โปยฒ + 0ร2โปยณ + 1ร2โปโด = 0.5 + 0.25 + 0 + 0.0625 = 0.8125.
Total = 5.8125โโ.
๐ 3) Decimal โ octal (with fraction): 425.3125โโ
โ
octal = 651.24โ
Integer 425: 425/8=53 r1; 53/8=6 r5; 6/8=0 r6 โ 651โ.
Fraction 0.3125: ร8 = 2.5 โ int 2; 0.5ร8 = 4.0 โ int 4. โ .24โ
Join: 651.24โ.
๐ 4) Binary โ octal (group fractional bits): 11011.01101โ
โ
octal = 33.32โ
Integer part (from right) 11 011 โ 3 and 3? Wait: 11011โ = 011 011 โ 33โ? Let's do properly:
Pad integer part with leading zero to group 3: 011 011 โ 3 3 = 33โ โ.
Fraction part .01101 โ group from left: 011 010 (add trailing zero to make group of 3) โ 3 2 = .32โ
Result: 33.32โ.
๐ 5) Binary โ hexadecimal : 101101.1011โ
โ
hexadecimal = 2D.Bโโ
Integer part 10 1101 โ pad left: 0010 1101 โ 2 D (since 1101โ = D).
Fraction part .1011 โ group 4: 1011 = B.
So 2D.Bโโ.
๐ 6) Hex โ binary & octal : 3A.4Cโโ
โ
binary = 00111010.01001100โ ; octal = 72.23โ
3โ0011, Aโ1010, 4โ0100, Cโ1100 โ 00111010.01001100โ โ strip leading: 111010.010011โ
Octal: group binary integer 111 010 = 7 2 โ 72โ ; fraction .010 011 (pad right .010011 โ .010 011 = 2 3) โ 72.23โ.
(decimal optional: 3ร16+10 + 4/16+12/256 = 58.296875โโ).
๐ 7) Octal โ hex through binary: 57.24โ
โ
hex = 2F.5โโ
Each octal to 3 bits: 5โ101, 7โ111, 2โ010, 4โ100 โ binary: 101111.010100โ
Group 4 bits for hex: integer part 10 1111 โ 0010 1111 = 2F ; fraction .0101 00 (pad right .0101 0000) โ .0101 = 5, rest 0000 โ .5
Hence 2F.5โโ.
๐ 8) Identify nonโterminating fraction: 0.2โโ to binary
โ
binary = 0.0011ฬ
0ฬ
0ฬ
1ฬ
1ฬ
... (repeating)
0.2ร2=0.4 โ0; 0.4ร2=0.8โ0; 0.8ร2=1.6โ1; 0.6ร2=1.2โ1; 0.2ร2=0.4โ0 (cycle).
Pattern 0011 repeats โ 0.001100110011...โ
โจ Training summary: For fractions โ multiply for decimalโany base; group bits for binaryโoct/hex; use binary bridge for octโhex.
A MULTIPLE CHOICE (10 ร 1 = 10)
1๏ธโฃ Which of the following is a nonโpositional number system?
โ
Answer: c) Roman
Nonโpositional: value does NOT depend on position (Roman numerals: XIV = 10+(-1)+5 =14). Positional: decimal, binary, hex.
2๏ธโฃ The hexadecimal digit 'D' is equivalent to which decimal number?
โ
Answer: b) 13
Hex digits: A=10, B=11, C=12, D=13, E=14, F=15.
3๏ธโฃ What is the result of (1011)โ + (101)โ in binary?
โ
Answer: a) 10000โ
1011โ = 11โโ ; 101โ = 5โโ ; 11+5=16โโ = 10000โ.
4๏ธโฃ How many bits are required to represent the decimal number 200 in binary?
โ
Answer: b) 8
k = โlogโ200โ = โ7.64โ = 8. 200โโ = 11001000โ (8 bits).
5๏ธโฃ The octal number 47โ is equivalent to:
โ
Answer: a) 39โโ
4ร8 + 7 = 32+7 = 39.
6๏ธโฃ Binary equivalent of hexadecimal 2Fโโ is:
โ
Answer: 101111โ
2โ0010, Fโ1111 โ 00101111โ โ omit leading zeros โ 101111โ.
7๏ธโฃ In decimal 456.78, the digit 5 has place value:
โ
Answer: b) 50
5 is in tens place โ 5ร10ยน = 50.
8๏ธโฃ Maximum decimal value using 4 binary digits is:
โ
Answer: b) 15
2โดโ1 = 15. 1111โ = 15โโ.
9๏ธโฃ Convert 0.5โโ to binary:
โ
Answer: a) 0.1โ
0.5ร2 = 1.0 โ integer part 1 โ first fractional bit = 1, remainder 0 โ 0.1โ.
๐ Binary 1101.101โ has how many bits in fractional part?
โ
Answer: b) 3
Digits after radix point: 101 โ three bits.
B TRUE OR FALSE (5 ร 1 = 5)
1๏ธโฃ In a positional system, value depends only on face value, not position.
โ
Answer: FALSE
Positional means position determines weight (e.g., 5 in 50 vs 5).
2๏ธโฃ Hexadecimal system uses 15 symbols.
โ
Answer: FALSE
16 symbols: 0โ9 and AโF.
3๏ธโฃ The octal number 78โ is valid.
โ
Answer: FALSE
Octal digits only 0โ7, digit 8 not allowed.
4๏ธโฃ 2โตโ1 is the maximum value representable with 5 bits.
โ
Answer: TRUE
Max 5โbit number = 11111โ = 31 = 2โตโ1.
5๏ธโฃ Binary 1010โ equals decimal 10.
โ
Answer: TRUE
1ร8 + 0ร4 + 1ร2 + 0ร1 = 10.
C SHORT ANSWER (any five, each 3 marks)
C1) Differentiate positional vs nonโpositional with one example each.
โ
Solution
Positional: value depends on position (decimal 345 = 3ร100+4ร10+5). Nonโpositional: roman XIV = 10+5โ1 (order independent).
C2) Convert (1011.011)โ and (2A.F)โโ to decimal.
โ
Solution
(1011.011)โ = 8+0+2+1+0+0.25+0.125 = 11.375โโ.
(2A.F)โโ = 2ร16 + Aร1 + Fร16โปยน = 32+10+15/16 = 42.9375โโ.
(2A.F)โโ = 2ร16 + Aร1 + Fร16โปยน = 32+10+15/16 = 42.9375โโ.
C3) Convert 156โโ to binary, octal, hexadecimal.
โ
Solution
156/2=78r0 โ /2=39r0 โ /2=19r1 โ /2=9r1 โ /2=4r1 โ /2=2r0 โ /2=1r0 โ /2=0r1 โ 10011100โ.
Octal: 156/8=19r4, 19/8=2r3, 2/8=0r2 โ 234โ.
Hex: 156/16=9r12(C), 9/16=0r9 โ 9Cโโ.
Octal: 156/8=19r4, 19/8=2r3, 2/8=0r2 โ 234โ.
Hex: 156/16=9r12(C), 9/16=0r9 โ 9Cโโ.
C4) Convert 0.6875โโ to binary.
โ
Solution
0.6875ร2 = 1.375 โ 1; 0.375ร2 = 0.75โ0; 0.75ร2=1.5โ1; 0.5ร2=1.0โ1 โ 0.1011โ.
C5) Convert 110110.101โ to octal.
โ
Solution
Group binary: 110 110 . 101 โ 6,6,5 โ 66.5โ.
C6) Convert 3B.4โโ to binary.
โ
Solution
3โ0011, Bโ1011, 4โ0100 โ 00111011.0100โ = 111011.01โ.
D LONG ANSWER (any four, 5 marks each)
D1) a) (567.24)โ to decimalโb) (ABCD)โโ to decimalโc) (110110.011)โ to decimalโd) (10101.11)โ to hexadecimal
โ
Stepโbyโstep
a) 5ร64=320, 6ร8=48, 7ร1=7, 2ร0.125=0.25, 4ร0.015625=0.0625 โ 375.3125โโ.
b) Aร4096=40960, Bร256=2816, Cร16=192, Dร1=13 โ 43981โโ.
c) 32+16+0+4+2+0+0+0.25+0.125 = 54.375โโ.
d) Group 4 bits: 0001 0101 . 1100 โ 1 5 . C โ 15.Cโโ.
D2) Convert 345.625โโ to binary, octal, hex and verify equivalence.
โ
Solution
Binary: 345โ101011001, 0.625โ0.101 โ 101011001.101โ.
Octal: group binary 101 011 001 . 101 โ 531.5โ.
Hex: 0001 0101 1001 . 1010 โ 159.Aโโ.
Verify: 159.A = 1ร256+5ร16+9+10/16 = 345.625 โ.
D3) Find number of digits needed for 500โโ in binary, octal, hex and verify by conversion.
โ
Solution
Binary: โlogโ500โ = โ8.97โ = 9 bits. 500โโ = 111110100โ (9 bits).
Octal: โlogโ500โ = โ2.99โ = 3 digits. 500/8=62r4,62/8=7r6,7/8=0r7 โ 764โ.
Hex: โlogโโ500โ = โ2.24โ = 3 digits. 500/16=31r4,31/16=1rF,1/16=0r1 โ 1F4โโ.
D4) a) 2F.8โโ โ binary, octal. b) 567โ โ binary, hex.
โ
Solution
a) 2F.8โโ = 0010 1111 . 1000โ = 101111.1โ. Octal: group 101 111 . 100 โ 57.4โ.
b) 567โ = 101 110 111โ = 1 0111 0111 (group4) โ 0001 0111 0111 = 177โโ.
D5) Largest 4โdigit octal (7777โ) vs largest 3โdigit hex (FFFโโ). Which is larger? Prove by decimal conversion.
โ
Solution
7777โ = 7ร512 +7ร64+7ร8+7 = 3584+448+56+7 = 4095โโ.
FFFโโ = 15ร256+15ร16+15 = 3840+240+15 = 4095โโ.
They are equal! 7777โ = FFFโโ = 4095.
โจ BONUS (optional 5 extra)
Design baseโ7 system: (a) symbols (b) 345โ to decimal (c) 256โโ to baseโ7 (d) 56.4โ to decimal.
โ
Baseโ7 solution
a) symbols {0,1,2,3,4,5,6}.
b) 345โ = 3ร49 + 4ร7 + 5 = 147+28+5 = 180โโ.
c) 256/7=36r4, 36/7=5r1, 5/7=0r5 โ 514โ.
d) 56.4โ = 5ร7+6 + 4/7 = 35+6+0.571428 = 41.571428โโ.
๐ QUICK ANSWER KEY (MCQ + T/F)
MCQ: 1c,2b,3a,4b,5a,6โ,7b,8b,9a,10b
T/F: 1F,2F,3F,4T,5T
โฌ๏ธ Click any solution button for full stepโbyโstep explanation.
๐๐ End of midterm โ good luck! (Fractionโtraining included)
ACADEZI 2026 โ Chapter 3