Data representation – IGCSE Computer Science (0478)

140 questions · page 4 of 10 · Clear filters

0 / 0Answer a question to start your score.
Quick quiz (10)Saved 0
Advertisement
46
0478/11/M/J/23 · Question 2May/June 2023Paper 1110 marks
Loading question…
Question text

2
A student has a sound file that is too large to be stored on their external secondary storage device.
The student compresses the sound file to make the file size smaller.
The compression method used reduces the sample rate and the sample resolution of the sound
file.
(a) State what is meant by the sample rate and sample resolution.
Sample rate …
…
Sample resolution …
…
[2]
(b) Identify which type of compression has been used to compress the sound file.
…
… [1]
(c) The student sends the sound file to a friend. The file is transmitted across a network that uses
packet switching.
(i)
Identify two pieces of data that would be included in the header of each packet.
1 …
2 …
[2]
(ii)
Explain how the file is transmitted using packet switching.
…
…
…
…
…
…
…
…
…
… [5]

47
0478/12/M/J/23 · Question 2May/June 2023Paper 1210 marks
Loading question…
Question text

2
Binary numbers can be converted to hexadecimal.
(a) Convert the two binary numbers to hexadecimal.
10010011 …
00001101 …
[4]
Working space
…
…
…
…
(b) A value is stored as a binary number in a register.
0
1
1
1
1
0
1
0
A logical right shift of three places is performed on the binary number.
(i)
Complete the binary register to show its contents after this logical right shift.
[1]
(ii)
State one effect this logical shift has on the binary number.
…
… [1]
(c) Give two reasons why a programmer may use hexadecimal to represent binary numbers.
1 …
…
2 …
…
[2]
(d) Denary numbers can also be converted to hexadecimal.
Convert the denary number to hexadecimal.
301 … [2]
Working space
…
…
…
…

48
0478/12/M/J/23 · Question 3May/June 2023Paper 1210 marks
Loading question…
Question text

3
When keys are pressed on a keyboard, the text is converted to binary to be processed by the
computer.
(a) Describe how the text is converted to binary to be processed by the computer.
…
…
…
…
…
… [3]
(b) Text that is input into a computer can be stored in a text file.
A text file can be compressed using lossless compression.
(i)
State what effect this has on the file size.
…
… [1]
(ii)
Describe how lossless compression compresses the text file.
…
…
…
…
…
…
…
… [4]
(iii)
Give two reasons why the text file may have been compressed.
1 …
…
2 …
…
[2]

Advertisement
49
0478/13/M/J/23 · Question 1May/June 2023Paper 1311 marks
Loading question…
Question text

