Identifying loss, gain and change in an example
Compare the data sent with the data received. Fewer bits or characters means loss, extra ones means gain, and the same length with different values means change.
Understanding Identifying loss, gain and change in an example in IGCSE Computer Science Paper 1
What it does: Both patterns have 4 bits, but the third bit changed from 0 to 1. Same length with different values is data change. A letter L has gone missing, so the received word is shorter than the sent word. This is data loss.
Common mistakes: The variable is misspelled as recieved, so line 3 would fail because received does not exist. It should be received = "1011010". Gain means extra characters arrived, so the received data must be longer than the sent data. The test should use > not <.
Free printable worksheet with full answer key — or add this module to a class and your students practise it interactively.
This module's key terms are also in a printable crossword (Modules 142–154) and word search (Modules 142–164).
Take this worksheet further — free with Cloodit
Each concept is reinforced from every angle — learned, then applied, then tested.
Cloodit turns curriculum-aligned coding content into journeys students work through one biome at a time.
Over 100 of them, across seven natural biomes.
Turns their work into revision material ready for Flash Cards and Exam study.
Live, competitive practice for the start of the lesson or a teacher-led lesson finisher.
Honour your top performers, or encourage a student who's trying hard — ready to print in seconds.
Quick Questions
Match the Pairs
Key Term
compare sent and receivedFill in the Blanks
Spot the Error
Student with a class code? Join your class →