Calculating File Sizes (Cambridge (CIE) O Level Computer Science): Revision Note
Exam code: 2210
Calculating File Sizes
How do you calculate the size of a bitmap image?
- Calculating the size of a bitmap image can be carried out with either of the following formulas: - Resolution x colour depth 
- Image width x image height x colour depth 
 
Example
| Image Files | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| (Resolution) x (Colour Depth) | |||||||||||||||
| 
 | 
OR
| Image Files | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| (Image width) x (Image height) x (Colour Depth) | ||||||||||||||||||
| 
 | 
How do you calculate the size of a sound file?
- Calculating the size of a sound file is carried out with the following formula: - Sample rate x duration x sample resolution 
 
Example
| Sound Files | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| (Sample Rate) x (Duration in seconds) x (Sample Resolution) | |||||||||||||||
| 
 | 
Unlock more, it's free!
Did this page help you?

