9618/12/O/N/22 question 8: worked solution (October/November 2022, paper 12)
Show as plain textHide plain text
Cambridge AS Level Computer Science 9618 · 1.2 Multimedia Worked solution from the Information representation Paper 1 Theory Fundamentals booklet, Part 2 of 3. Q31 9618/12/O/N/22 original Q8 Structured · 8 marks Worked solution (a) Work out each action. A lower colour depth means fewer bits per pixel, so the file is smaller. The screen resolution is how the monitor shows the image, so the file does not change. Changing a colour keeps the same number of pixels and bits, so no change. Action Increases Decreases No change Colour depth changed to 16 bits per pixel tick Screen resolution changed to 1366 × 768 tick Rectangle colour changed from black to red tick At least one row correct [1] All three rows correct [1] (b) Any two of these benefits: A vector graphic can be enlarged without pixelation or loss of quality [1] Each individual component can be edited [1] Or: the file size is generally smaller . (c)(i) Each run is written as a count followed by the value. Row 2: 2AB = AB AB, 2FF = FF FF, 11D = 1D, 167 = 67. Uncompressed: AB AB FF FF 1D 67 [1] Row 3: 32 32 = 232, 80 = 180, 81 81 = 281. Compressed: 232 180 281 [1] (c)(ii) Write the point and the reason: Lossless compression keeps all the data, so no data is lost [1] With lossy compression data would be lost, so the text file would be corrupted or would not make sense [1] KEY IDEA Count the run first, then write the value. Lossless keeps every bit, which text needs. TOTAL 8 marks Official mark scheme VIDEO ▶ Whole paper Video solution of the whole paper · by Audere Prep. Tap the picture to open it on YouTube.