An oceanographic drone maps a section of the seabed as a grid of 14×14 14 \times 14\,14×14 data points.
Each data point is classified into one of several marine substrate types, mapped to a 5-bit depth:
| Substrate | Binary Code |
|---|---|
| Silt | 00001 |
| Fine Sand | 00010 |
| Coarse Gravel | 00100 |
| Volcanic Rock | 01000 |
| Coral Reef | 10000 |
A Run-Length Encoding (RLE) algorithm is used to compress these data grids before satellite transmission. The RLE algorithm uses 8 bits to represent the run-length of a substrate category and 5 bits to represent the substrate binary code.
Construct an expression to show the maximum saving in bits that could be achieved by compressing a single 14×14 14 \times 14\,14×14 grid using this RLE algorithm.
47 exam-style questions on Edexcel GCSE Computer Science Data storage and compression, covering Binary multiples and file size calculations and Need for and methods of compression. Each one has a worked solution and a mark scheme showing where the marks go.