Past paper – Edexcel IGCSE Computer Science (4CP0)
Edexcel International GCSE · 4CP0
Computer Science · Paper 1
May/June 2022 · 4CP0 Paper 1 · Jun 2022
Answer on paper, open each mark scheme and give yourself marks, then open the Summary.
Question text
1 Computer systems have both hardware and software components.
(a) The central processing unit (CPU) uses the fetch-decode-execute cycle.
(i) State what is meant by the term program instruction.
(1)
(ii) State what is meant by the term memory address.
(1)
(b) Identify the component of the CPU that provides temporary data storage.
(1)
A Address bus
B Data bus
C Control unit
D Register
(c) The performance of the CPU is affected by the clock speed.
(i) Give one benefit of having a higher clock speed.
(1)
(ii) Give one drawback of having a higher clock speed.
(1)
(d) Identify which one of these describes a sequential computational model.
(1)
A Program instructions are read one after another from external storage
B Program instructions are executed by multiple agents working together
C Program instructions are executed in parallel by different cores
D Program instructions are executed one after another
(e) A program can be written in a high-level or a low-level language.
(i) Give one reason for writing a program in a low-level language.
(1)
(ii) State the purpose of an assembler.
(1)
(iii) Complete the table by adding one tick ( ü ) in each row to match
the description.
(3)
Description
Compiler
Interpreter
Translates the program each time it is executed
Produces permanent object code
Translates line by line
Translates the whole program before it is run
Generates a list of errors once the complete program has
been translated
(Total for Question 1 = 11 marks)
Question text
2 Computers use binary to represent and store data.
(a) The denary number 78 is the ASCII code for the character N.
(i) Convert the denary number 78 to 8-bit binary.
(2)
(ii) Identify the number of characters that can be represented using
standard ASCII.
(1)
A 64
B 128
C 256
D 512
(iii) Explain one reason for using Unicode rather than ASCII to encode languages
other than English.
(2)
(b) Convert the denary number –43 to 8-bit binary using sign and
magnitude representation.
(2)
(c) Complete the table by adding these two 8-bit binary integers.
(2)
0
0
1
1
0
1
0
0
0
0
0
1
0
1
1
0
(d) A bitmap image is made up of pixels.
(i) An image has five colours.
Complete the table by adding a unique binary pattern for each colour.
Each pattern must use the same minimum colour depth.
(2)
Colour
Binary pattern
Green
Black
White
Red
Blue
(ii) Another image is 3579 pixels high and 6128 pixels wide.
The image is stored with a 32-bit colour depth.
The metadata for the image is 732 bytes.
Construct an expression to show how the file size, in megabytes, is calculated.
You do not need to do the calculation.
(4)
(Total for Question 2 = 15 marks)
Question text
3 Alyssa is a music producer.
(a) Figure 1 shows the denary values of five samples of an analogue sound using a
sample interval of 0.2 seconds.
Sample
Denary
number
value
1
1
2
10
3
12
4
5
5
3
Figure 1
12
11
10
9
8
7
6
Y axis
5
4
3
2
1
0
0.2
0.4
0.6
0.8
1.0
X axis
(i) Complete this graph using the sample information from Figure 1 to show the
digital sound wave.
(3)
(ii) Give a suitable label for the X axis.
(1)
(iii) Give a suitable label for the Y axis.
(1)
(b) Alyssa uploads music files to her cloud storage.
(i) She compresses the files before she uploads them using a lossless algorithm.
Give one disadvantage of using a lossless rather than a lossy algorithm for
this purpose.
(1)
(ii) Explain one benefit to Alyssa of storing her music files in the cloud.
(2)
(iii) Give one possible security issue associated with storing music files in
the cloud.
(1)
(iv) One of Alyssa’s music files is stored at https://www.cloudisfab.com/re12/ru2.mp3
Complete the table by adding a description of each URL component.
(4)
URL component
Description
https
www.cloudisfab.com
re12
ru2.mp3
(Total for Question 3 = 13 marks)
Question text
4 Reba likes writing programs.
(a) She is writing a guessing game.
She needs a flowchart to show the logic of the game.
(i) These are the components needed to draw the flowchart.
Display "No match.
Get guess
Guess again"
Display "Hooray
number = 10
they match"
guess = number?
Stop
Start
Draw the flowchart for the algorithm in the box on the next page.
Use each component once.
Do not add any additional components.
Use as many arrows and yes/no labels as you need.
(5)
Draw your flowchart here.
(ii) Identify an alternative method for writing the algorithm.
(1)
A Simulation
B Cipher
C Program code
D Truth table
(b) Reba wants to develop a program that will convert a temperature in Fahrenheit
to Celsius.
Here are four steps in the algorithm.
The steps are not in the correct order.
Step
A
Change the temperature to Celsius
B
Get the temperature in Fahrenheit
C
Show the temperature in Celsius
D
Set the temperature to 0
(i) Give the letter of the step that initialises a variable.
(1)
(ii) Give the letter of the step that inputs a value.
(1)
(c) Figure 2 shows the pseudocode for an early version of an algorithm that Reba
has written for another game.
The algorithm:
•
asks the user to input a colour or input –1 to end the game
•
awards 1 point for red
•
awards 8 points for orange
•
generates the score for the game
•
displays the results of the game.
1 SET Colour TO ""
2 SET Score TO 0
3 SET RedPoints TO 0
4 SET OrangePoints TO 0
5 SET NumOranges TO 0
6
7 WHILE Colour <> "-1" DO
8 RECEIVE Colour FROM (STRING) KEYBOARD
9 IF Colour = "red" THEN
10 SET RedPoints TO RedPoints + 1
11 ELSE
12 IF Colour = "orange" THEN
13 SET OrangePoints TO OrangePoints + 8
14 SET NumOranges TO NumOranges + 1
15 END IF
16 END IF
17 END WHILE
18
19 SET Score TO RedPoints + OrangePoints
20
21 SEND ("Score: "& Score) TO DISPLAY
22 SEND ("Number of reds: "& RedPoints) TO DISPLAY
23 SEND ("Number of oranges: "& OrangePoints) TO DISPLAY
Figure 2
Reba inputs: red, orange, red, red, orange, –1
The outputs are not as she expects.
(i) Complete the trace table to show the outputs.
(4)
Colour
Score
RedPoints
OrangePoints
NumOranges
Outputs
0
0
0
0
red
orange
red
red
orange
–1
(ii) Give the line number of the pseudocode that contains the error.
(1)
(iii) Write a replacement line of pseudocode to correct the error.
(1)
(Total for Question 4 = 14 marks)
Question text
5 Viza Health Centre is located in the North East of England.
(a) The health centre uses artificial intelligence to provide a symptom-checking
service for its patients.
Patients log on to the website and input their symptoms.
(i) Describe how artificial intelligence could identify what is wrong with them.
(2)
(ii) Give one reason why a patient may not want to use this online service.
(1)
(b) The health centre has clinics in two buildings: Cleveland and Stockton.
The network server is in the Cleveland building.
(i) Name the type of network used to access the server from within the
Cleveland building.
(1)
(ii) Name the type of network used to access the server from the
Stockton building.
(1)
(c) The network is at risk of an eavesdropping attack.
Identify the description of eavesdropping.
(1)
A Tricking people into giving information by sending emails pretending to
be from someone in authority
B Spying on someone using a computer
C Intercepting information as it is transmitted over a network
D Redirecting a user from a genuine website to a fake one
(d) Doctors use laptops when they visit patients in their homes.
(i) The laptops have solid state drives.
Explain one reason why a solid state drive is better than a magnetic hard drive
for the laptops.
(2)
(ii) Describe how data is stored on a solid state drive.
(2)
(iii) The laptops have two types of memory.
Complete the table by adding one tick ( ü ) to match each description to the
type of memory used.
(2)
Description
RAM
ROM
Stores the boot up sequence
The contents are lost when the laptop is shut down
(Total for Question 5 = 12 marks)
Question text
6 Santiago manages a computer network for a small business.
(a) Networks are based on a topology.
Figure 3 shows a network topology.
Desktop PC
Desktop PC
Desktop PC
Desktop PC
Desktop PC
Printer
Figure 3
(i) Explain one benefit of this network topology.
(2)
(ii) The internet is the world’s largest mesh network.
Explain one reason why a mesh topology is essential for the internet.
(2)
(b) Santiago works on his laptop whilst travelling by train.
There is a free Wi-Fi connection on the train, but Santiago doesn’t use it.
He prefers to set up a network between his smartphone and his laptop to connect
to the internet.
(i) Name this type of network.
(1)
(ii) Explain one advantage for Santiago of using the network he has set up to
connect to the internet, rather than the free Wi-Fi connection.
(2)
(c) Santiago uses audit trails to help protect the network.
(i) State what is meant by an audit trail.
(1)
(ii) Give one way the data from audit trails can be used to help keep the
network secure.
(1)
(d) Santiago wants to find and fix network vulnerabilities before the reputation of the
company suffers.
Discuss the methods he can use.
You should consider:
•
ethical hacking
•
commercial analysis tools
•
review of network and user policies.
(6)
(Total for Question 6 = 15 marks)