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

3 questions · Clear filters

0 / 0Answer a question to start your score.
Quick quiz (10)Saved 0
Advertisement
1
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)

2
4CP0 Paper 1 · Oct/Nov 2020 · Question 3Oct/Nov 2020Paper 116 marks
Loading question…
Question text

3 The central processing unit (CPU) and other hardware components work together
with the operating system to run programs and store data.
(a) Here is a partially completed diagram showing the hardware components used in
the fetch-decode-execute cycle.
The function of the I/O controller is to manage communication between the CPU
and input/output devices.
Complete the diagram by:
•
labelling the buses
•
adding directional arrows to the dotted lines to show the flow of
communication.
(6)
Keyboard
Display
CPU
Control
Keyboard
Display
Clock
RAM
unit
controller
controller
bus
bus
bus
(b) The CPU includes an area of cache memory.
Increasing the size of the cache will improve the performance of the CPU.
Explain how increasing the size of the cache improves the performance.
(2)
(c) Some computers have more than one CPU. The CPUs work in parallel to execute
instructions.
Complete the table to show how two CPUs working in parallel could execute the
expression:
(5 * 2) + (4 * 3) – (24 / 4)
(4)
CPU 1
CPU 2
5 * 2 = 10
(d) One function of an operating system is to manage files on secondary storage.
Describe how an operating system manages the storage of a file on random
access secondary storage.
(4)
(Total for Question 3 = 16 marks)

3
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)

Advertisement