Data representation – IGCSE Computer Science (0478)

140 questions · page 7 of 10 · Clear filters

0 / 0Answer a question to start your score.
Quick quiz (10)Saved 0
Advertisement
91
0478/12/O/N/19 · Question 1Oct/Nov 2019Paper 124 marks
Loading question…
Question text

1
Computer memory size is measured in multiples of bytes.
Four statements about computer memory sizes are given in the table.
Tick (✓) to show if the statement is True or False.
True
False
Statement
(✓)
(✓)
25 kB is larger than 100 MB
999 MB is larger than 50 GB
3500 kB is smaller than 2 GB
2350 bytes is smaller than 2 kB
[4]

92
0478/12/O/N/19 · Question 4Oct/Nov 2019Paper 123 marks
Loading question…
Question text

4
An 8-bit binary register contains the value:
0
0
1
1
0
1
0
0
(a) Convert the binary value to denary.
…
… [1]
(b) The contents of the register shifted one place to the right would give the result:
0
0
0
1
1
0
1
0
The contents of the register shown at the start of question 4 are shifted two places to the left.
Show the contents of the register after this shift has taken place.
[1]
(c) State the effect this shift has on the denary value in part (a).
…
… [1]

93
0478/12/O/N/19 · Question 5Oct/Nov 2019Paper 1214 marks
Loading question…
Question text

5
Audrey wants to send a sound file to Nico using email.
The file is too large to attach to an email so Audrey decides to compress the file.
She uses lossy compression to reduce the size of the sound file.
(a) Describe how lossy compression reduces the size of the sound file.
…
…
…
…
…
…
…
… [4]
(b) Nico asks Audrey why she used lossy compression rather than lossless.
(i)
State one advantage Audrey could give of using lossy rather than lossless to compress
the sound file.
…
… [1]
(ii)
State one disadvantage Nico could give of using lossy rather than lossless to compress
the sound file.
…
… [1]
(c) Audrey sometimes records MIDI files.
(i)
Explain what is meant by a MIDI file.
…
…
…
…
…
…
…
… [4]
(ii)
MIDI uses serial data transmission.
Explain two advantages of using serial transmission rather than parallel transmission.
Advantage 1 …
…
…

Advertisement
94
0478/11/M/J/19 · Question 1May/June 2019Paper 1112 marks
Loading question…
Question text

1
Hexadecimal is used for MAC addresses.
Part of a MAC address is given:
97 – 5C – E1
Each pair of digits is stored as binary in an 8-bit register.
(a) Show what the binary register stores for each pair of the given digits.
97
5C
E1
[6]
(b) Explain what is meant by a MAC address.
…
…
…
…
…
…
…
… [4]
(c) Give two other examples where hexadecimal can be used.
Example 1 …
…
Example 2 …
…
[2]

95
0478/11/M/J/19 · Question 5May/June 2019Paper 115 marks
Loading question…
Question text

5
The following text is stored as a text file:
She sells sea shells on the seashore. The shells that she sells are sea shells I am sure.
Explain how lossless compression would compress this file.
…
…
…
…
…
…
…
…
…
… [5]

96
0478/11/M/J/19 · Question 7May/June 2019Paper 116 marks
Loading question…
Question text

7
Annie writes a paragraph of text as an answer to an examination question about programming
languages.
Using the list given, complete Annie’s answer by inserting the correct six missing terms. Not all
terms will be used.
•
Assembly
•
Converter
•
Denary
•
Hexadecimal
•
High-level language
•
Low-level language
•
Machine Code
•
Source Code
•
Syntax
•
Translator
The structure of language statements in a computer program is called the
… . A programming language that uses natural
language statements is called a … . When programs
are written in this type of language they need a … to
convert them into … .
A programming language that is written using mnemonic codes is called a
… . An example of this type of language is
… language.
[6]

97
0478/12/M/J/19 · Question 4May/June 2019Paper 129 marks
Loading question…
Question text

4
(a) Marley wants to store a video he has created for his school project.
He considers using a DVD or a Blu-ray to store the video.
Explain two differences between a DVD and a Blu-ray.
1 …
…
…
…
2 …
…
…
…
[2]
(b) (i)
Marley also needs to store ten 8-bit colour images in a file for his project.
Each image is 500 pixels wide and 300 pixels high.
Calculate the total file size in megabytes (MB) for all Marley’s images.
Show all your working.
…
…
…
…
…
…
…
File size … MB
[3]
(ii)
Marley prints the images for his project using an inkjet printer.
Describe how the inkjet printer prints an image.
…
…
…
…
…
…
…
… [4]

98
0478/13/M/J/19 · Question 5May/June 2019Paper 134 marks
Loading question…
Question text

5
The three binary numbers in the registers given have been transmitted from one computer to
another.
One binary number has been transmitted incorrectly. This can be identified by the use of a Parity
bit.
Identify the binary number that has been transmitted incorrectly. Explain how you identified the
incorrect binary number.
Parity bit
Register A
1
0
1
1
1
0
0
1
Register B
1
1
1
0
0
1
1
1
Register C
1
0
0
1
1
0
1
1
The binary number that has been transmitted incorrectly is in Register …
Explanation …
…
…
…
…
… [4]

Advertisement
99
0478/12/F/M/19 · Question 1Feb/March 2019Paper 122 marks
Loading question…
Question text

