Images, Sound and Data Representation
Aligned to the AQA 7517 specification
- Level
- Intermediate
- Reading time
- 7 min
- Published
- 13 June 2026
- Updated
- 1 July 2026
On this page
Key takeaways
- Every type of data is ultimately stored as a pattern of binary bits, and the same bit pattern can mean different things depending on context, such as 0100 0001 being ASCII 'A', the number 65, or a pixel value.
- An uncompressed bitmap's file size in bits is width × height × colour depth, while a sound file's size in bits is sampling rate × bit depth × duration × channels.
- For digital sound, sampling rate sets how often the amplitude is measured (frequency accuracy) and bit depth sets how many amplitude levels are stored (precision per sample); they are independent.
- The Nyquist theorem states the sampling rate must be at least twice the highest frequency to be captured, which is why CD audio uses 44 100 Hz to capture frequencies up to 22 050 Hz.
- MIDI stores instructions (event messages such as note, pitch, duration and velocity) for making music, not a recorded audio waveform, so its files are very small and the actual sound is generated at playback by a synthesiser.
Want more lessons like this one?
Generate lessons on anything you study. Free account, no card needed.
Key terms
- Analogue
- A signal with a continuous range of values and a smooth waveform, such as a vinyl record or thermometer.
- Digital
- A signal represented by a discrete set of values with steps between defined levels, such as an MP3 file or PNG image.
- Analogue-to-digital converter (ADC)
- A device that samples an analogue signal at regular intervals and converts each sample to a digital value.
- Digital-to-analogue converter (DAC)
- A device that converts stored digital values back into an analogue signal, for example for audio output through speakers.
- Bitmap (raster image)
- An image stored as a 2D grid of pixels, each holding a colour value.
- Resolution
- The number of pixels in an image, given as width times height.
- Colour depth
- The number of bits used per pixel, which sets how many colours can be represented.
- Vector image
- An image stored as a list of geometric objects described by their properties rather than as individual pixels.
- Sampling rate
- The number of audio samples taken per second (Hz), affecting how accurately frequencies are reproduced.
- Bit depth (sample resolution)
- The number of bits used per audio sample, setting how many amplitude levels can be stored.
- Nyquist theorem
- The rule that the sampling rate must be at least twice the highest frequency to be captured.
- MIDI
- Musical Instrument Digital Interface, a format that stores instructions for making music rather than recorded audio.
Frequently asked questions
Sampling rate is how often the ADC measures the sound wave's amplitude (samples per second), affecting how accurately frequencies are captured. Bit depth is how many bits store each sample, affecting how many amplitude levels can be represented. They are independent parameters.
For an uncompressed bitmap, file size in bits is width × height × colour depth. For example a 1920 × 1080 image with 24-bit colour is 1920 × 1080 × 24 = 49 766 400 bits, about 5.9 MiB. Sound uses a different formula.
No. MIDI stores instructions such as note, pitch, duration and velocity, not a sampled waveform. The actual sound is produced at playback time by a synthesiser, so two playback devices can produce very different sounds from the same MIDI file.
Generate revision on any topic you study
Type any topic you're studying and Aicademy generates a complete lesson, quiz, and flashcard set, personalised to your level.
Lessons on anything
Structured, level-matched lessons on any topic you study
Practice quizzes
Find out what you actually know before the exam does
Flashcard sets
Lock in key concepts with instant revision cards
Ask Aica
Stuck on something? Get a clear explanation, any time
Character Encoding and Error Detection
Data Compression and Encryption
Related lessons
6 min
6 min