Hardware and logic – Edexcel IGCSE Computer Science (4CP0)

10 questions

0 / 0Answer a question to start your score.
New quizSaved 0

Quick quiz: 10 random questions from this topic. Answer them all, then open the Summary.

Advertisement
1
4CP0 Paper 1 · Jun 2022 · Question 5May/June 2022Paper 112 marks
Loading question…
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)

2
4CP0 Paper 1 · Jun 2022 · Question 1May/June 2022Paper 111 marks
Loading question…
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)

3
4CP0 Paper 1 · Jun 2023 · Question 5May/June 2023Paper 118 marks
Loading question…
Question text

5 Hardware devices execute programs to carry out a variety of tasks.
(a) A program controls a bee character in an animation.
The bee can turn to face North, East, South or West.
The bee can move any number of steps in the direction it is facing.
Complete the table to show one input and one output required to move the bee.
(2)
Requirement
Example
Input
Process
Calculate the path the bee will move along to its new position
Output
(b) Computers are made up of hardware components.
(i) Complete the diagram by adding directional arrows between the components
to show the flow of communication.
(3)
Speaker
CPU
Mouse
USB device
(ii) Identify what is stored in ROM.
(1)
A The software firewall
B The basic input output system
C The operating system
D The user interface code
(iii) Cache is used as temporary storage.
One type of cache is located between main memory and the CPU.
Explain one reason cache is used in a computer.
(2)
(c) A washing machine uses several different embedded systems.
One embedded system uses a switch to identify the type of wash cycle selected
by the user.
Describe one other example of an embedded system found in a
washing machine.
(2)
(d) Programs use logic statements to control physical hardware.
(i) A window shuts when the temperature is too cool or it is a rainy night.
The values are defined as:
•
A shows it is night time
•
B shows it is too cool
•
C shows it is raining.
Complete the truth table to show the results of each operation.
Two rows have been done for you.
(3)
A
B
C
A AND C
(A AND C) OR B
0
0
0
0
0
0
0
1
0
1
0
0
1
1
1
0
0
1
0
1
1
1
0
1
1
1
1
1
(ii) A warehouse has an automated alarm system.
When the alarm system is activated it will sound if:
•
a movement sensor (M) is activated
•
a pressure pad (P) is activated
•
a key code (C) to deactivate the alarm system has not been entered.
Construct a logic statement, using AND, OR and NOT with the letters M, P and
C, to show the conditions that will sound the alarm.
(3)
(e) A computer with a single CPU runs several processes at the same time.
This computer is multitasking.
Describe how the operating system enables processes to share a single CPU.
(2)
(Total for Question 5 = 18 marks)

Advertisement
4
4CP0 Paper 1 · Oct/Nov 2021 · Question 5Oct/Nov 2021Paper 113 marks
Loading question…
Question text

5 Computers can be general-purpose or specific-purpose machines.
(a) The central processing unit (CPU) is responsible for executing a program.
Figure 4 shows some of the hardware components of a computer system.
Complete the table by matching the component to the letters shown in Figure 4.
(5)
CPU
A
B
C
D
E
G
F
H
Figure 4
Component
Letter
Control unit
Output device
Registers
C
Main memory
Cache
F
Input device
Arithmetic/logic unit (ALU)
Clock
A
(b) The CPU runs a fetch-decode-execute cycle.
(i) Some registers within the CPU are general-purpose whilst others perform a
specific function.
One register is the program counter. Its function is to keep track of the next
instruction to be fetched.
Describe how it does this.
(2)
(ii) The control bus carries signals from the processor to other components.
Identify the signal that would be used during the fetch stage of the cycle.
(1)
A Memory delete signal
B Memory read signal
C Memory store signal
D Memory write signal
(iii) Clock speed is the number of pulses the CPU’s clock generates per second.
State how increasing the speed of the clock impacts on the
fetch-decode-execute cycle.
(1)
(c) An embedded system forms part of a larger system, device or machine.
(i) Give two features of an embedded system.
(2)
1
2
(ii) There are many factors to consider when choosing a CPU for an
embedded system.
For example, the clock speed of the CPU in a TV remote control can be low
because it only has to be fast enough to create a low frequency output signal
for the TV.
Explain one other factor that should be considered when choosing a CPU for
an embedded system within a TV remote control.
(2)
(Total for Question 5 = 13 marks)

5
4CP0 Paper 1 · Jun 2021 · Question 4May/June 2021Paper 114 marks
Loading question…
Question text

4 Scientists often use models and simulations.
(a) Give one reason, other than cost, why scientists use simulations.
(1)
(b) Explain one reason why a simulation may require a powerful processor.
(2)
(c) A scientist uses Boolean logic in programs.
Complete the table to show the results of each operation.
(3)
R
S
W
NOT S
R AND W
(NOT S) OR (R AND W)
0
0
0
0
0
1
0
1
0
0
1
1
1
0
0
1
0
1
1
1
0
1
1
1
(d) Von Neumann developed the stored program concept.
(i) Describe the stored program concept.
(2)
(ii) The fetch-decode-execute cycle is the cycle the central processing unit (CPU)
follows in order to process instructions.
Name two registers used in the cycle.
(2)
1
2
(iii) Describe the role of the address bus and the data bus during the fetch part of
the cycle.
(2)
(iv) Complete the table to show the effect on a computer system of increasing the
width of a bus.
(2)
Change made
Effect
Increasing the width of the
data bus
Increasing the width of the
address bus
(Total for Question 4 = 14 marks)

