๐Ÿ“„ MIDTERM EXAMINATION

Chapter 3 โ€“ Number Systems

โฑ๏ธ 90 min | total 50 marks + training
โšก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?
a) Binaryโ€ƒโ€ƒb) Decimalโ€ƒโ€ƒc) Romanโ€ƒโ€ƒd) Hexadecimal
โœ… 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?
a) 12โ€ƒโ€ƒb) 13โ€ƒโ€ƒc) 14โ€ƒโ€ƒd) 15
โœ… 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?
a) 10000โ‚‚โ€ƒโ€ƒb) 1000โ‚‚โ€ƒโ€ƒc) 1110โ‚‚โ€ƒโ€ƒd) 1100โ‚‚
โœ… 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?
a) 7โ€ƒโ€ƒb) 8โ€ƒโ€ƒc) 9โ€ƒโ€ƒd) 10
โœ… Answer: b) 8
k = โŒˆlogโ‚‚200โŒ‰ = โŒˆ7.64โŒ‰ = 8. 200โ‚โ‚€ = 11001000โ‚‚ (8 bits).
5๏ธโƒฃ The octal number 47โ‚ˆ is equivalent to:
a) 39โ‚โ‚€โ€ƒโ€ƒb) 40โ‚โ‚€โ€ƒโ€ƒc) 41โ‚โ‚€โ€ƒโ€ƒd) 42โ‚โ‚€
โœ… Answer: a) 39โ‚โ‚€
4ร—8 + 7 = 32+7 = 39.
6๏ธโƒฃ Binary equivalent of hexadecimal 2Fโ‚โ‚† is:
a) 101111โ‚‚โ€ƒโ€ƒb) 101111โ‚‚โ€ƒโ€ƒc) 101111โ‚‚โ€ƒโ€ƒd) All the same (trick)
โœ… Answer: 101111โ‚‚
2โ†’0010, Fโ†’1111 โ†’ 00101111โ‚‚ โ†’ omit leading zeros โ†’ 101111โ‚‚.
7๏ธโƒฃ In decimal 456.78, the digit 5 has place value:
a) 5โ€ƒโ€ƒb) 50โ€ƒโ€ƒc) 500โ€ƒโ€ƒd) 0.5
โœ… Answer: b) 50
5 is in tens place โ†’ 5ร—10ยน = 50.
8๏ธโƒฃ Maximum decimal value using 4 binary digits is:
a) 8โ€ƒโ€ƒb) 15โ€ƒโ€ƒc) 16โ€ƒโ€ƒd) 31
โœ… Answer: b) 15
2โดโˆ’1 = 15. 1111โ‚‚ = 15โ‚โ‚€.
9๏ธโƒฃ Convert 0.5โ‚โ‚€ to binary:
a) 0.1โ‚‚โ€ƒโ€ƒb) 0.01โ‚‚โ€ƒโ€ƒc) 0.5โ‚‚โ€ƒโ€ƒd) 0.101โ‚‚
โœ… 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?
a) 2โ€ƒโ€ƒb) 3โ€ƒโ€ƒc) 4โ€ƒโ€ƒd) 5
โœ… 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โ‚โ‚€.
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โ‚โ‚†.
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

Content Locked / ุงู„ู…ุญุชูˆู‰ ู…ุบู„ู‚

Please log in using an educational email in Qatar ending with .edu.qa to view this summary.
ุงู„ุฑุฌุงุก ุชุณุฌูŠู„ ุงู„ุฏุฎูˆู„ ุจุงุณุชุฎุฏุงู… ุจุฑูŠุฏ ุฅู„ูƒุชุฑูˆู†ูŠ ุชุนู„ูŠู…ูŠ ููŠ ู‚ุทุฑ ูŠู†ุชู‡ูŠ ุจู€ .edu.qa ู„ุนุฑุถ ู‡ุฐุง ุงู„ู…ู„ุฎุต.