Datarepresentation 3
Datarepresentation 3
Science O.L.
(New Syllabus)
01
Data
Representation
pt.3
Recap
8
Bit
Byt
\ x 8
102 e 102
4 \ x 4
102 Kibibyte 102
4 \ x 4
102 Mibibyte 102
4 \ x 4
102 Gibibyte 102
4 \ x 4
102 102
4
Tibibyte
\ x 4
Pibibyte
Recap
A computer is a device that receives input, does
processing on that input and then produces the
output.
Data
Text Images Numbe Videos Sound
rs
Data Representation
Data
Text Images Numbe Videos Sound
rs
Unicod
e A character set which can represent all the
languages of the world.
Each character is represented using up to 32 bits (4
bytes)
ASCII vs
Unicode
Main advantage of using Unicode character set compared to ASCII character set :
Unicode allows for a greater range of characters and
symbols than ASCII (including different languages and
emojis)
An image is 50 x 100 pixels and uses a colour depth of 16 bits. Find the size of an image taken
by this camera in KiB.
Sound
An audio file is converted to binary using sampling process to be processed by the
computer
An audio file has a length of 80 seconds and sampling rate of 32 samples/sec. Each sample is
represented in 32 bits. Calculate the size of the file in Kibibyte
Quick question
An image is to be stored electronically. The image is 256 pixels high by 200 pixels
wide with a 16-bit color depth. Calculate the file size of the image in KiB. You must
show all of your working.
Quick question
A soundtrack has duration of 2 minutes and it’s sampled 1024 times per second. Each
sample is 16 bits. Calculate the size of the soundtrack in KiB. Show all your
working.