Bitmap and calculation questions
Activity 1.1.1
Open a bitmap image (such as a photograph) in a graphics software package. Resize the image so that
the dimensions are doubled then save it again. Compare the file sizes of the two versions.
Version 1:
Version 2:
Compare the clarity of the two images. Which is clearer?
Why do you think this is the case?
How big can you make the image before it gets blurry?
What happens if you make the original image smaller?
Reload the original image and change its colour depth. Summarise what happens as the colour depth
decreases.
Activity 1.1.2
1. Complete this table.
Colour Depth Number of colours Range
1 bit 2 0–1
2 bits
3 bits
4 bits
8 bits
16 bits
24 bits
32 bits
2. Fill in the grid to reveal what character this code produces.
0 = black and 1 = white
Binary code
0000
0111
0111
0001
0111
0111
0000
3. Produce the binary code to produce the letter G in the grid below.
0 = black and 1 = white
Produce the binary code to produce the letter G in the grid below.
Binary code
Activity 1.1.3 (homework)
Using a colour depth of 2 bits, produce the binary code for a smiley face.
Search for bitmap image example online to get you started.
Binary code:
Colour:
Activity 2.1.2
a) Calculate the file size of an image with dimensions of 3 inches x 4 inches, a
pixel density of 300 pixels per inch and a colour depth of 8 bits.
Give your answer in bytes.
Hint: The formula for calculating the file size of a bitmap image is (height x pixel density) x (depth x pixel
density) x colour depth and there are 8 bits in a byte.
b) Calculate the file size of an image with dimensions of 5 inches x 7 inches, a
pixel density of 400 pixels per inch and a colour depth of 3 bits.
Give your answer in bytes.
Activity 2.1.3
1. Use a calculator to calculate the number of bytes.
Units of measurement Number of bytes
1 kibibyte (KiB) = 1024 bytes
1 mebibyte (MiB) = 1024 KiB
1 gibibyte (GiB) = 1024 MiB
1 tebibyte (TiB) = 1024 GiB
2. Answer these questions (giving all answers to 2 decimal places)
Question Answer
What are 92,400 MiB in GiB?
Ann has a 750 MiB file and Nicky has a 550 MiB file. Will both
files fit on Ann’s 2 GiB pen drive?
Jo has 250 500 KiB images. How much space does she need
on her hard drive to store them? Give your answer in
mebibytes.
Nicky has 30 hours of MP3 recordings stored in the cloud.
How many gibibytes of storage would she need to download
them onto her phone?
Hint: MP3 audio generates approximately 1 MiB of data per
minute.
Ann’s video camera produces video data at the rate of 2.5
GiB per hour. How big will a 20 minute recording be? Give
your answer in mebibytes.
How much storage space is required for 50 images, each
with dimensions of 3 inches x 4 inches, a bit-map density of
300 pixels per inch and a colour depth of 8 bits?
Give your answer in mebibytes to 1 decimal place.
Activity 4.1.1
Draw an analogue sound wave and label:
amplitude
time
analogue signal
sampling period.
Describe the process of converting analogue sound waves into digital data.
Activity 4.1.2 (Homework)
Representation of sound and other analogue data
Answer these questions:
Question Answer
What is the difference between
analogue and digital data?
What is meant by the term ‘sampling
rate’?
What did Nyquist have to say about
sampling rate?
What is the sampling rate for CD
audio?
Give your answer in kHz.
In the context of digital sound, what
is meant by the term ‘bit depth’?
How many bits per sample are used
for CD audio?
What about DVD audio?
Is a high frequency sound high- or
low-pitched?
What is the highest frequency the
human ear can detect?
Why do most sound recordings have
two channels?
Calculate the file size of a CD quality,
stereo sound track that is 2.5 minutes
long.
Give your answer in mebibytes to 1
decimal place.
Calculate the bit depth of a 10.3 MiB,
3-minute, stereo sound track, with a
sampling rate of 30kHz.
Question Answer
An analogue-to-digital converter
samples the temperature of a furnace
every two hours. Each sample is
stored as a 32-bit number. How many
bytes of data are stored in a week?