6
4CP0 Paper 1 · Jun 2025 · Question 4May/June 2025Paper 113 marks
Loading question…
Question text

4 A house has solar panels and a battery storage system.
(a) A smartphone application is used to monitor the battery storage system remotely.
The smartphone uses a 5G connection.
(i) Give two benefits of a 5G connection.
(2)
1
2
(ii) The application requires users to authenticate their identity.
One method of authentication is a user ID and password.
Describe one other method the application could use.
(2)
(iii) Software developers perform code reviews.
Give two reasons for carrying out a code review.
(2)
1
2
(b) The battery storage system stores readings as signed 8‑bit binary integers in
sign and magnitude format.
Complete the table to show the 8‑bit binary pattern and denary value for the
lowest and the highest values that can be stored.
(2)
8‑bit binary pattern
Denary value
Lowest value
Highest value
(c) The solar panels and battery storage system are controlled by a program.
(i) An LED is displayed when the system is on (O), the sun is shining (S), and the
house is not using all the power (P) generated by the solar panels.
Complete the truth table to show the results of each operation.
(3)
O
S
P
O AND S
NOT P
(O AND S) AND (NOT P)
0
0
0
0
0
1
0
1
0
0
1
1
1
0
0
1
0
1
1
1
0
1
1
1
(ii) The start‑up instructions for the solar panels and battery storage system are
stored in read‑only memory (ROM).
Explain why the start‑up instructions are stored in ROM.
(2)
(Total for Question 4 = 13 marks)

7
4CP0 Paper 1 · Oct/Nov 2020 · Question 5Oct/Nov 2020Paper 110 marks
Loading question…
Question text

5 Programmers work as part of a team to develop software.
(a) They use truth tables to determine if an expression evaluates to true or false.
Complete this truth table for the Boolean expression
P AND (Q OR R)
You may not need to use all rows.
(3)
P
Q
R
Q OR R
P AND (Q OR R)
(b) The team is working on software for a ride-on lawn mower.
The lawn mower must not start unless it is safe for the driver.
•
The brake (B) must be engaged.
•
The driver’s seat sensor (S) must be engaged.
•
The blade safety lock (L) must be removed.
Construct a Boolean expression, using AND, OR, and NOT with the letters B, S and
L to show the safe starting condition.
(2)
(c) The team uses code reviews as part of the software development process.
State two ways in which code reviews can help protect software systems from
cyber attacks.
(2)
1
2
(d) The team needs to protect its intellectual property rights over the systems that it
develops.
Give three types of legal protection the team could use.
(3)
1
2
3
(Total for Question 5 = 10 marks)

8
4CP0 Paper 1 · Jun 2021 · Question 3May/June 2021Paper 112 marks
Loading question…
Question text

3 Zakir wants to buy a new laptop.
(a) He knows that a laptop has both hardware and software.
Explain why the laptop needs both hardware and software.
(2)
(b) Zakir needs to choose between a solid state drive and a hard disc drive.
(i) Give two reasons, other than cost and capacity, why Zakir may choose a
solid state drive rather than a hard disc drive.
(2)
1
2
(ii) Solid state drives store data on flash memory, which is similar to RAM.
Explain one difference between flash memory and RAM.
(2)
(c) One of the laptops has 4 megabytes (MB) of cache memory.
Explain the purpose of cache memory.
(2)
(d) Zakir uses many devices.
Complete the table by adding one tick (  ) in each row to show whether the
device is an input device, an output device or both.
(2)
Device
Input
Output
Both
Headset
Mouse
Printer
Touch screen
(e) Zakir needs to protect his laptop against malware.
Give two types of anti-malware software he could install.
(2)
1
2
(Total for Question 3 = 12 marks)

Advertisement
9
4CP0 Paper 1 · Jun 2019 · Question 6May/June 2019Paper 115 marks
Loading question…
Question text

6 A train company uses ticket vending machines at each station.
(a) The machines use embedded systems.
(i) Explain one benefit of using an embedded system in these machines.
(2)
(ii) Customers use a touch screen to select their destination. They can pay by cash
or bank card. Their tickets and a receipt are printed.
The touch screen is controlled by an embedded system.
Give two other hardware components in the ticket machine that are
controlled by embedded systems.
(2)
1
2
(iii) The ticket machine uses data encryption when a customer pays using a bank
card.
State why data encryption is used in this case.
(1)
(b) Compare four features of high-level and low-level programming languages.
(4)
(c) Artificial intelligence (AI), in many forms, has an increasing impact on our lives.
Discuss this statement considering characteristics, uses and ethical issues.
(6)
(Total for Question 6 = 15 marks)

10
4CP0 Paper 1 · Jun 2019 · Question 1May/June 2019Paper 111 marks
Loading question…
Question text

1 Computers are made up of both hardware and software components.
(a) Computers use a three-step computational model.
Complete the diagram with the names of the three steps.
(3)
(b) Identify the hardware component responsible for controlling the
fetch-decode-execute cycle.
(1)
A Cache
B Central processing unit
C ROM
D Address bus
(c) Von Neumann developed the stored program concept that permits two different
types of item to reside in memory.
Name these two types.
(2)
1
2
(d) Some computers use virtual memory.
Explain how virtual memory works.
(2)
(e) An optical storage device writes data onto a CD or DVD.
Describe how data is stored physically on optical media.
(2)
(f ) A disc-formatting program is an example of a type of software.
Identify the type.
(1)
A Security software
B Application software
C Translation software
D System software
(Total for Question 1 = 11 marks)

Advertisement