2210/12/M/J/23 question 3: worked solution (May/June 2023, paper 12)

Show as plain text

Cambridge O Level Computer Science 2210 · 1.3 Data storage and compression Worked solution from the Data representation Paper 1 Computer Systems booklet, Part 3 of 3. Q38 2210/12/M/J/23 original Q3 Structured · 10 marks Worked solution (a) Any three points: A character set is used [1] Such as ASCII or Unicode [1] Each character has its own unique binary value [1] (b)(i) The file size is reduced (made smaller) [1] (b)(ii) Any four points: A compression algorithm is used, such as run length encoding [1] Repeated words, characters or patterns are found [1] They are stored once in an index [1] With the number of times they occur or their positions [1] (b)(iii) Any two reasons: To save storage space [1] To make it quicker to send (or small enough to attach to an email, or use less bandwidth) [1] KEY IDEA Characters are stored as unique codes; lossless compression shrinks files by storing repeats once and loses no data. TOTAL 10 marks Official mark scheme VIDEO ▶ Topic lesson A lesson on this topic · by Mr Bulmer's Learning Zone. Tap the picture to open it on YouTube.