Topic 1 · Data Representation
Move fluently among number systems, encoded media, storage units, file-size calculations, and compression decisions.
12 lesson sections · 12 worked applications · Paper 1 · Cambridge 0478 (2026–2028)
Confident integer arithmetic, powers of two, and careful unit conversion.
Show every conversion or calculation step. When explaining representation, link the stored bits to what they mean.
Binary Place Value & Denary Conversion
The defining description of binary representation is “converts every form of data to binary before a computer can process it.” Connect it with binary place values, whose role is “use powers of two from right to left.”
Required vocabulary and boundaries
| Idea | Precise role | Evidence or example |
|---|---|---|
| binary representation | converts every form of data to binary before a computer can process it | text, images, and sound stored as bit patterns |
| binary place values | use powers of two from right to left | 128, 64, 32, 16, 8, 4, 2, 1 in an 8-bit value |
| binary-to-denary conversion | adds the place values whose bits are 1 | 00001101₂ = 8 + 4 + 1 = 13 |
| denary number system | uses base 10 and the digits 0 through 9 | 347₁₀ |
| binary number system | uses base 2 and the digits 0 and 1 | 101101₂ |
| 16-bit unsigned maximum | has sixteen 1 bits and represents 65535 | 1111111111111111₂ |
Four-step exam routine
Identify the exact clue and name binary representation only when its defining role fits.
State the mechanism or boundary: use powers of two from right to left.
Apply the idea to evidence such as “00001101₂ = 8 + 4 + 1 = 13.”
Reject the tempting error that uses only the digits 0 and 1.
Why the Method Works
Each binary column represents a power of 2. The bit tells you whether that power of 2 is included in the total.
- Write the binary place values above the bits.
- Mark the columns where the bit is
1. - Ignore the columns where the bit is
0. - Add the selected place values.
- Write the answer as a denary number.
This is the part to understand, not memorise: the method works because each step preserves the value being represented.
| Method step | Purpose |
|---|---|
| Write the binary place values above the bits. | Keeps the representation accurate |
Mark the columns where the bit is 1. | Keeps the representation accurate |
Ignore the columns where the bit is 0. | Keeps the representation accurate |
| Add the selected place values. | Keeps the representation accurate |
| Write the answer as a denary number. | Keeps the representation accurate |
Worked Example: 1011
Convert binary 1011 to denary.
Working: The 1s are under 8, 2, and 1.
Result: 8 + 2 + 1 = 11
| 8 | 4 | 2 | 1 |
|---|---|---|---|
| 1 | 0 | 1 | 1 |
| 8 | 2 | 1 |
Common Mistake
A common mistake is reading 1011 as one thousand and eleven. Binary digits are place values, not denary digits.
Fix: Use the place-value row and add only the columns marked with 1.
When checking your answer, point to the exact part of the method that prevents this mistake.
| Mistake | Better habit |
|---|---|
A common mistake is reading 1011 as one thousand and eleven. Binary digits are place values, not denary digits. | Use the place-value row and add only the columns marked with 1. |
Denary to Binary Conversion
The defining description of place-value subtraction is “tests powers of two from largest to smallest and subtracts each usable value.” Connect it with denary-to-binary place bit, whose role is “is 1 when its power of two is used and 0 when it is not.”
Required vocabulary and boundaries
| Idea | Precise role | Evidence or example |
|---|---|---|
| place-value subtraction | tests powers of two from largest to smallest and subtracts each usable value | 13 uses 8, 4, and 1 to form 1101₂ |
| denary-to-binary place bit | is 1 when its power of two is used and 0 when it is not | the 4 bit is 1 in 00001101₂ |
| remainder check | reaches zero after all selected binary place values are subtracted | 13 − 8 − 4 − 1 = 0 |
| leading zero | pads a positive binary value to the requested register width without changing its value | 1101 becomes 00001101 in 8 bits |
| largest required place | is the greatest power of two that does not exceed the denary value | 32 is the first place used for 45 |
| conversion verification | converts the completed bit pattern back to denary to check the result | 00101101₂ = 32 + 8 + 4 + 1 = 45 |
Four-step exam routine
Identify the exact clue and name place-value subtraction only when its defining role fits.
State the mechanism or boundary: is 1 when its power of two is used and 0 when it is not.
Apply the idea to evidence such as “13 − 8 − 4 − 1 = 0.”
Reject the tempting error that doubles the represented value.
Why the Method Works
The binary output is a record of exactly which powers of 2 were selected.
- Start with the largest place value.
- If it fits into the remaining denary value, write
1. - Subtract that place value.
- If it does not fit, write
0. - Continue until the 1 column.
This is the part to understand, not memorise: the method works because each step preserves the value being represented.
| Method step | Purpose |
|---|---|
| Start with the largest place value. | Keeps the representation accurate |
If it fits into the remaining denary value, write 1. | Keeps the representation accurate |
| Subtract that place value. | Keeps the representation accurate |
If it does not fit, write 0. | Keeps the representation accurate |
| Continue until the 1 column. | Keeps the representation accurate |
Worked Example: 13
Convert denary 13 to binary.
Working: Use 8 + 4 + 1.
Result: 00001101
| 8 | 4 | 2 | 1 |
|---|---|---|---|
| 1 | 1 | 0 | 1 |
Common Mistake
Students often write the denary digits in binary boxes without using place values.
Fix: Track the remaining value after each selected place value.
When checking your answer, point to the exact part of the method that prevents this mistake.
| Mistake | Better habit |
|---|---|
| Students often write the denary digits in binary boxes without using place values. | Track the remaining value after each selected place value. |
Binary Addition & Overflow
The defining description of 0 + 0 is “produces 0 with no carry.” Connect it with 0 + 1, whose role is “produces 1 with no carry.”
Required vocabulary and boundaries
| Idea | Precise role | Evidence or example |
|---|---|---|
| 0 + 0 | produces 0 with no carry | 00000000 + 00000000 |
| 0 + 1 | produces 1 with no carry | 00000000 + 00000001 |
| 1 + 1 | produces 0 with a carry of 1 | 00000001 + 00000001 = 00000010 |
| 8-bit maximum | the largest unsigned value is 255 | 11111111₂ |
| overflow | occurs when a result is too large for the available register | 250 + 10 in an 8-bit register |
| lost carry bit | the ninth result bit cannot be stored in an 8-bit register | 11111111 + 00000001 |
Four-step exam routine
Identify the exact clue and name 0 + 0 only when its defining role fits.
State the mechanism or boundary: produces 1 with no carry.
Apply the idea to evidence such as “00000001 + 00000001 = 00000010.”
Reject the tempting error that the largest unsigned value is 256.
Why the Method Works
Each column is worth twice the column to its right, so a carried 1 moves into the next higher place value.
- Line up the binary numbers by place value.
- Add the rightmost column first.
- If a column totals 2, write 0 and carry 1.
- If a column totals 3, write 1 and carry 1.
- Check whether the result fits the available bits.
This is the part to understand, not memorise: the method works because each step preserves the value being represented.
| Method step | Purpose |
|---|---|
| Line up the binary numbers by place value. | Keeps the representation accurate |
| Add the rightmost column first. | Keeps the representation accurate |
| If a column totals 2, write 0 and carry 1. | Keeps the representation accurate |
| If a column totals 3, write 1 and carry 1. | Keeps the representation accurate |
| Check whether the result fits the available bits. | Keeps the representation accurate |
Worked Example: 0011 + 0010
Add 0011 and 0010.
Working: 3 + 2 = 5, so the binary result is 0101.
Result: 0101
| Number | Binary |
|---|---|
| 3 | 0011 |
| 2 | 0010 |
| 5 | 0101 |
Common Mistake
Students often treat 1+1 as 2 in one binary column.
Fix: Separate ordinary carries from a final carry beyond the available bits.
When checking your answer, point to the exact part of the method that prevents this mistake.
| Mistake | Better habit |
|---|---|
Students often treat 1+1 as 2 in one binary column. | Separate ordinary carries from a final carry beyond the available bits. |
Logical Shifts
The defining description of logical left shift is “moves every bit left and inserts zero at the right.” Connect it with logical right shift, whose role is “moves every bit right and inserts zero at the left.”
Required vocabulary and boundaries
| Idea | Precise role | Evidence or example |
|---|---|---|
| logical left shift | moves every bit left and inserts zero at the right | 00110100 shifted left once |
| logical right shift | moves every bit right and inserts zero at the left | 00110100 shifted right once |
| left-shift effect | multiplies a positive binary integer by 2 for each place when no significant bit is lost | 00000101 becomes 00001010 |
| right-shift effect | divides a positive binary integer by 2 for each place and discards any fractional remainder | 00001010 becomes 00000101 |
| most significant bit loss | a bit shifted beyond the left end is discarded | 10000000 shifted left |
| least significant bit loss | a bit shifted beyond the right end is discarded | 00000001 shifted right |
Four-step exam routine
Identify the exact clue and name logical left shift only when its defining role fits.
State the mechanism or boundary: moves every bit right and inserts zero at the left.
Apply the idea to evidence such as “00000101 becomes 00001010.”
Reject the tempting error that always multiplies the value by 2.
Why the Method Works
A left shift moves 1s into columns with larger place values; a right shift moves 1s into columns with smaller place values.
- Write the original bit pattern.
- Move every bit the requested number of places.
- Fill empty positions with
0. - Discard bits pushed outside the available positions.
- Check whether value loss occurred.
This is the part to understand, not memorise: the method works because each step preserves the value being represented.
| Method step | Purpose |
|---|---|
| Write the original bit pattern. | Keeps the representation accurate |
| Move every bit the requested number of places. | Keeps the representation accurate |
Fill empty positions with 0. | Keeps the representation accurate |
| Discard bits pushed outside the available positions. | Keeps the representation accurate |
| Check whether value loss occurred. | Keeps the representation accurate |
Worked Example: 00001100 left 1
Shift 00001100 left by one place.
Working: Move each bit one position left and add 0 on the right.
Result: 00011000
| Before | After |
|---|---|
| 00001100 | 00011000 |
Common Mistake
Students sometimes rotate bits around to the other side.
Fix: Move bits straight across, fill with zeroes, and check discarded bits.
When checking your answer, point to the exact part of the method that prevents this mistake.
| Mistake | Better habit |
|---|---|
| Students sometimes rotate bits around to the other side. | Move bits straight across, fill with zeroes, and check discarded bits. |
Hexadecimal Conversion
The defining description of hexadecimal digit set is “uses 0–9 and A–F to represent the values 0–15.” Connect it with binary nibble mapping, whose role is “maps each group of four binary bits to one hexadecimal digit.”
Required vocabulary and boundaries
| Idea | Precise role | Evidence or example |
|---|---|---|
| hexadecimal digit set | uses 0–9 and A–F to represent the values 0–15 | F represents denary 15 |
| binary nibble mapping | maps each group of four binary bits to one hexadecimal digit | 1010₂ maps to A₁₆ |
| binary-to-hexadecimal conversion | groups bits into nibbles from the right and converts each group | 11011110₂ = DE₁₆ |
| hexadecimal-to-binary conversion | replaces every hexadecimal digit with exactly four binary bits | 3F₁₆ = 00111111₂ |
| hexadecimal place values | use powers of sixteen from right to left | 2A₁₆ = 2 × 16 + 10 = 42 |
| 16-bit hexadecimal width | uses at most four hexadecimal digits for an unsigned 16-bit value | FFFF₁₆ corresponds to sixteen 1 bits |
Four-step exam routine
Identify the exact clue and name hexadecimal digit set only when its defining role fits.
State the mechanism or boundary: maps each group of four binary bits to one hexadecimal digit.
Apply the idea to evidence such as “11011110₂ = DE₁₆.”
Reject the tempting error that drops leading zeros inside each nibble.
Why the Method Works
Base 16 works neatly with binary because 16 is 2 to the power of 4.
- Split binary into 4-bit groups from the right.
- Convert each group to one hex digit.
- For hex to binary, replace each hex digit with 4 bits.
- Keep leading zeroes inside each 4-bit group.
- Use A=10, B=11, C=12, D=13, E=14, F=15.
This is the part to understand, not memorise: the method works because each step preserves the value being represented.
| Method step | Purpose |
|---|---|
| Split binary into 4-bit groups from the right. | Keeps the representation accurate |
| Convert each group to one hex digit. | Keeps the representation accurate |
| For hex to binary, replace each hex digit with 4 bits. | Keeps the representation accurate |
| Keep leading zeroes inside each 4-bit group. | Keeps the representation accurate |
| Use A=10, B=11, C=12, D=13, E=14, F=15. | Keeps the representation accurate |
Worked Example: 1010
Convert binary 1010 to hex.
Working: 1010 has denary value 10, and hex digit 10 is A.
Result: A
| Binary | Denary | Hex |
|---|---|---|
| 1010 | 10 | A |
Common Mistake
Students sometimes think A is a variable instead of the hex digit for 10.
Fix: Use fixed 4-bit groups and the hex digit table.
When checking your answer, point to the exact part of the method that prevents this mistake.
| Mistake | Better habit |
|---|---|
| Students sometimes think A is a variable instead of the hex digit for 10. | Use fixed 4-bit groups and the hex digit table. |
Uses of Hexadecimal
The defining description of compact binary notation is “uses one hexadecimal digit for each four binary bits.” Connect it with human readability benefit, whose role is “makes long binary patterns shorter and easier to copy or compare.”
Required vocabulary and boundaries
| Idea | Precise role | Evidence or example |
|---|---|---|
| compact binary notation | uses one hexadecimal digit for each four binary bits | 11111111₂ written as FF₁₆ |
| human readability benefit | makes long binary patterns shorter and easier to copy or compare | a memory address shown as 3A7F |
| HTML colour value | uses hexadecimal pairs for red, green, and blue components | #1463FF |
| MAC address notation | usually displays the manufacturer and serial codes in hexadecimal | 3C:52:82:1A:4F:90 |
| memory address notation | uses hexadecimal as a shorter representation of a binary address | 0x2AF0 |
| hexadecimal benefit boundary | improves representation for people but does not alter the underlying binary value | A₁₆ and 1010₂ represent the same value |
Four-step exam routine
Identify the exact clue and name compact binary notation only when its defining role fits.
State the mechanism or boundary: makes long binary patterns shorter and easier to copy or compare.
Apply the idea to evidence such as “#1463FF.”
Reject the tempting error that is normally written as four denary groups.
Why the Method Works
Hex is a human-friendly shorthand for binary because each hex digit maps to four bits.
- Identify what the hex code represents.
- Read pairs of hex digits as bytes where needed.
- Use hex for compactness and readability.
- Do not confuse the use case with conversion steps.
- Explain why hex is easier than binary for humans.
This is the part to understand, not memorise: the method works because each step preserves the value being represented.
| Method step | Purpose |
|---|---|
| Identify what the hex code represents. | Keeps the representation accurate |
| Read pairs of hex digits as bytes where needed. | Keeps the representation accurate |
| Use hex for compactness and readability. | Keeps the representation accurate |
| Do not confuse the use case with conversion steps. | Keeps the representation accurate |
| Explain why hex is easier than binary for humans. | Keeps the representation accurate |
Worked Example: HTML color #FF0000
An HTML color can use six hex digits.
Working: FF red, 00 green, 00 blue.
Result: #FF0000 means strong red.
| Red | Green | Blue |
|---|---|---|
| FF | 00 | 00 |
Common Mistake
Students sometimes describe how to convert hex instead of why it is used.
Fix: Say hex is a notation for humans; it represents the same underlying data.
When checking your answer, point to the exact part of the method that prevents this mistake.
| Mistake | Better habit |
|---|---|
| Students sometimes describe how to convert hex instead of why it is used. | Say hex is a notation for humans; it represents the same underlying data. |
Text Storage & Character Sets
The defining description of character set is “assigns a binary code to each character a computer can represent.” Connect it with ASCII, whose role is “represents a limited set of characters using standard character codes.”
Required vocabulary and boundaries
| Idea | Precise role | Evidence or example |
|---|---|---|
| character set | assigns a binary code to each character a computer can represent | a stored code for the letter A |
| ASCII | represents a limited set of characters using standard character codes | codes for English letters, digits, and punctuation |
| Unicode | supports a much greater range of characters and symbols than ASCII | different writing systems and emoji |
| Unicode storage cost | can require more bits per character than ASCII | a larger code space for many languages |
| text-to-binary process | looks up each character's code and stores that code as bits | a word stored as a sequence of character codes |
| shared encoding requirement | allows sender and receiver to interpret a character code in the same way | both systems decode the same Unicode value |
Four-step exam routine
Identify the exact clue and name character set only when its defining role fits.
State the mechanism or boundary: represents a limited set of characters using standard character codes.
Apply the idea to evidence such as “different writing systems and emoji.”
Reject the tempting error that always requires fewer bits.
Why the Method Works
Computers store numbers in binary, so text must be represented by numeric character codes.
- Identify each character.
- Use the character set to find its code.
- Store the code in binary.
- Use a larger character set when more symbols are needed.
- Use the same encoding to read the data back correctly.
This is the part to understand, not memorise: the method works because each step preserves the value being represented.
| Method step | Purpose |
|---|---|
| Identify each character. | Keeps the representation accurate |
| Use the character set to find its code. | Keeps the representation accurate |
| Store the code in binary. | Keeps the representation accurate |
| Use a larger character set when more symbols are needed. | Keeps the representation accurate |
| Use the same encoding to read the data back correctly. | Keeps the representation accurate |
Worked Example: A
Store the character A.
Working: Find the code for A in the character set, then store that code in binary.
Result: The computer stores a binary code, not the printed shape.
| Character | Stored as |
|---|---|
| A | binary code |
Common Mistake
Students may think the computer stores the visual shape of the letter directly.
Fix: Separate the code for a character from how it is drawn on screen.
When checking your answer, point to the exact part of the method that prevents this mistake.
| Mistake | Better habit |
|---|---|
| Students may think the computer stores the visual shape of the letter directly. | Separate the code for a character from how it is drawn on screen. |
Image Storage & Bitmaps
The defining description of bitmap image is “represents an image as a grid of pixels converted to binary.” Connect it with pixel, whose role is “is one picture element with a stored colour value.”
Required vocabulary and boundaries
| Idea | Precise role | Evidence or example |
|---|---|---|
| bitmap image | represents an image as a grid of pixels converted to binary | a 1920 by 1080 photograph |
| pixel | is one picture element with a stored colour value | one dot in a bitmap grid |
| image resolution | is the number of pixels in an image | width × height pixels |
| colour depth | is the number of bits used to represent the colour of each pixel | 8 bits per pixel gives up to 256 bit patterns |
| resolution effect | higher resolution usually increases image detail and file size | doubling both pixel dimensions creates four times as many pixels |
| colour-depth effect | higher colour depth allows more colours and increases uncompressed file size | 24 bits per pixel stores more colour choices than 8 |
Four-step exam routine
Identify the exact clue and name bitmap image only when its defining role fits.
State the mechanism or boundary: is one picture element with a stored colour value.
Apply the idea to evidence such as “width × height pixels.”
Reject the tempting error that is the image width.
Why the Method Works
Every pixel must store enough bits to identify its color.
- Find image width in pixels.
- Find image height in pixels.
- Multiply width by height for total pixels.
- Multiply by color depth.
- Convert bits to bytes if needed by dividing by 8.
This is the part to understand, not memorise: the method works because each step preserves the value being represented.
| Method step | Purpose |
|---|---|
| Find image width in pixels. | Keeps the representation accurate |
| Find image height in pixels. | Keeps the representation accurate |
| Multiply width by height for total pixels. | Keeps the representation accurate |
| Multiply by color depth. | Keeps the representation accurate |
| Convert bits to bytes if needed by dividing by 8. | Keeps the representation accurate |
Worked Example: 2 x 2 image
A tiny image has 4 pixels and 1 bit per pixel.
Working: 4 x 1 = 4 bits.
Result: The raw image data needs 4 bits.
| Pixels | Bits per pixel | Raw size |
|---|---|---|
| 4 | 1 | 4 bits |
Common Mistake
Students may confuse resolution with color depth.
Fix: Use width x height x color depth, then convert units only if asked.
When checking your answer, point to the exact part of the method that prevents this mistake.
| Mistake | Better habit |
|---|---|
| Students may confuse resolution with color depth. | Use width x height x color depth, then convert units only if asked. |
Sound Storage & Sampling
The defining description of sound sampling is “measures an analogue sound wave at regular time intervals for conversion to binary.” Connect it with sample rate, whose role is “is the number of sound samples taken each second.”
Required vocabulary and boundaries
| Idea | Precise role | Evidence or example |
|---|---|---|
| sound sampling | measures an analogue sound wave at regular time intervals for conversion to binary | recording microphone amplitude readings |
| sample rate | is the number of sound samples taken each second | 44 100 samples per second |
| sample resolution | is the number of bits used to store each sound sample | 16 bits per sample |
| sample-rate effect | a higher value captures the wave more frequently and increases accuracy and file size | more measurements during one second |
| sample-resolution effect | a higher value records more possible amplitude levels and increases accuracy and file size | 16-bit samples distinguish more levels than 8-bit samples |
| uncompressed sound size | is calculated from sample rate × sample resolution × duration | samples/second × bits/sample × seconds |
Four-step exam routine
Identify the exact clue and name sound sampling only when its defining role fits.
State the mechanism or boundary: is the number of sound samples taken each second.
Apply the idea to evidence such as “16 bits per sample.”
Reject the tempting error that reduces the number of stored measurements.
Why the Method Works
Each sample stores a binary number describing the wave's amplitude at that instant.
- Identify sampling rate.
- Identify sample resolution or bit depth.
- Identify duration.
- Multiply rate x resolution x duration.
- Convert bits to bytes if needed.
This is the part to understand, not memorise: the method works because each step preserves the value being represented.
| Method step | Purpose |
|---|---|
| Identify sampling rate. | Keeps the representation accurate |
| Identify sample resolution or bit depth. | Keeps the representation accurate |
| Identify duration. | Keeps the representation accurate |
| Multiply rate x resolution x duration. | Keeps the representation accurate |
| Convert bits to bytes if needed. | Keeps the representation accurate |
Worked Example: 10 seconds
A recording uses 1,000 samples per second for 10 seconds at 8 bits per sample.
Working: 1000 x 10 x 8 = 80,000 bits.
Result: 80,000 bits.
| Rate | Duration | Depth | Size |
|---|---|---|---|
| 1000 | 10 | 8 | 80,000 bits |
Common Mistake
Students may think sampling rate and sample resolution are the same thing.
Fix: Keep rate, resolution, and duration as three separate factors.
When checking your answer, point to the exact part of the method that prevents this mistake.
| Mistake | Better habit |
|---|---|
| Students may think sampling rate and sample resolution are the same thing. | Keep rate, resolution, and duration as three separate factors. |
Data Compression
The defining description of compression purpose is “reduces a file's size.” Connect it with compression impact, whose role is “can reduce required storage, bandwidth, and transmission time.”
Required vocabulary and boundaries
| Idea | Precise role | Evidence or example |
|---|---|---|
| compression purpose | reduces a file's size | a smaller image attachment |
| compression impact | can reduce required storage, bandwidth, and transmission time | sending a smaller file over a network |
| lossy compression | permanently removes some data to reduce file size | reducing image resolution or sound sample rate |
| lossless compression | reduces file size without permanent loss of original data | compressing text that must be restored exactly |
| run length encoding (RLE) | stores a repeated value together with the number of consecutive repetitions | AAAAAA stored as six As |
| method suitability | uses lossless compression when exact recovery matters and may use lossy compression when some quality loss is acceptable | lossless program file versus lossy photograph |
Four-step exam routine
Identify the exact clue and name compression purpose only when its defining role fits.
State the mechanism or boundary: can reduce required storage, bandwidth, and transmission time.
Apply the idea to evidence such as “reducing image resolution or sound sample rate.”
Reject the tempting error that discards details that can never be recovered.
Why the Method Works
Different data has different patterns, so no compression method is best for every file.
- Identify the type of data.
- Decide whether exact recovery is required.
- Choose lossless if exact recovery matters.
- Choose lossy if small quality loss is acceptable.
- Check whether the data pattern suits the method.
This is the part to understand, not memorise: the method works because each step preserves the value being represented.
| Method step | Purpose |
|---|---|
| Identify the type of data. | Keeps the representation accurate |
| Decide whether exact recovery is required. | Keeps the representation accurate |
| Choose lossless if exact recovery matters. | Keeps the representation accurate |
| Choose lossy if small quality loss is acceptable. | Keeps the representation accurate |
| Check whether the data pattern suits the method. | Keeps the representation accurate |
Worked Example: RLE on AAAAABBB
Compress repeated characters with run-length encoding.
Working: There are 5 As and 3 Bs.
Result: 5A3B
| Original | RLE |
|---|---|
| AAAAABBB | 5A3B |
Common Mistake
Students may think all compression loses data.
Fix: Match the method to the data and the need for exact recovery.
When checking your answer, point to the exact part of the method that prevents this mistake.
| Mistake | Better habit |
|---|---|
| Students may think all compression loses data. | Match the method to the data and the need for exact recovery. |
Two's Complement
The defining description of two's complement is “represents positive and negative integers in a fixed-width binary system.” Connect it with positive 8-bit value, whose role is “has a most significant bit of 0.”
Required vocabulary and boundaries
| Idea | Precise role | Evidence or example |
|---|---|---|
| two's complement | represents positive and negative integers in a fixed-width binary system | 8-bit signed integers |
| positive 8-bit value | has a most significant bit of 0 | 00001101 represents +13 |
| negative 8-bit value | has a most significant bit of 1 | 11110011 represents −13 |
| negating a value | invert all eight bits and add 1 | 00000101 becomes 11111011 |
| 8-bit signed range | runs from −128 to +127 | 10000000 through 01111111 |
| sign interpretation | the same 8-bit pattern can mean a different value if treated as unsigned | 11111111 is −1 signed but 255 unsigned |
Four-step exam routine
Identify the exact clue and name two's complement only when its defining role fits.
State the mechanism or boundary: has a most significant bit of 0.
Apply the idea to evidence such as “11110011 represents −13.”
Reject the tempting error that only change the first bit.
Reason Before Naming
Two's complement lets a computer use binary addition hardware for both positive and negative integers.
Start by underlining the clue in the scenario, then decide what job that clue is describing. This keeps the answer tied to the concept being assessed.
10000000 is -128 because only the signed -128 column is active.
| Scenario clue | What it proves |
|---|---|
| leftmost 0 | non-negative |
| leftmost 1 | negative |
| invert and add 1 | make negative |
| -128 to +127 | 8-bit range |
When The Scenario Is Less Obvious
The question may include a boundary case or a tempting wrong answer. Use the exact role in the scenario as evidence.
- signed integer: whole number that can be positive or negative
- two's complement: binary method for representing negative integers
- sign bit: leftmost bit showing the sign in signed binary
- range: set of values that can be represented
A strong answer names the representation and shows how the signed place values produce the value.
| Term | Use in this lesson |
|---|---|
| signed integer | whole number that can be positive or negative |
| two's complement | binary method for representing negative integers |
| sign bit | leftmost bit showing the sign in signed binary |
| range | set of values that can be represented |
A Common Mix-Up
A common mistake is reading signed binary as unsigned binary.
Fix: Check whether the question says signed or two's complement before using the place values.
| Mistake | Correction |
|---|---|
| A common mistake is reading signed binary as unsigned binary. | Check whether the question says signed or two's complement before using the place values. |
Data Storage Units & File Size Calculations
The defining description of nibble is “contains 4 bits.” Connect it with byte, whose role is “contains 8 bits.”
Required vocabulary and boundaries
| Idea | Precise role | Evidence or example |
|---|---|---|
| nibble | contains 4 bits | 1010 |
| byte | contains 8 bits | one 8-bit character code |
| binary unit step | each KiB-to-EiB unit is 1024 of the previous unit | 1024 MiB = 1 GiB |
| image file size | resolution multiplied by colour depth, then converted to the requested unit | width × height × bits per pixel |
| sound file size | sample rate multiplied by sample resolution and duration | samples/s × bits/sample × seconds |
| exbibyte (EiB) | a binary storage unit above pebibyte | 1024 PiB = 1 EiB |
Four-step exam routine
Identify the exact clue and name nibble only when its defining role fits.
State the mechanism or boundary: contains 8 bits.
Apply the idea to evidence such as “1024 MiB = 1 GiB.”
Reject the tempting error that depends only on the image width.
Reason Before Naming
Raw file size increases when more values are stored or when more bits are used for each value.
Start by underlining the clue in the scenario, then decide what job that clue is describing. This keeps the answer tied to the concept being assessed.
A 100 x 50 image at 8 bits per pixel stores 5,000 pixels and 40,000 bits.
| Scenario clue | What it proves |
|---|---|
| bits to bytes | divide by 8 |
| bytes to KiB | divide by 1024 |
| image size | pixels x colour depth |
| sound size | rate x depth x duration |
When The Scenario Is Less Obvious
The question may include a boundary case or a tempting wrong answer. Use the exact role in the scenario as evidence.
- bit: one binary digit
- nibble: four bits
- byte: eight bits
- kibibyte: 1024 bytes
- mebibyte: 1024 kibibytes
A strong answer shows the formula, units, and conversion steps.
| Term | Use in this lesson |
|---|---|
| bit | one binary digit |
| nibble | four bits |
| byte | eight bits |
| kibibyte | 1024 bytes |
| mebibyte | 1024 kibibytes |
A Common Mix-Up
A common mistake is dividing by 1024 before converting bits to bytes.
Fix: Keep the formula in order: multiply first, bits to bytes, then larger units.
| Mistake | Correction |
|---|---|
| A common mistake is dividing by 1024 before converting bits to bytes. | Keep the formula in order: multiply first, bits to bytes, then larger units. |
Turn knowledge into marks
A high-quality response does more than recall a term. It selects the command word, states the exact role, follows the mechanism in order, and connects the effect to the scenario.
Define precisely
For binary representation, begin with the defining role: converts every form of data to binary before a computer can process it. Do not replace the definition with an example.
Describe a process
Use an ordered chain. Name what enters, what changes or is checked, and what result follows. A useful anchor here is “00001101₂ = 8 + 4 + 1 = 13.”
Apply or justify
Quote the scenario need, select sound file size, then link its role — sample rate multiplied by sample resolution and duration — to the required outcome.
Repair a misconception
Do not accept the claim that is smaller than a kibibyte. Replace it with the exact boundary: a binary storage unit above pebibyte.
Mark-by-mark response ladder
- Name: use the exact syllabus term.
- Role: define what that term does or represents.
- Mechanism: describe the relevant steps in their logical order.
- Context: explain why that mechanism matters in the stated scenario.
- Boundary: avoid claiming more than the method guarantees.
Last-pass checklist
Mapped to Cambridge IGCSE Computer Science 0478 · 2026–2028 syllabus, version 5