Hardware and logic gates – A Level Computer Science (9618)
58 questions · page 2 of 4
Question text
4
(a) Write the logic expressions for the following logic circuit.
R
X
S
T
Y
U
X = …
Y = …
[2]
ĬÑĊ®Ġ´íÈõÏĪÅĊÞúµþ×
,
,
(b) Complete the truth table for the logic expression:
X = NOT (A AND (B XOR C))
A
B
C
Working space
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
[2]
ĬÓĊ®Ġ´íÈõÏĪÅĊÞüµþ×
Question text
4
(a) Write the logic expressions for the following logic circuit.
A
X
B
C
Y
D
X = …
Y = …
[2]
ĬÙĊ®Ġ´íÈõÏĪÅĊßûµĀ×
,
,
(b) Complete the truth table for the logic expression:
X = (A OR B) XOR (B OR C) XOR (NOT A 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
[2]
ĬÛĊ®Ġ´íÈõÏĪÅĊßùµĀ×
Question text
3
A computer system has a dual-core Central Processing Unit (CPU).
(a) State the purpose of the system clock and the Control Unit (CU) in a CPU.
System clock …
…
CU …
…
[2]
(b) (i)
The number of cores in the processor affects the performance of the computer system.
Identify one other feature of a processor that can affect the performance of a computer
system and state why it affects the performance.
Feature …
…
Reason …
…
[2]
(ii)
A solid state (flash) memory drive is automatically recognised by the computer when it is
plugged into a port in the computer.
Identify an appropriate type of port to connect the solid state memory drive to the
computer.
Explain how this port provides an automatic connection.
Port …
Explanation …
…
…
…
[3]
ĬÓĊ®Ġ´íÈõÏĪÅĊÝú¶þ×
,
,
(c) Identify two disadvantages of using Dynamic RAM (DRAM) instead of Static RAM (SRAM) in
a computer system.
1 …
…
2 …
…
[2]
(d) The computer system is used to store data received from a temperature sensor every five
seconds. The data is stored on an optical disc using an optical disc reader/writer.
(i)
Describe the principal operation of an optical disc reader/writer.
…
…
…
…
Question text
5
A security system has both a floodlight (very bright light) and an audio alarm.
The data from multiple sensors is analysed and used to:
•
turn on the floodlight
•
sound the audio alarm.
Sensors can be used to detect:
•
if doors are open
•
the external daylight level
•
if people are detected within a set distance.
(a) Complete the table to identify the most appropriate type of sensor for each scenario.
Scenario
Type of sensor
A door is open.
The external daylight level is below a set amount.
A person is detected within 2 metres.
[1]
ĬÓĊ®Ġ´íÈõÏĪÅĊÞú¸þ×
,
,
(b) The floodlight (X) and audio alarm (Y) operate according to the following criteria:
Parameter
Description of parameter
Binary value
Condition
1
Low
A
external daylight level
0
High
1
Open
B
front door
0
Closed
1
Detected
C
person is within 2 m
0
Not detected
1
Open
D
back door
0
Closed
1
Switched on
E
security system
0
Switched off
The floodlight turns on (X = 1) if:
•
the security system is switched on
and
•
the external daylight level is low
and
•
a person is detected within 2 m.
The audio alarm turns on (Y = 1) if:
•
the security system is switched on
and
•
one or more doors are open, or a person is detected within 2 m.
Write logic expressions for the security system.
X = …
…
Y = …
…
[2]
(c) Explain whether the security system is an example of a monitoring system or a control
system.
…
…
…
…
…
… [3]
ĬÑĊ®Ġ´íÈõÏĪÅĊàü¸Ā×
Question text
1
(a) Complete the truth table for the logic expression:
X = (A XOR B) NAND (A AND (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
[2]
(b) Draw the logic circuit for the logic expression:
W = P NAND ((Q OR NOT R) XOR (P XOR Q))
P
Q
W
R
[2]
ĬÍĊ®Ġ´íÈõÏĪÅĊÝû¸þ×
Question text
2
Embedded systems are used in many electronic devices.
(a) Describe the drawbacks of embedded systems.
…
…
…
…
…
… [3]
(b) An embedded system has Dynamic RAM (DRAM).
Identify one benefit of using DRAM instead of Static RAM (SRAM) in an embedded system.
…
… [1]
(c) Give two differences between Erasable Programmable ROM (EPROM) and Electrically
Erasable Programmable ROM (EEPROM).
Difference 1 …
…
…
Difference 2 …
…
…
[2]
ĬÏĊ®Ġ´íÈõÏĪÅĊÝù¸þ×
Question text
9
A road bridge has a weight limit and a height limit for vehicles. For example, a vehicle must weigh
less than 10 000 kg and must have a height of less than 3 m.
The bridge has a warning system. If a vehicle is approaching the bridge and it exceeds one or
both limits, a sign displays a warning telling the driver of the vehicle to stop.
(a) The bridge warning system uses sensors to detect if a vehicle exceeds the limits.
Complete the table by identifying two different sensors that could be used by the system and
describe how each sensor is used by the system.
Sensor
Use in bridge warning system
…
…
…
…
…
…
…
…
…
…
[2]
(b) Explain whether the bridge warning system is an example of a monitoring system or of a
control system.
…
…
…
… [2]
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 Cambridge Assessment. Cambridge Assessment is the brand name of the University of Cambridge
ĬÍĊ®Ġ´íÈõÏĪÅĊÞü¶Ą×
Question text
1
(a) Describe the operation of a 2-input XOR gate.
…
… [1]
(b) Write the logic expression for the following logic circuit.
A
X
B
C
X = …
… [2]
(c) Draw the logic circuit for the logic expression:
X = ((NOT A AND (B AND C)) OR (B NAND C)) AND NOT A
A
B
X
C
[2]
ĬÕĊ®Ġ´íÈõÏĪÅĊÞù¸þ×
Question text
2
A memory buffer uses Dynamic RAM (DRAM).
(a) Identify two differences between DRAM and Static RAM (SRAM).
Difference 1 …
…
…
Difference 2 …
…
…
[2]
(b) Explain how a memory buffer is used when a computer is transferring data to its magnetic
hard disk drive.
…
…
…
…
…
…
…
… [4]
Ĭ×Ċ®Ġ´íÈõÏĪÅĊÞû¸þ×
Question text
3
A car has an automatic braking system.
A sensor is used to measure the distance to objects that are in front of the car.
The car automatically brakes if an object is too close to the front of the car or the distance between
the car and the object is decreasing too quickly. The closer the object is to the front of the car, the
harder the car brakes so that the car slows down more quickly.
Explain the reasons why the automatic braking system of the car is a control system.
…
…
…
…
…
… [3]
ĬÕĊ®Ġ´íÈõÏĪÅĊàù¸Ā×
Question text
1
(a) Tick (✓) one box to identify the correct logic statement for this truth table.
A
B
C
X
0
0
0
1
0
0
1
0
0
1
0
0
0
1
1
0
1
0
0
0
1
0
1
0
1
1
0
1
1
1
1
0
NOT (A AND B AND C)
(A XOR B) NOR C
(A OR B OR C) NOR C
NOT A AND NOT B AND NOT C
[1]
(b) Draw a logic circuit for the logic expression:
X = NOT (NOT A AND (NOT B XOR C))
A
X
B
C
[2]
Question text
2
A video doorbell is attached to the front door of a house. The doorbell uses a motion sensor to
detect when a visitor walks in front of the door. When the motion sensor is activated:
•
The digital camera in the doorbell starts recording a video.
•
A message is transmitted to a smartphone so that the person who lives in the house can
watch the video.
The doorbell also has a button that can be pressed. When the button is pressed, a message is
transmitted to a smartphone to play the doorbell sound.
The videos are stored on the doorbell’s internal secondary storage device and overwritten when
the secondary storage device is full.
(a) The video doorbell can be considered an example of an embedded system.
Identify two characteristics of the doorbell that suggest it is an embedded system.
1 …
…
2 …
…
[2]
(b) State whether the video doorbell is a monitoring system or a control system.
Justify your choice.
Monitoring or control system …
Justification …
…
…
…
…
[2]
9618/11/ M/J/24
(c) The video doorbell has both primary memory and secondary storage.
(i)
Identify two items of data that the video doorbell will store in primary memory.
1 …
…
2 …
…
[2]
(ii)
The video doorbell has a solid state (flash) secondary storage device.
Complete the table by writing the answer or answers to each statement about the
principal operation of solid state (flash) memory.
Statement
Answer
the two types of logic gate that
1 …
can be used to create solid state
devices
2 …
the number of transistors contained
…
in each cell
the type of gate that can retain
…
electrons without power
the type of gate that allows or stops
…
current from passing through
[4
Question text
1
(a) Describe the operation of each of the following logic gates:
NAND …
…
NOR …
…
XOR …
…
OR …
…
[4]
(b) Draw a logic circuit for this logic expression:
X = NOT ((A AND B) OR (C AND D))
A
B
X
C
D
[2]
Question text
2
A computer game is being designed that users will be able to play using a virtual reality (VR)
headset.
(a) Complete the description of the principal operation of a VR headset.
A headset can have one or two … that output the image to
the user. The headset has speakers that output surround sound to give a realistic experience.
The user’s head movements are detected using a sensor.
This sensor is a … . The data is transmitted to a
microprocessor that analyses the data to identify the … of
movement. Some headsets use … that record the user’s
eye movements for analysis.
[4]
(b) The computer uses a buffer when transmitting data to the VR headset.
Explain how a buffer is used when data is transmitted between the computer and the VR
headset.
…
…
…
…
…
… [3]
(c) The VR headset has Electrically Erasable Programmable Read Only Memory (EEPROM).
Explain the benefits of using EEPROM instead of other types of Read Only Memory (ROM) in
the VR headset.
…
…
…
…
…
… [3]
(d) The computer can transmit a video made from bitmap images and vector graphic animations
to the VR headset.
(i)
Describe how the data for a bitmapped image is encoded.
…
…
…
…
…
… [3]
(ii)
Describe the contents o
Question text
6
Each of the following truth tables has three inputs (A, B and C) and one output (X).
Draw one line to match each truth table with its logic expression.
Truth table
Logic expression
A
B
C
X
0
0
0
0
NOT (A XOR B) AND C
0
0
1
1
0
1
0
0
0
1
1
0
1
0
0
1
1
0
1
1
1
1
0
0
(A OR C) AND NOT B
1
1
1
0
A
B
C
X
0
0
0
0
0
0
1
1
0
1
0
0
A NAND B NAND C
0
1
1
0
1
0
0
0
1
0
1
0
1
1
0
0
1
1
1
1
A
B
C
X
(A NAND B) OR C
0
0
0
1
0
0
1
1
0
1
0
1
0
1
1
1
1
0
0
1
1
0
1
1
NOT (A AND B AND C)
1
1
0
0
1
1
1
1
[3]