Data representation – IGCSE Computer Science (0478)
140 questions · page 5 of 10 · Clear filters
Question text
2
An aeroplane has a small display screen above each seat, to display the seat number.
(a) The seat number is a hexadecimal value. A 12-bit binary register is used to store the data to
display each seat number.
Three seat numbers, 05A, 18C and 29F, are allocated to passengers.
Give the 12-bit binary value that would be stored for each hexadecimal seat number.
05A …
18C …
29F …
[6]
Working space
…
…
…
…
(b) The display screen used above each seat is a Light-Emitting Diode (LED) display screen.
Give two reasons why an LED display screen has been used.
Reason 1 …
…
Reason 2 …
…
[2]
(c) Two of the registers store the values 010000001101 and 000001111110
Give the hexadecimal seat number that would be displayed on the screen for each of these
binary values.
010000001101 …
000001111110 …
[4]
Working space
…
…
…
…
Question text
6
Frida has a JPEG file stored on her computer.
(a) Tick (3) to show which type of data is stored in a JPEG file.
Tick (3)
Video
Sound
Image
[1]
(b) Compression can be used to reduce the size of a file.
Tick (3) to show whether the JPEG file is a lossy compressed file or a lossless compressed
file or not a compressed file.
Tick (3)
Lossy compressed file
Lossless compressed file
Not a compressed file
[1]
(c) Frida scans a text document into her computer so that she can store a digital version. She
uses a 2D scanner to do this.
Describe how the text document is scanned by the 2D scanner to create the digital version.
…
…
…
…
…
…
…
… [4]
(d) Frida compresses the document for storage.
The compression algorithm she uses recognises repeating patterns in the data and indexes
these patterns. No data is permanently removed.
Identify the type of compression Frida has used.
… [1]
Question text
1
A computer stores data in binary form. Binary numbers can be represented as hexadecimal and
denary numbers.
(a) Convert the 8-bit binary number 01010101 to denary.
… [1]
Working space
…
…
…
(b) Convert the binary number 11000000 to hexadecimal.
… [1]
Working space
…
…
…
(c) Convert the hexadecimal number 1A to denary.
… [1]
Working space
…
…
…
(d) Binary numbers can be stored as bytes.
State how many bits are in two bytes.
… [1]
Question text
1
Binary is a number system that is used by computers.
(a) Tick (3) one box to show whether binary is a base-2, base-10 or base-16 number system.
Tick (3)
Base-2
Base-10
Base-16
[1]
(b) Hexadecimal and denary are number systems that can be used by programmers.
Convert these four hexadecimal values into denary values.
09 …
10 …
28 …
A1 …
[4]
Working space
…
…
…
…
…
Question text
4
Georgia is a wedding photographer. She wants to store 10 photographs on a USB flash memory
drive for a customer. Each photograph is 100 pixels wide and 50 pixels high.
The photographs are 8-bit colour photographs.
(a) Calculate the total file size, in kilobytes (kB), of all the photographs. For this calculation, you
may use the unit of measurement of 1024 or 1000.
Show all your working.
…
…
…
…
…
…
…
Answer … kB
[3]
(b) Georgia compresses photographs to store them on the USB flash memory drive. It is
important that the compression does not affect the quality of the photographs in any way.
State which type of compression is the most suitable. Justify your choice.
Compression type …
Justification …
…
…
…
[3]
(c) Georgia uses a digital camera. The digital camera takes a photograph that is then converted
into a digital image.
Complete the paragraph about the operation of a digital camera, using the most appropriate
terms from the list. Not all terms in the list need to be used.
•
analogue-to-digital
•
binary
•
charge-coupled
•
digital-to-analogue
•
lens
•
light
•
mirror
•
pixel
•
reflection
•
sensor
•
storage
When Georgia pushes the button to take a photograph, an aperture opens at the front of
the camera to allow … to stream in through
the … . This is captured by a sensor called a
… device. The …
converter then converts each … into a digital value.
[5]
Question text
1
(a) Denary is a number system that is used by programmers.
Tick (✓) one box to show whether denary is a base-2, base-10 or base-16 number system.
Tick
(✓)
Base-2
Base-10
Base-16
[1]
(b) Hexadecimal values can be used to represent denary values.
Convert these four hexadecimal values into denary values.
05
…
20
…
1A
…
AB …
[4]
Working space
…
…
…
…
…
(c) Hexadecimal values can also be converted to binary values.
Tick (✓) one box to show the correct 8-bit binary value for each hexadecimal value.
(i)
Hexadecimal value 25
Tick
(✓)
00011001
00100101
10100001
[1]
(ii)
Hexadecimal value 1B
Tick
(✓)
00011011
10110001
00011010
[1]
(d) (i)
Give one way that hexadecimal is used in website development.
… [1]
(ii)
Give one way that hexadecimal is used in low-level programming.
… [1]
Question text
5
Sammi works for a finance company and has a laptop that he uses for his work. He has confidential
data about his customers stored on his laptop.
Sammi does not connect the laptop to any networks.
(a) Sammi is concerned about his customers’ confidential data being viewed by other people in
his office.
One method he uses to prevent others viewing the data is encryption.
Identify three other methods Sammi could use to prevent his customers’ confidential data
being viewed.
1 …
2 …
3 …
[3]
(b) Sammi creates videos for the finance company website that give customers advice about
their finances.
He uses lossy compression to reduce the file size of the videos for the website.
(i)
Give three ways that lossy compression can reduce the file size of the videos.
1 …
…
2 …
…
3 …
…
[3]
(ii)
Give one drawback of using lossy compression to reduce the file size of the videos.
…
… [1]
(c) Sammi could have used lossless compression to compress the videos for the website.
(i)
Give one reason why he would use lossless compression, rather than lossy compression,
for the videos.
…
… [1]
(ii)
Give two disadvantages of Sammi using lossless compression, rather than lossy
compression, for the videos.
Disadvantage 1 …
…
Disadvantage 2 …
…
[2]
Question text
1
(a) Xia has three files stored on her computer.
Tick (3) one box to show which is the largest file size.
Tick
File size
(✔)
999 kB
1 MB
850 000 bytes
[1]
(b) Denise has three files stored on her computer.
Tick (3) one box to show which is the smallest file size.
Tick
File size
(✔)
4000 MB
2 GB
2 500 000 kB
[1]
Question text
2
A sports stadium has an electronic counter that counts each person that enters the stadium.
The count is stored as binary in a 16-bit register.
A denary value of the count is displayed on a screen at the entrance.
(a) The screen currently displays:
0
0
7
1
Give the binary value that is stored in the register to display the count shown.
Binary value: …
Working space
…
…
…
[2]
(b) More people enter the sports stadium and the screen now displays:
0
2
5
7
Give the binary value that is stored in the register to display the count shown.
Binary value: …
Working space
…
…
…
[2]
(c) After everyone has entered the stadium, the register stores the binary value:
0000001000000100
Show what the screen will display when this binary value is stored.
Display:
[1]
Working space
…
…
…
…
(d) Sensors are used at the entrance to count the number of people entering the stadium.
(i)
Identify two sensors that could be used to count the number of people entering the
stadium.
Sensor 1 …
Sensor 2 …
[2]
(ii)
Tick (3) one box to show if a sensor is an example of an input device, storage device or
output device.
Tick
Device
(✔)
input
storage
output
[1]
Question text
6
The paragraph describes an MP3 file, MP4 file and a MIDI file.
Complete the paragraph using the list of terms. Not all terms in the list need to be used.
•
can
•
cannot
•
compressed
•
image
•
microphone
•
MIDI
•
MP3
•
MP4
•
notes
•
pixels
•
speaker
•
should
•
uncompressed
… files are a multimedia format that stores video and audio.
… files are only used as a digital recording of sound; they
are created using a … and recording software. The data in
the file is … .
… files contain instructions on how to create the
sound. They are created using digital instruments. The file stores individual
… , each one … be
changed in this type of file.
[7]
Question text
7
Julius creates a computer application that calculates how many years it will take to pay for a
house.
(a) Julius uploads his application to his website for people to download. Before he uploads the
application, he translates the code using a compiler.
Explain why Julius uses a compiler, rather than an interpreter, to do this.
…
…
…
…
…
…
…
… [4]
(b) Julius also creates videos to explain how to use the application that he has created. He
reduces the file size of the videos using lossless compression.
(i)
Describe how lossless compression reduces the file size of the video.
…
…
…
…
…
… [3]
(ii)
State why Julius uses lossless compression, rather than lossy compression.
…
… [1]
(c) Julius wants to distribute his application to a wider audience. He is considering distributing it
as freeware or free software.
(i)
Describe freeware and free software.
Freeware …
…
…
…
Free software …
…
…
Question text
9
A parity check is used to check for errors after transmission on the four given binary values.
All four values are transmitted and received correctly.
Identify whether each 8-bit binary value has been sent using odd or even parity by writing odd or
even in the type of parity column.
Binary value
Type of parity
10011001
01111110
11100000
00111001
[4]
Question text
1
Benedict has a computer that is assigned an Internet Protocol (IP) address. The IP address is:
198.167.214.0
The IP address is represented as denary values.
(a) Convert the denary values 167 and 214 from the IP address to 8-bit binary.
167
214
Working space
…
…
…
…
[2]
(b) Benedict’s computer is also assigned a Media Access Control (MAC) address.
(i)
Identify one similarity between an IP address and a MAC address.
…
… [1]
(ii)
Identify two differences between an IP address and a MAC address.
Difference 1 …
…
…
Difference 2 …
…
…
[2]
Question text
7
A music company has a website that allows users to stream music. The music is stored in sound
files.
(a) The sound files are compressed using lossless compression.
(i)
Describe how the sound files are compressed using lossless compression.
…
…
…
…
…
…
…
…
…
…
… [4]
(ii)
State one reason why the music company would compress the sound files using
lossless, rather than lossy, compression.
…
… [1]
(iii)
Give one benefit, to the user, of the music company compressing the sound files.
…
… [1]
(iv)
Give one drawback of the music company using lossless, rather than lossy, compression
for the sound files.
…
… [2]
(b) Describe how the web pages for the website are requested and displayed on a user’s
computer.
…
…
…
…
…
…
…
Question text
1
A denary value can be converted into hexadecimal and binary.
(a) Complete the table to show the hexadecimal and 8-bit binary values of the given denary
values.
Denary
Hexadecimal
8-bit binary
49
123
200
[6]
Working space
…
…
…
…
…
(b) Give two benefits, to users, of converting binary values to hexadecimal.
Benefit 1 …
…
Benefit 2 …
…
[2]
(c) Hexadecimal is used to represent Hypertext Markup Language (HTML) colour codes in
computer science.
Identify three other ways that hexadecimal is used in computer science.
1 …
2 …
3 …
[3]