1
Computers store data as binary. The binary number 10101110 is stored.
(a) Convert the binary number to denary.
… [1]
Working space
…
…
…
(b) Convert the binary number to hexadecimal.
… [2]
Working space
…
…
…
(c) A logical left shift of three places is performed on the binary number.
(i)
Give the 8-bit binary number that would be stored after this logical left shift.
… [1]
(ii)
Tick (3) one box to show which statement is true about the impact the logical left binary
shift would have on the binary number.
A
The least significant bits are lost.
B
The most significant bits are lost.
C
The number has been divided by six.
D
The number stays the same.
[1]
(d) Add the two 8-bit binary numbers 11101110 and 00110001 using binary addition.
Give your answer in binary. Show all your working.
…
…
…
…
…
… [4]
(e) The denary number 301 needs to be stored.
Calculate the least number of bits that can be used to store the denary number 301.
… [1]
Working space
…
…
…
(f)
The hexadecimal number A4D needs to be stored.
Calculate the least number of bits that can be used to store the hexadecimal number A4D.
… [1

50
0478/12/F/M/23 · Question 3Feb/March 2023Paper 129 marks
Loading question…
Question text

3
A new computer comes with primary and secondary storage.
(a) Data storage is measured using binary denominations.
Complete each conversion.
8 bytes = … nibbles
512 kibibytes (KiB) = … mebibytes (MiB)
4 gibibytes (GiB) = … mebibytes (MiB)
1 exbibyte (EiB) = … pebibytes (PiB)
[4]
Working space
…
…
…
…
(b) Random access memory (RAM) is an example of primary storage.
Give three examples of data that is commonly stored in RAM.
1 …
2 …
3 …
[3]
(c) Describe the purpose of secondary storage.
…
…
…
… [2]

51
0478/12/F/M/23 · Question 4Feb/March 2023Paper 129 marks
Loading question…
Question text

4
A wildlife photographer stores their digital images on a computer.
(a) Complete the table by defining each term about images.
Image term
Definition
…
pixel
…
…
…
resolution
…
…
[2]
(b) One of the images has a resolution of 1000 × 1000 and a colour depth of 2 bytes.
Calculate the file size of the image. Give your answer in bytes.
Show your working.
Working space …
…
…
…
File size … bytes
[2]
(c) The photographer decides to purchase a solid‑state storage device to back up their images.
Complete the description of solid‑state storage.
Use the terms from the list.
Some of the terms in the list will not be used. You should only use a term once.
binary
denary
electrons
grid
neutrons
non‑volatile
RAM
star
transistors
virtual
volatile
Solid‑state storage is … . This means that the data is not
lost when the power is turned off.
Solid‑state storage is made of … that are laid out in a
… .
Gates are used to control the flow of the … through the
transistors. This changes the data in the transistors from 1 to 0, or from 0 to 1.
[4]
(d) The photographer compresses an image file before it is emailed.
Give one reason why a file is compressed.
…
… [1]

52
0478/12/F/M/23 · Question 6Feb/March 2023Paper 1220 marks
Loading question…
Question text

6
A company is involved in robotics.
One of its robots is designed to make a specific movement depending on a binary value.
(a) The table gives some of the movements for the robot.
Complete the table by writing the missing binary, denary or hexadecimal value for each
movement.
Movement
Binary
Denary
Hexadecimal
forward 1 step
00011111
31
back 1 step
140
8C
turn right
01011010
5A
turn left
120
78
[4]
Working space
…
…
…
…
…
…
(b) Describe what is meant by robotics.
…
…
…
… [2]
(c) The robot has a sensor and a microprocessor.
The robot will move forward continuously until it detects an object that is less than or equal to
10 cm in front of it.
If an object is less than or equal to 10 cm in front of it, the robot turns 90 degrees right. It then
tries to move forward again.
Explain how the sensor and the microprocessor are used to automate this robot.
…
…
…
…
…
…
…
…
…
…
…
…

53
0478/11/O/N/22 · Question 3Oct/Nov 2022Paper 1110 marks
Loading question…
Question text

3
Error codes for a computer are often displayed as hexadecimal values. Each error code is stored
in a 12-bit binary register.
(a) The error code 404 means ‘file not found’.
Give the 12-bit binary value that would be stored for the hexadecimal error code 404
…
Working space
…
…
…
[2]
(b) The error code 12B means ‘hardware fault’.
Give the 12-bit binary value that would be stored for the hexadecimal error code 12B
…
Working space
…
…
…
[2]
(c) Hexadecimal values can also be represented as denary values.
The hexadecimal error code 022 means ‘file system error’. The hexadecimal error code 0AC
means ‘insufficient memory’.
Convert the hexadecimal error codes 022 and 0AC to denary values.
022
…
0AC
…
Working space
…
…
…
…
…
[2]
(d) The register stores the binary value 100111100000
Give the hexadecimal error code that would be displayed for the binary value 100111100000
…
Working space
…
…
…
[2]
(e) Give two reasons why error codes are represented in hexadecimal, instead of binary.
Reason 1 …
…
Reason 2 …
.

Advertisement
54
0478/13/O/N/22 · Question 2Oct/Nov 2022Paper 136 marks
Loading question…
Question text

2
(a) Denary values are converted to binary values to be processed by a computer.
Draw one line from each denary value to the correctly converted 8‑bit binary value.
Denary
8-bit binary
11110101
72
01110010
11100101
245
00010101
00001111
15
01001000
Working space
…
…
…
…
[3]
(b) Binary values can be converted to hexadecimal values.
Give the hexadecimal value for the 16‑bit binary value 0000100110101110
…
Working space
…
…
…
[3]

55
0478/13/O/N/22 · Question 6Oct/Nov 2022Paper 1311 marks
Loading question…
Question text

6
A museum has Quick Response (QR) codes that allow visitors to view videos for extra information
about items in the museum.
The visitor is given a portable device with a display screen, that they can use to read each QR
code.
(a) Describe how the QR code is read and processed to display the video for the visitor.
…
…
…
…
…
…
…
… [4]
(b) Tick (✓) to show whether the videos are MP3 files, MP4 files or MIDI files.
Tick (✓)
MP3 files
MP4 files
MIDI files
[1]
(c) The video files are compressed using lossy compression.
Give two benefits of using lossy compression to compress the video files.
Benefit 1 …
…
Benefit 2 …
…
[2]
(d) The portable device has a Light‑Emitting Diode (LED) display screen to allow the visitor to
watch a video.
Describe how the LED screen operates to display the video.
…
…
…
…
…
…
…
… [4]

56
0478/11/M/J/22 · Question 1May/June 2022Paper 112 marks
Loading question…
Question text

1
Jack has an MP3 file stored on his computer.
(a) (i)
Tick (3) to show which type of data is stored in an MP3 file.
Tick (3)
Video
Sound
Image
[1]
(ii)
Tick (3) to show whether the MP3 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]

