Exam-style question
Try this first
An algorithm compresses a text string by replacing consecutive repeating characters with the character and the number of repeats. For example, 'AAABBC' becomes 'A3B2C1'. Outline one reason why using test data is important when evaluating the fitness for purpose of this algorithm. [2 marks].
Answer and explanation
Attempt the question first, then reveal the model answer and explanation.
Common mistake
No common mistake is linked to this question yet.
