A telemetry sensor transmits a sequence of status codes representing system states: 'S' for Stable, 'R' for Recovery, and 'P' for Peak.
A segment of the recorded sequence is:
SSSRRRRRRRRRPP
State a run-length encoding (RLE) representation of this sequence.
37 exam-style questions on AQA GCSE Computer Science Data compression. Each one has a worked solution and a mark scheme showing where the marks go.