Skip to main content
O-LevelComputer ScienceData Representation2210/11 · May/June 2019 · Q55 Marks

The following text is stored as a text file: She sells sea shells on the seashore. The shells that she sells are sea shells I am sure. Explain how lossless compression would compress this file.

  1. (a)Explain how lossless compression would compress this file.[5]

Mark scheme

Marking points from the official mark scheme (May/June 2019). The mark or mark type is shown in brackets.

  1. [1] A (compression) algorithm is used
  2. [1] No data is removed in the process // original file can be restored
  3. [1] Repeated words (are identified) // Patterns in the data (are identified)
  4. [1] and are indexed/put into a table // by example
  5. [1] and are replaced with their index // by example
  6. [1] and their positions are stored (in the table) // by example
  7. [1] and the number of times the word/pattern appears is stored (in the table) // by example

Write your answer and get it marked

On Oracle Prep you can write or photograph your own answer and have it marked by AI against this mark scheme, with feedback on what you missed.

Sign up free →

About this question

Topic
Data Representation, O-Level Computer Science (syllabus 2210). Structured question, 5 marks.
Source
O-Level Computer Science, May/June 2019 Paper 1 Variant 1, question 5.

Questions and mark schemes are from past examination papers and remain the copyright of the exam board. How Oracle Prep builds its content

Related Computer Science questions

© 2026 Oracle Prep