Computer architecture and embedded systems – IGCSE Computer Science (0478)
Question text
2
A computer has a central processing unit (CPU).
The CPU includes the registers:
•
Program counter (PC)
•
Memory address register (MAR)
•
Memory data register (MDR)
•
Accumulator (ACC)
•
Current instruction register (CIR).
(a) The table contains five statements about the role of registers in the fetch–decode–execute
cycle of a CPU.
Letter
Statement
A
PC stores the address of the next instruction to be accessed
B
MAR stores the instructions of the program that is running
C
MDR stores the data passed to it from the PC
D
ACC stores the result of each calculation
E
CIR stores the instruction currently being executed
Two of the statements are not correct.
Identify the letter of each incorrect statement.
Suggest a corrected statement for each.
Incorrect statement 1 …
Corrected statement …
…
…
Incorrect statement 2 …
Corrected statement …
…
…
[4]
(b) The computer has a single core 3.5 GHz processor and an 8 kB cache.
(i)
State what is meant by a 3.5 GHz processor.
…
… [1]
(ii)
The CPU is changed to a dual-core 3.5 GHz processor.
Explain how the number of cores affects the performance of a CPU.
…
…
…
… [2]
(iii)
The amount of cache is increased to 64 kB.
Explain how the amount of cache affects the performance of a computer.
…
…
…
… [2]
(c) The computer has both primary and secondary storage.
(i)
Random access memory (RAM) is one example of primary storage.
Describe what is meant by RAM.
…
…
…
Question text
1
A student uses a computer and several hardware devices to complete his schoolwork.
The computer has a central processing unit (CPU).
(a) The student uses a keyboard to complete his schoolwork.
Tick (3) one box to show which type of device the keyboard is.
A
input
B
memory
C
output
D
storage
[1]
(b) The student uses a printer to print his schoolwork.
Tick (3) one box to show which type of device the printer is.
A
input
B
memory
C
output
D
storage
[1]
(c) A component in the CPU sends signals to manage the fetch-decode-execute cycle.
State the name of this component.
… [1]
(d) The CPU has a clock speed of 2.4 Ghz.
Describe what is meant by a 2.4 Ghz clock speed.
…
…
…
… [2]
(e) The CPU contains registers including the memory data register (MDR).
(i)
Describe the role of the MDR in the fetch-decode-execute cycle.
…
…
…
… [2]
(ii)
Identify three other registers contained in the CPU.
1 …
2 …
3 …
[3]
Question text
3
A user’s computer has a central processing unit (CPU) that has a clock speed of 2 GHz.
She wants to change it to a CPU that has a clock speed of 3 GHz.
(a) (i)
State what is meant by clock speed.
…
… [1]
(ii)
Explain the effect this change will have on the performance of the CPU.
…
…
…
… [2]
(b) The CPU contains a memory address register (MAR).
Describe the role of the MAR in the fetch–decode–execute cycle.
…
…
…
… [2]
(c) The CPU has a list of all the machine code commands it can process.
State the name of this list of commands.
… [1]
Question text
4
A washing machine is an example of an embedded system.
(a) Give two characteristics of an embedded system.
1 …
…
2 …
…
[2]
(b) Circle three other examples of an embedded system.
freezer
laptop
personal computer (PC)
security light system
smartphone
vending machine
web server
[3]
Question text
7
A train station has a ticket inspector who checks each customer’s ticket before they are allowed to
get on the train.
The train station wants a system that will allow the tickets to be automatically checked.
(a) Identify two suitable input devices that can be used to automatically read the tickets.
1 …
2 …
[2]
(b) The train driver pushes a button to close the train door when all passengers have boarded
the train. The train door will only close when there are no passengers in the doorway.
The system to check there are no passengers in the doorway uses a sensor and a
microprocessor.
Explain how the sensor and the microprocessor are used to check whether the train door can
be closed.
…
…
…
…
…
…
…
…
…
…
…
… [6]
Question text
3
A computer has a central processing unit (CPU).
(a) Circle three components that are built into the CPU.
accumulator (ACC)
control unit (CU)
graphics card
hard disk drive (HDD)
motherboard
program counter (PC)
random access memory (RAM)
read only memory (ROM)
[3]
(b) The CPU has cache.
Explain the purpose of the cache.
…
…
…
… [2]
(c) The CPU has a component that regulates the number of fetch–decode–execute cycles the
CPU can perform in a second.
State the name of this component.
… [1]
(d) The CPU has a component that carries out all calculations and logical operations.
State the name of this component.
… [1]
Question text
5
A farm has an automated drinking system for its animals. The drinking system has a water bowl
that contains the water. When the water bowl is empty, it is automatically refilled.
The system uses a sensor and a microprocessor.
(a) Identify the most appropriate sensor for this system.
… [1]
(b) Describe how the sensor and the microprocessor are used to automatically refill the water
bowl.
…
…
…
…
…
…
…
…
…
…
…
… [6]
Question text
2
A library has a self-checkout system that allows customers to register books that they want to
borrow.
The self-checkout system has a central processing unit (CPU).
The CPU has two cores.
(a) State the purpose of a core in the CPU.
…
… [1]
(b) The CPU is replaced with one that has four cores.
Explain the effect this has on the performance of the self-checkout system.
…
…
…
… [2]
(c) The CPU contains registers and buses.
(i)
Describe the role of a register in the CPU.
…
…
…
… [2]
(ii)
Identify one bus that can be found in the CPU and explain its purpose in the
fetch–decode–execute cycle.
Bus …
Purpose …
…
…
…
[3]
(d) The self-checkout system allows the user to input their library membership number.
Give two appropriate input devices that would allow the user to do this.
1 …
2 …
[2]
(e) The self-checkout system uses a monitor to display information about the book.
Users who are blind also need to use the self-checkout system.
Give an appropriate output device that would allow a blind user to be given this information.
… [1]
(f)
The self-checkout system uses two types of primary storage.
Circle two types of primary storage that would be used in the system.
compact disk (CD)
digital versatile disk (DVD)
hard disk drive (HDD)
random access memory (RAM)
read only memory (ROM)
universal serial bus (USB) flash memory drive
[2]
(g) The self-checkout system is linked to a stock control system that is updated every time a
book is borrowed from the library.
A microp
Question text
2
Phil has a computer that is designed using the Von Neumann model. The computer has a
central processing unit (CPU).
(a) One type of component within the CPU is an address bus.
Identify two other types of bus and state what each is responsible for transmitting in the CPU.
Bus 1 …
…
Bus 2 …
…
[4]
(b) The CPU performs a cycle that has three stages. One of these stages is execute.
Identify one other stage of the cycle that is performed by the CPU.
… [1]
(c) Identify the component within the CPU that the accumulator is built into and describe the
purpose of the accumulator.
…
…
…
…
…
… [3]
Question text
7
The paragraph explains how an instruction is processed by the Central Processing Unit (CPU).
Complete the paragraph using the list of terms. Not all terms in the list need to be used.
•
address bus
•
Arithmetic Logic Unit (ALU)
•
calculations
•
data bus
•
decoded
•
execute
•
fetched
•
interrupt
•
Memory Address Register (MAR)
•
Memory Data Register (MDR)
•
Program Counter (PC)
•
protocol
•
ROM
•
stored
An instruction is … from RAM into the CPU, where
it is temporarily stored in the … . The instruction is
then sent along the … to the Control Unit (CU) to be
… . The …
will then perform any … and logic operations that are
required to … the instruction.
[7]
Question text
2
A computer is designed using the Von Neumann model for a computer system.
The computer has a central processing unit (CPU).
(a) Data is fetched from primary storage into the CPU to be processed.
(i)
State the name of the primary storage from where data is fetched.
… [1]
(ii)
The CPU performs a cycle to process data. Fetch is the first stage in this cycle.
State the names of the second and third stages in the cycle.
Second stage …
Third stage …
[2]
(iii)
Identify two components within the CPU that are used in the fetch stage of the cycle.
Component 1 …
Component 2 …
[2]
Question text
5
Harriet has a computer that is based on a Von Neumann model for a computer system.
The computer has a central processing unit (CPU).
(a) Explain the purpose of the CPU.
Identify the three stages of the cycle performed by the CPU in your answer.
…
…
…
…
…
…
…
…
…
… [5]
(b) The memory address register (MAR) is one component built into the CPU.
(i)
Identify four other components that are built into the CPU.
Component 1 …
Component 2 …
Component 3 …
Component 4 …
[4]
(ii)
Describe the purpose of the MAR in the CPU.
…
…
…
… [2]
(c) Harriet’s computer has both primary and secondary storage.
(i)
Explain what is meant by primary storage.
Give three examples of what is stored in primary storage in your answer.
…
…
…
…
…
…
Question text
6
A business uses a closed-circuit television (CCTV) system that starts recording when motion is
detected. It stops recording after two minutes if no further motion is detected. The system uses a
motion sensor and a microprocessor.
Describe how the motion sensor and microprocessor work together to control the CCTV system.
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
… [7]
Question text
6
Six statements are given about the role of components in the Central Processing Unit (CPU).
(a) Tick (3) to show whether each statement applies to the Memory Address Register (MAR),
Memory Data Register (MDR) or Program Counter (PC).
Some statements may apply to more than one component.
MAR
MDR
PC
Statement
(3)
(3)
(3)
it is a register in the CPU
it holds the address of the next instruction to be processed
it holds the address of the data that is about to be fetched
from memory
it holds the data that has been fetched from memory
it receives signals from the control unit
it uses the address bus to send an address to another
component
[6]
(b) Identify the component in the CPU that carries out calculations.
… [1]
Question text
9
A washing machine uses sensors and a microprocessor to control the washing cycle of clothes.
(a) A sensor is used in each of the given tasks.
Identify one suitable sensor that would be used for each task.
Each sensor given must be different.
Task
Sensor
checking the water is 30 °C
checking the water acidity level after detergent is added
checking the weight of the clothes to make sure that the machine is
not overloaded
[3]
(b) Describe how the sensor and the microprocessor are used to make sure the water remains
at 30 °C.
…
…
…
…
…
…
…
…
…
…
…
… [6]