๐Ÿ 

๐Ÿ“„ MIDTERM EXAMINATION

Chapter 3 โ€“ Number Systems ยท positional & conversion

โฑ๏ธ 90 min | total 50 marks
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!

ACADEZI 2026 โ€“ Chapter 3 number systems

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

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