/en-tutor-prep-igcse-cs-number-systems-binary-hex/
/en-tutor-prep-igcse-cs-number-systems-binary-hex/
General Inquiry: info@TutorZone.com.hk
Office Hours: Monday to Saturday - 9:00 AM to 6:00 PM
WhatsApp Monday to Sunday - 24 hours
Hotline: +852 6828 1809
Instant Support: +852 9061 3106

IGCSE Computer Science: Number Systems and Binary — Tutor Prep Guide

IGCSE Computer Science: Number Systems and Binary — Tutor Prep Guide

  • 2026-11-27

Students can often recite binary but fall apart on hex grouping, overflow and two’s complement. This chapter ties the three bases to one place-value table and uses figures the class computes itself.

Objectives — Students can: (1) write 202 as 11001010 using a place-value table and repeated division by 2; (2) group from the right in fours and write 11001010 as hex CA, explaining that one hex digit is four bits and one byte is two digits; (3) add 150 and 108, get the 8-bit result 00000010 and state that the true value 258 exceeds 255, so overflow occurs; (4) state that a logical left shift multiplies by 2 and a right shift divides by 2, but shifting 192 left pushes the top bit out and leaves 128; (5) write a negative number in two’s complement, so +5 inverts and adds one to give 11111011 for -5, with the range -128 to 127.

01 Prerequisites (3-minute check)

If any of these fails, fix it before the lesson starts.

Skill Quick check Pass mark
Place values Which of 128, 64, 32, 16, 8, 4, 2 and 1 add up to 200? Says 128 plus 64 plus 8 only
Division by 2 Divide 13 by 2 repeatedly and write the remainders Gets 1, 0, 1, 1 which reads back as 1101
Hex letters What values do A to F stand for? Says 10 to 15

02 Lesson flow (60 minutes)

Time Stage Tutor does Student does
0-6 min Place-value table Write 128 down to 1 and ask how 200 is built Builds 11001000
6-16 min Denary to binary Both the subtraction and the division method for 202 Both give 11001010
16-26 min Binary to hex Group in fours from the right, pad on the left, look up 1100 1010 gives CA
26-38 min Addition and overflow Add 150 and 108 column by column Writes 00000010 and names overflow
38-50 min Logical shifts Shift left one and two, shift right one, when bits fall out Says multiply by 2, by 4, divide by 2
50-60 min Two’s complement Start from -5: write +5, invert, add one Gives 11111011 and the range -128 to 127

03 Teaching script (read it out)

Scene 1: Three bases on one table

Draw the place-value table 128, 64, 32, 16, 8, 4, 2, 1. Each place holds 0 or 1, so an 8-bit register has 256 combinations, the largest 255, and a 16-bit register reaches 65535.
202 is 128 plus 64 plus 8 plus 2, so those four places hold 1 and the rest hold 0, giving 11001010. The other route is repeated division: 202 by 2 leaves 0, 101 leaves 1, 50 leaves 0, 25 leaves 1, 12 leaves 0, 6 leaves 0, 3 leaves 1 and 1 leaves 1, which reads bottom up as 11001010.
Hexadecimal is base 16, so one digit runs 0 to 15 with A to F for ten to fifteen. Because 16 is 2 to the power 4, one hex digit is exactly four bits, a nibble, and one byte is exactly two digits. Group from the right: 11001010 splits into 1100 and 1010, which are 12 and 10, so C and A, giving CA. Hex is shorter, easier to read and less error prone, and it maps straight onto memory addresses, colour codes such as #FF8800 and error codes.
Reverse it: 3F is 3 times 16 plus 15, which is 63, and as binary that is 0011 1111.

Students convert 173 themselves and must give both the binary and the hex answer and say why hex is shorter.

Scene 2: 8-bit addition, overflow, then shifts

Write 150 as 10010110 and 108 as 01101100. Add from the right: 0 plus 0 is 0, 1 plus 0 is 1, 1 plus 1 is 10 so write 0 and carry 1, and at the eighth column a carry still leaves the register, so the eight stored bits are 00000010 while the true value is 258.
Define overflow precisely: an 8-bit register holds at most 255, and 150 plus 108 is 258, so the answer is not 2, the answer is that overflow occurred. Contrast with 63 plus 100 giving 163, written 10100011 with no carry out, so no overflow.
Logical shifts: a left shift pushes every bit one place left, fills the right end with 0, and any bit pushed past the top is lost. 10 is 00001010, one left shift gives 00010100 which is 20, two shifts give 00101000 which is 40, so a left shift multiplies by powers of 2. But 192 is 11000000 and a left shift is 384 in arithmetic, while the register keeps only 10000000, which is 128. A right shift pushes bits right, fills the left end with 0 and drops the rightmost bit, so 10 shifted right is 5, the remainder simply lost, which is integer division rounding down.

