Hardware and logic gates – A Level Computer Science (old syllabus, to 2021) (9608)
36 questions · page 3 of 3 · Clear filters
Question text
2
(a) State two differences between Static RAM (SRAM) and Dynamic RAM (DRAM).
1 …
…
2 …
… [2]
(b) (i)
Explain why a computer needs an operating system.
…
…
…
… [2]
(ii)
Give two key management tasks carried out by an operating system.
1 …
…
2 …
… [2]
(c) New program code is to be written in a high-level language. The use of Dynamic Link Library
(DLL) files is considered in the design.
Describe what is meant by a DLL file.
…
…
…
… [2]
Question text
4
Describe the basic internal operation of the following devices:
(i)
Keyboard
…
…
…
… [2]
(ii)
Optical disc
…
…
…
… [2]
(iii)
Optical mouse
…
…
…
… [2]
(iv)
Scanner
…
…
…
… [2]
Question text
5
A motor is controlled by a logic circuit. The circuit has inputs (0 or 1) from three sensors
R, T and W. The motor is switched off when the output from the logic circuit is 1.
The following table shows the three sensors and the conditions being monitored.
Sensor
Description
Binary value
Condition
0
rotation < 4000 rpm
R
rotation
1
rotation >= 4000 rpm
0
temperature >= 90 °C
T
temperature
1
temperature < 90 °C
0
water flow rate >= 50 litre/min
W
water flow rate
1
water flow rate < 50 litre/min
The output, X, is 1 if:
temperature >= 90 °C and rotation >= 4000 rpm
or
temperature < 90 °C and water flow rate >= 50 litre/min
(i)
Draw a corresponding logic circuit.
R
T
X
W
[5]
(ii)
Give a logic statement corresponding to the logic circuit in part (i).
…
… [2]
(iii)
Complete the truth table for this system.
INPUT
Workspace
OUTPUT
R
T
W
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
1
(a) A student writes the following logic expression:
X is 1 IF (B is NOT 1 AND S is NOT 1) OR (P is NOT 1 AND S is 1)
Draw a logic circuit to represent this logic expression.
Do not attempt to simplify the logic expression.
B
S
X
P
[6]
(b) Complete the truth table for the logic expression given in part (a).
B
S
P
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
[4]
Question text
3
When an application program requests a file stored on a hard disk, the computer system reads
the file. Use the statement labels A to H to complete the sequence of steps that describe how this
happens.
Label
Statement
A
When the hard disk drive has read the file, it generates an interrupt.
While the file continues, the head reads successive clusters of
B
sectors from the disk and writes data into the disk buffer.
The head reads the first cluster of sectors from disk and writes data
C
into the disk buffer.
D
The head moves to the correct track.
The operating system transfers the contents of the disk buffer to the
E
application program’s data memory.
In the relevant directory file, the operating system looks up the track
F
and sector where the file begins.
Application program passes file read request to the operating
G
system.
The hard disk drive waits for the correct sector to arrive under the
H
head.
1.
The application program executes a statement to read a file.
2.
…
3.
The operating system begins to spin the hard disk, if it is not currently spinning.
4.
…
5.
…
6.
…
7.
…
8.
…
9.
…
10. …
[8]
Question text
6
(a) Describe two differences between RAM and ROM.
1 …
…
2 …
… [2]
(b) State three differences between Dynamic RAM (DRAM) and Static RAM (SRAM).
1 …
…
2 …
…
3 …
… [3]