β‘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