1
(a) Elle has a file stored on her computer that is 20 MB in size. Jordan has a file that is 10 GB in
size.
Tick (3) to show which is the larger file.
Tick
File size
(3)
20 MB
10 GB
[1]
(b) Bob has a file stored on his computer that is 3500 kB in size. Gerty has a file that is 3 MB in
size.
Tick (3) to show which is the larger file.
Tick
File size
(3)
3500 kB
3 MB
[1]

100
0478/12/F/M/19 · Question 3Feb/March 2019Paper 1214 marks
Loading question…
Question text

3
(a) A long distance running race uses an electronic counter that counts each competitor who
finishes the race.
The count is stored as binary in a 12-bit register.
A denary value of the count is displayed on a screen above the finish line.
(i)
The screen currently displays:
0
0
3
9
State the binary value that is currently stored to display the count shown.
…
… [2]
(ii)
More competitors cross the finish line and the screen now displays:
0
3
5
0
State the binary value that is currently stored to display the count shown.
…
… [2]
(iii)
At the end of the race the binary value stored is:
011011000111
Give the denary value that would be displayed on the screen at the end of the race.
Show your working.
…
…
…
…
Screen display:
[2]
(b) Sensors are used at the finish line to identify the number of competitors who finish the race.
(i)
Identify two different sensors that could be used to identify the number of competitors.
Sensor 1 …
Sensor 2 …
[2]
(ii)
The sensors are used with a microprocessor to count how many competitors finish the
race.
Explain how the sensor and the microprocessor are used.
…
…
…
…
…
…
…
…
…
…
…

101
0478/11/O/N/18 · Question 1Oct/Nov 2018Paper 1113 marks
Loading question…
Question text

1
(a) Computer files can be saved in different file formats.
Four file formats and four file types are given.
Draw a line to match each file format to the most suitable file type.
File format
File type
Text file
.jpeg
.mp3
Image file
Audio file
.mp4
.txt
Video file
[3]
(b) Jamelia wants to store an image file. The image has an 8-bit resolution and is 150 pixels by
100 pixels in size.
Calculate the file size of the image. Give your answer in kilobytes (kB). Show all of your
working.
…
…
…
…
…
…
File size … kB
[3]
(c) Large files can be compressed to reduce their file size.
Two types of compression that can be used are lossy and lossless.
Explain how a file is compressed using lossless compression.
…
…
…
…
…
… [3]
(d) The table contains four different file formats that use compression.
Tick () to show whether each file format uses lossy or lossless compression.
Lossless
Lossy
File format
()
()
.jpeg
.mp3
.mp4
.zip
[4]

102
0478/11/O/N/18 · Question 2Oct/Nov 2018Paper 117 marks
Loading question…
Question text

2
(a) Six binary or hexadecimal numbers and six denary conversions are given.
Draw a line to connect each binary or hexadecimal number to the correct denary conversion.
Denary
Binary or hexadecimal
75
01001011
4E
78
11011010
157
10011101
167
A7
25
19
218
[5]
(b) Hexadecimal is often used by computer programmers to represent binary values.
Explain why computer programmers may choose to use hexadecimal.
…
…
…
… [2]

103
0478/12/O/N/18 · Question 1Oct/Nov 2018Paper 1211 marks
Loading question…
Question text

1
Computers use a character set to convert text into binary.
One character set that can be used is ASCII.
Each letter in ASCII can also be represented as a denary value.
(a) The word BUS has the denary values:
B
U
S
66
85
83
Convert the denary values into 8-bit binary.
66
85
83
[3]
(b) Each letter in ASCII can also be represented as a hexadecimal value.
The word KEY has the 8-bit binary values:
K
E
Y
01001011
01000101
01011001
(i)
Convert the three 8-bit binary values into hexadecimal.
01001011
…
01000101
…
01011001
…
[3]
(ii)
Give three other uses of hexadecimal notation in computer science.
1 …
2 …
3 …
[3]
(iii)
State two benefits of using hexadecimal notation to represent binary values.
Benefit 1 …
…
Benefit 2 …
…
[2]

Advertisement
104
0478/13/O/N/18 · Question 4Oct/Nov 2018Paper 135 marks
Loading question…
Question text

4
The MAC address of a device is represented using hexadecimal.
A section of a MAC address is shown. Each pair of hexadecimal digits is stored using 8-bit binary.
(a) Complete the table to show the 8-bit binary equivalents for the section of MAC address. The
first number has already been converted.
6A
FF
08
93
01101010
[3]
(b) Explain why data is stored as binary in computers.
…
…
…
… [2]

105
0478/13/O/N/18 · Question 7Oct/Nov 2018Paper 1310 marks
Loading question…
Question text

7
David is writing a program using a high-level language. The program will be published and sold for
profit.
(a) David uses an interpreter when creating the computer program.
State three features of an interpreter.
Feature 1 …
…
Feature 2 …
…
Feature 3 …
…
[3]
(b) David compiles the program when he has completed it.
Explain two benefits of compiling the program.
Benefit 1 …
…
…
…
Benefit 2 …
…
…
…
[4]
(c) David needs to send a large section of the programming code as an email attachment.
He uses lossless compression to reduce the file size.
Explain how the file size is reduced.
…
…
…
…
…
… [3]

Advertisement