57
0478/11/M/J/22 · Question 4May/June 2022Paper 119 marks
Loading question…
Question text

4
All data needs to be converted to binary data so that it can be processed by a computer.
(a) Explain why a computer can only process binary data.
…
…
…
… [2]
(b) The denary values 64, 101 and 242 are converted to 8‑bit binary values.
Give the 8‑bit binary value for each denary value.
64 …
101 …
242 …
[3]
Working space
…
…
…
…
…
(c) The hexadecimal values 42 and CE are converted to binary.
Give the binary value for each hexadecimal value.
42 …
CE …
[4]
Working space
…
…
…
…

58
0478/11/M/J/22 · Question 5May/June 2022Paper 113 marks
Loading question…
Question text

5
An image is stored on a computer. The image is 16‑bit colour and is 100 pixels high and
150 pixels wide.
Calculate the file size of the image in bytes. Show all your working.
…
…
…
…
…
Answer … bytes
[3]

Advertisement
59
0478/12/M/J/22 · Question 1May/June 2022Paper 125 marks
Loading question…
Question text

1
(a) Denary values are converted to binary values to be processed by a computer.
Draw one line from each denary value to the correctly converted 8‑bit binary value.
Denary
8-bit binary
00100001
41
10100110
00101001
174
10000110
10101110
86
01010110
[3]
Working space
…
…
…
…
…
(b) Binary values can also be converted to denary values.
Give the correct denary value for the 12‑bit binary value 000101010111
Show all your working.
…
…
…
…
Denary value …
[2]

60
0478/12/M/J/22 · Question 2May/June 2022Paper 1214 marks
Loading question…
Question text

2
Hexadecimal is used for Hypertext Markup Language (HTML) colour codes.
An HTML colour code is:
#2F15D6
Each pair of digits is stored as binary in an 8‑bit register.
(a) Give the 8‑bit binary value that would be stored for each pair of hexadecimal digits.
2F
15
D6
[6]
Working space
…
…
…
…
…
(b) HTML colour codes and Media Access Control (MAC) addresses are two examples of where
hexadecimal is used in Computer Science.
Give two other examples of where hexadecimal can be used in Computer Science.
Example 1 …
Example 2 …
[2]
(c) Websites can be created using HTML structure and presentation.
State what is meant by HTML structure and presentation.
Give an example of each in your answer.
Structure …
…
…
…
Presentation …
…
…
…
[4]
(d) Explain why presentation is often separated from structure when creating a web page.
…
…
…
… [2]

Advertisement