Hardware and logic gates – A Level Computer Science (old syllabus, to 2021) (9608)
36 questions · page 2 of 3
Question text
1
In a supermarket, a self-checkout machine allows customers to scan the barcodes of products and
then pay for their shopping. These are an alternative to the traditional cashier-staffed checkout.
(a) The self-checkout machine has a touchscreen.
(i)
Identify two other input devices that self-checkout machines have.
1 …
2 …
[2]
(ii)
Identify two other output devices that self-checkout machines have.
1 …
2 …
[2]
(iii)
The touchscreen uses capacitive technology.
The sequence of steps 1 to 6 describes the internal operation of the touchscreen.
The statements A, B, C and D are used to complete the sequence.
A
Charge is drawn to the point of contact.
B
The screen has a layer that stores an electrical charge.
C
There is a change in the electrostatic field.
D
The coordinates are sent to the touchscreen driver.
Write one of the letters A to D in each appropriate row to complete the sequence.
1
…
2
When the user touches the screen
3
…
4
…
5
The coordinates of the point of contact can be calculated.
6
…
[2]
(b) The self-checkout machines have primary storage.
(i)
Give two reasons why the self-checkout machine needs primary storage.
1 …
…
2 …
…
[2]
(ii)
The self-checkout machines use Static RAM (SRAM) for their cache.
The following table has statements about SRAM or Dynamic RAM (DRAM).
Tick (✓) one box in each row to identify whether the statement is about SRAM or DRAM.
Statement
SRAM
DRAM
More expensive to make
Requires refreshing (recharging)
Made from flip-flops
[2]
(c) The self-checkout machines connect to a server that stores all the data for the supermarket.
This is a client-server network.
(i)
Describe, using an example for the supermarket, the client-server network model.
…
…
…
…
…
…
…
…
Question text
5
(a) Draw a logic circuit to represent the logic expression:
X = NOT (A OR C) OR (A AND NOT B)
A
B
X
C
[5]
(b) Complete the truth table for the logic expression:
X = NOT (A OR C) OR (A AND NOT B)
Working space
A
B
C
X
0
0
0
0
0
1
0
1
0
0
1
1
1
0
0
1
0
1
1
1
0
1
1
1
[4]
Question 6 begins on the next page.
Question text
4
Shazia is creating a computer program that will be released to the public. The program includes a
video.
(a) Shazia uses a microphone to record a sound track for the video.
(i)
Describe the internal operation of a microphone.
…
…
…
…
…
… [3]
(ii)
The script for the sound track is printed using a laser printer.
Describe the internal operation of a laser printer.
…
…
…
…
…
… [3]
(b) The video is recorded using progressive encoding.
Describe progressive encoding.
…
…
…
… [2]
(c) Shazia’s computer has Dynamic RAM (DRAM) and Static RAM (SRAM).
Explain the differences between Dynamic RAM and Static RAM.
…
…
…
…
…
…
…
…
Question text
6
(a) Draw a logic circuit to represent the logic expression:
X = A OR (B AND NOT C) OR (A AND B)
A
X
B
C
[5]
(b) Complete the truth table for the logic expression in part (a).
Working space
A
B
C
X
0
0
0
0
0
1
0
1
0
0
1
1
1
0
0
1
0
1
1
1
0
1
1
1
[4]
Permission to reproduce items where third-party owned material protected by copyright is included has been sought and cleared where possible. Every
publisher will be pleased to make amends at the earliest possible opportunity.
To avoid the issue of disclosure of answer-related information to candidates, all copyright acknowledgements are reproduced online in the Cambridge
Assessment International Education Copyright Acknowledgements Booklet. This is produced for each series of examinations and is freely available to download
at www.cambridgeinternational.org after the live examination series.
Cambridge Assessment International Education is part of the Cambridge Assessment Group. Cambridge Assessment is the brand name of the University of
Question text
6
The fetch-execute (FE) cycle uses special purpose registers.
(a) The stages in the FE cycle are shown in register transfer notation.
[ … ]
MAR
PC + 1
PC
…
[ [MAR] ]
…
[MDR]
(i)
The steps shown in part (a) are incomplete.
Write the missing register names in the spaces in part (a).
[3]
(ii)
The third instruction [ [MAR] ] has double brackets.
State the purpose of the double brackets.
…
… [1]
(b) One stage of the FE cycle includes checking for interrupts.
State what is meant by an interrupt.
…
…
…
… [2]
(c) There are two types of RAM: dynamic RAM (DRAM) and static RAM (SRAM).
The following table shows five statements about DRAM and SRAM.
Tick (✓) one box in each row to indicate whether the statement applies to DRAM or SRAM.
Statement
DRAM
SRAM
Does not need to be refreshed as the circuit holds the data while the power
supply is on
Mainly used in cache memory of processors where speed is important
Has less complex circuitry
Requires higher power consumption under low levels of access, which is
significant when used in battery-powered devices
Requires data to be refreshed occasionally so it retains the data
[5]
Question text
8
(a) Draw a logic circuit to represent the logic expression:
X = (A XOR B) OR (NOT(C AND A))
A
B
X
C
[4]
(b) Complete the truth table for the logic expression in part (a).
Working space
A
B
C
X
0
0
0
0
0
1
0
1
0
0
1
1
1
0
0
1
0
1
1
1
0
1
1
1
[4]
Permission to reproduce items where third-party owned material protected by copyright is included has been sought and cleared where possible. Every
publisher will be pleased to make amends at the earliest possible opportunity.
To avoid the issue of disclosure of answer-related information to candidates, all copyright acknowledgements are reproduced online in the Cambridge International
Examinations Copyright Acknowledgements Booklet. This is produced for each series of examinations and is freely available to download at www.cie.org.uk after
the live examination series.
Cambridge International Examinations is part of the Cambridge Assessment Group. Cambridge Assessment is the brand name of University of Cambridge Local
Question text
4
(a) An alarm system (X) is enabled and disabled using either a switch (A) or a remote control (B).
There are two infra-red sensors (C, D) and one door pressure sensor (E).
Description of
Parameter
Binary value
Condition
parameter
1
Switch enabled
A
Switch
0
Switch disabled
1
Remote enabled
B
Remote control
0
Remote disabled
1
Activated
C
Infra-red sensor
0
Not activated
1
Activated
D
Infra-red sensor
0
Not activated
1
Activated
Door pressure
E
sensor
0
Not activated
The alarm sounds (X = 1) if the alarm is enabled and any one or more of the sensors is
activated.
Draw a logic circuit to represent the alarm system.
A
B
C
X
D
E
[3]
(b) Complete the truth table for the logic expression: X = A OR (B XOR C)
Working space
A
B
C
X
0
0
0
0
0
1
0
1
0
0
1
1
1
0
0
1
0
1
1
1
0
1
1
1
[4]
Question text
7
A student plays computer games on a games console.
(a) Identify two input devices and one output device used in a games console.
Input device 1 …
Input device 2 …
Output device …
[3]
(b) The games console has random access memory (RAM) and read only memory (ROM).
(i)
State two differences between RAM and ROM.
Difference 1 …
…
Difference 2 …
…
[2]
(ii)
Give one use for RAM in the games console.
…
… [1]
(iii)
Give one use for ROM in the games console.
…
… [1]
Question text
2
(a) A greenhouse control system has four input parameters (H, D, T, W) and two outputs (X, Y).
Description of
Parameter
Binary value
Condition
parameter
0
Too low
H
Humidity
1
Acceptable
0
Night
D
Day
1
Day
0
Too high
T
Temperature
1
Acceptable
0
Closed
W
Windows
1
Open
The watering system turns on (X = 1) if:
either
it is daytime and the temperature is too high
or
the humidity is too low.
The fan turns on (Y = 1) if the temperature is too high and the windows are closed.
Draw a logic circuit to represent the greenhouse control system.
H
X
D
T
Y
W
[6]
(b) Complete the truth table for the logic expression: X = NOT A AND (B NAND C)
Working space
A
B
C
X
0
0
0
0
0
1
0
1
0
0
1
1
1
0
0
1
0
1
1
1
0
1
1
1
[4]
Question text
5
(a) A student needs to design a logic circuit to model the requirements for membership of a
snooker club. Membership (X) depends on four criteria, as shown in the table:
Description of
Binary
Parameter
Condition
parameter
value
1
True
A
Over 18
0
False
1
True
B
Recommended
0
False
1
True
C
Full-time
0
False
1
True
D
Retired
0
False
Membership is approved (X = 1) if the person:
is over the age of 18 and has been recommended by a pre-existing member and
•
either is working full-time or is retired, but not both.
•
Draw a logic circuit to represent the membership requirements.
A
B
X
C
D
[3]
(b) Complete the truth table for the logic expression: X = (A XOR B) AND NOT C
Working space
A
B
C
X
0
0
0
0
0
1
0
1
0
0
1
1
1
0
0
1
0
1
1
1
0
1
1
1
[4]
Question text
7
A zoo has a computer system for the visitors to access multimedia content about the zoo and its
animals.
(a) The users interact with the computer system through touchscreens.
Describe the internal operation of a touchscreen.
…
…
…
…
…
…
…
…
…
… [4]
(b) (i)
Give one output device, other than a touchscreen, that may be part of this computer
system.
… [1]
(ii)
Give two input devices, other than a touchscreen, that may be part of this computer
system. State how each device will be used by the visitors.
Device 1 …
Use …
…
Device 2 …
Use …
…
[4]
(c) Give the most appropriate secondary storage device for this computer system.
Describe two reasons for your choice.
Device …
Reason 1 …
…
…
…
Reason 2 …
…
Question text
5
A Personal Computer (PC) has a number of input and output devices.
(a) (i)
Name three components of a speaker.
1 …
2 …
3 …
[3]
(ii)
Explain the basic internal operation of a speaker.
…
…
…
…
…
…
… [4]
(b) (i)
The user is considering the purchase of a removable device for secondary storage.
Name one suitable device.
… [1]
(ii)
Describe two possible uses for this device on a home Personal Computer (PC).
1 …
…
2 …
…
[2]
Question text
6
(a) A personal computer (PC) is extensively used for a wide range of applications, including the
three shown in the following table.
Write in the table, a suitable input device, output device, or both needed for each application.
Do not give a monitor, keyboard or mouse in your answers.
Application
Input device
Output device
Capture the text from a paper document, in order
that the text can be word processed
Producing a replica of a small plastic component
from a washing machine
A museum has interactive information facilities
throughout the building
[3]
(b) Explain the basic internal operation of a hard disk drive.
…
…
…
…
…
…
…
…
…
…
…
…
…
…
… [4]
Question text
2
(a) (i)
The following sequence of steps (1 to 7) describe how a single page is printed on a laser
printer.
The statements A, B, C and D are used to complete the sequence.
The paper passes through a fuser, which heats up the paper. The toner melts and
A
forms a permanent image on the paper.
B
The electrical charge is removed from the drum and the excess toner is collected.
C
The image is converted on the drum into an electrostatic charge.
The oppositely-charged paper picks up the toner particles from the drum. After
D
picking up the toner, the paper is discharged to stop it clinging to the drum.
Complete the sequence by writing one of the letters A, B, C or D on the appropriate row.
1.
A laser beam and a rotating mirror are used to draw an image of the page on the
photosensitive drum.
2.
…
3.
Electrostatic charge attracts toner.
4.
The charged paper is rolled against the drum.
5.
…
6.
…
7.
…
[3]
(ii)
A computer user has a laser printer to print letters and documents. The user also prints
digital photographs taken using a digital camera.
State the most suitable type of printer for printing the photographs.
… [1]
(b) The user is considering the purchase of a new laptop computer. She has read many product
reviews and knows that there are different types of internal secondary storage available.
List two options for internal secondary storage.
Option 1 …
Option 2 …
Describe one advantage of one of the options.
Advantage of choosing option 1
/ 2 (circle)
…
… [3]
Question 3 begins on page 6.
Question text
2
(a) The first column of the following table gives features of different types of printer.
Put a tick (3) in the cells to show which features describe a laser and an inkjet printer.
Type of printer
Laser
Inkjet
Impact printer
Non-impact printer
Line printer
Page printer
[2]
(b) Two of the components of an inkjet printer are a stepper motor and a print head.
Describe how each component is used when printing a page.
(i)
Print head …
…
…
…
…
…
…
…
… [5]
(ii)
Stepper motor
…
…
… [2]
(c) A student has an old working laptop computer. It has a small capacity internal disk drive with
almost all the storage space taken up by the operating system and application programs.
She needs to buy an external storage device to store her data files.
(i)
List two suitable devices.
Device 1 …
Device 2 …
[2]
(ii)
Describe one advantage of choosing one of the devices.
Advantage of choosing device 1 / 2 (circle)
…
… [1]