Ask students when a left shift is not a multiplication; the answer must mention the top bit leaving the register.

Scene 3: Two’s complement: writing negatives into 8 bits

Three steps: write the positive value in 8 bits, invert every bit, add one. +5 is 00000101, inverted is 11111010, plus one gives 11111011, which is -5. Check it: 11111011 plus 00000101 gives 1 00000000, the carry out is discarded and the result is 0.
Now -12: +12 is 00001100, inverted is 11110011, plus one is 11110100.
The top bit is the sign bit, 0 for positive and 1 for negative, so 01111111 is 127 and 10000000 is -128, one apart in bits but 255 apart in value. The 8-bit range is -128 to 127, 256 values, and it is asymmetric because zero takes one of the positive slots. That answers the usual question about why the range is not -127 to 127.

Students convert 10000000 and 01111111 back to denary and must justify each, not recite it.

04 Question types and worked steps

Type Example Steps Answer
Base conversion Write 202 in binary and hex Place values or repeated division, then group in fours 11001010 and CA
Addition and overflow 150 plus 108 in 8 bits Add column by column, then check the carry out 00000010 with overflow, true value 258
Logical shift Shift 192 left by one Fill with 0, drop the top bit 10000000 which is 128, so not a clean doubling
Two’s complement Write -12 in 8-bit two’s complement Positive, invert, add one 11110100
Sanity check (teach this): Sanity checks: (1) an 8-bit answer is always eight characters and a hex answer is always two digits, so a short answer means missing padding; (2) group from the right when converting to hex, padding on the left, otherwise every group holds the wrong place values; (3) overflow depends only on a carry out of the eighth bit, never on how large the answer looks; (4) a left shift grows and a right shift shrinks, and bits that fall out never come back; (5) in two’s complement a negative number always has a top bit of 1 and a positive number 0.

05 Independent practice (3 questions)

Question Answer What to watch
Write 173 in 8-bit binary and in hex 10101101 and AD Watch whether grouping starts from the right
Add 122 and 90 in 8 bits 11010100 which is 212, no overflow Watch whether the ninth bit was checked
Write -12 in 8-bit two’s complement 11110100 Watch whether one was added after inverting

06 Common mistakes and what to say

Mistake Student writes Say this
Grouping from the left Splitting 11001010 as 11, 00, 10, 10 Group from the right and pad on the left. Your groups carry the wrong place values, so every digit is wrong.
Reporting the wrapped value Writing the answer as 2 An 8-bit register tops out at 255, and 150 plus 108 is 258. That is overflow, not 2.
Assuming a shift always doubles Writing 384 for 192 shifted left The register has eight places, and the ninth falls off. What stays is 128.
Forgetting the plus one Writing 11111010 for -5 Inverting is only the first step. Adding one is what makes it negative; 11111010 is -6.

07 Homework (paper, section and question numbers)

08 Exit check (last 5 minutes)

Question Answer Decision
One table Place values 128 down to 1 Cannot write it means scene one again
One test A carry out of the eighth bit Cannot state it means scene two again
One routine Invert then add one Missing the plus one means scene three again

09 Tutor FAQ

Does 0478 test BCD?

No. BCD belongs to 9618; 0478 section 1.1 covers binary, hex, addition and overflow, logical shifts and two’s complement only.

Should students add in hexadecimal?

They should read hex values, but 0478 only requires binary addition and overflow.

Why is the 8-bit range minus 128 rather than minus 127?

Because 10000000 is defined as minus 128, and zero occupies one positive slot, so the range is asymmetric.

Find a tutor — freeTutor Registration →

A TutorZone lesson-prep guide. Written by the TutorZone team; questions and lesson flow are original and are not taken from any school or publisher material.

Join as a tutor or coach — academic, music, sports, arts, STEM. Free to register. See how it works →