dcf.cymru stimulus sheet · Computer Science · Year 10

Lleisiau’r Cwm (Voices of the Valley): the digital archive brief

The project, the people and the files on this sheet are invented. The formulas, the storage units and the file types are real and are the ones in the GCSE Computer Science specification.

1. The project

Lleisiau’r Cwm is a volunteer group in the Cynon Valley. Local families have lent them old photographs, postcards, chapel records and recorded interviews with people who worked in the pits, the shops and the chapels. The volunteers want to:

Gareth, the chair, writes: “We have no idea how big these files will be. Will it all fit? Should we squash the files, and will that spoil them?”

2. Storage units

Computer Science uses base 2 units: each step up is 1,024 times bigger, not 1,000.

UnitSize
bita single 0 or 1
nibble4 bits
byte8 bits
kilobyte (KB)1,024 bytes
megabyte (MB)1,024 KB
gigabyte (GB)1,024 MB
terabyte (TB)1,024 GB
petabyte (PB)1,024 TB

To go down a unit, multiply by 1,024 (or by 8 from bytes to bits). To go up a unit, divide by 1,024 (or by 8 from bits to bytes).

3. The formulas

Image size in bits = width in pixels × height in pixels × colour depth in bits Sound size in bits = sample rate in Hz × bit depth × length in seconds

4. The items to digitise

Photographs and documents, scanned

CodeItemScan size (pixels)Colour depth
P1Colliery band, 1950s, black and white print2,048 × 1,5368 bits (256 shades of grey)
P2Colour postcard of Aberdare Park, 1970s1,600 × 1,02424 bits
P3Handwritten page of chapel minutes, A42,480 × 3,5081 bit (black or white only)
P4Small preview picture for the website320 × 24024 bits

Sound recordings, all mono

CodeItemSample rateBit depthLength
A1Interview with a retired miner48,000 Hz16 bits40 minutes
A2A choir singing one hymn44,100 Hz16 bits3 minutes
A3An old answerphone message8,000 Hz8 bits10 minutes

5. What compression did

A volunteer saved P2 and A1 in different formats. The original is the uncompressed size from the formula.

FileFormatType of compressionOriginalCompressed
P2 postcardPNGlossless4,800 KB2,400 KB
P2 postcardJPEGlossy4,800 KB480 KB
A1 interviewFLAClossless225,000 KB140,625 KB
A1 interviewMP3lossy225,000 KB37,500 KB

6. The whole collection