Cambridge O Level Computer Science 2210 · 1.3 Data storage and compression

Q33 · 2210/11/M/J/21 Q7

Worked solution from the Data representation Paper 1 Computer Systems booklet, Part 3 of 3.

Q332210/11/M/J/21original Q7Structured · 14 marks
Question 7 from 2210/11/M/J/21

Worked solution

(a)(i)

Write any four points:

A compression algorithm is used. [1]

No data is removed, so the original file can be restored. [1]

Name a method, for example run length encoding (RLE). [1]

Repeated patterns in the music are found. [1]

The patterns are indexed, so each is stored once.

Any other correct lossless method also scores. Write any four.

(a)(ii)

Write any one reason:

It gives the highest quality, because the user hears the original sound. [1]

(a)(iii)

Write any one benefit to the user:

It streams quicker, so there is less lag or buffering. [1]

Other accepted answers: needs less bandwidth; uses less of the data allowance.

(a)(iv)

Write any two linked points:

The file is larger, so the streaming speed may be slower. [1]

This may cause buffering and spoil the listening. [1]

Other accepted pairs: it needs more bandwidth, which could cost more; the larger file takes longer to upload and uses more storage on the web server.

(b)

Write any four steps:

The browser sends the URL to the DNS using HTTP or HTTPS. [1]

The DNS finds the IP address and returns it to the browser. [1]

The browser sends a request to the web server at that IP address. [1]

The web server sends the web pages back to the browser. [1]

The browser interprets (renders) the HTML to show the pages.

Security certificates may be exchanged. Write any four.

(c)

The web server is flooded with many requests at once. [1]

So it is brought to a halt or crashes, and users cannot reach the website. [1]

KEY IDEALossless keeps full quality but gives bigger files; a DoS attack floods a server until it stops.
TOTAL 14 marks

Official mark scheme

Mark scheme for 2210/11/M/J/21 question 7
VIDEO
▶ Topic lesson

A lesson on this topic · by Mr Bulmer's Learning Zone. Tap the picture to open it on YouTube.

Solutions follow the official Cambridge mark schemes; marks are shown in grey. Videos are from other YouTube channels. Paper codes read component / series / year: M/J = May/June, O/N = October/November. Past-paper questions © UCLES, reproduced for classroom practice.