Hardware, Boolean algebra and virtual machines – A Level Computer Science (9618)

20 questions · page 1 of 2 · Clear filters

0 / 0Answer a question to start your score.
Quick quiz (10)Saved 0
Advertisement
1
9618/31/O/N/25 · Question 6Oct/Nov 2025Paper 319 marks
Loading question…
Question text

6
(a) The diagram shows a logic circuit.
P
A
R
B
Z
S
Q
C
Complete the truth table for the given logic circuit.
Show your working.
Working space
A
B
C
P
Q
R
S
Z
0
0
0
0
0
1
0
1
0
0
1
1
1
0
0
1
0
1
1
1
0
1
1
1
[3]
ĬÙú¾Ġ´íÈõÏĪÅĊßûµþ×
,
,
(b) (i)
Complete the Karnaugh map (K‑map) for the Boolean expression:
A.B.C + A.B.C + A.B.C + A.B.C
BC
A
00
01
11
10
0
1
[2]
(ii)
Draw loop(s) around appropriate group(s) in the K‑map to produce an optimal
sum‑of‑products.
[2]
(iii)
Write the Boolean expression from your answer to part b(ii) as a simplified
sum‑of‑products. Do not carry out any further simplification.
…
… [2]

2
9618/31/O/N/25 · Question 11Oct/Nov 2025Paper 317 marks
Loading question…
Question text

11
The table shows assembly language instructions for a processor that has one register, the
Accumulator (ACC).
Instruction
Label
Opcode
Operand
Explanation
LDM #n
Load the number n to ACC
Load the contents of the location at the given
LDD <address>
address to the ACC
The address to be used is at the given address.
LDI <address>
Load the contents of this second address to the
ACC
Add the contents of the given address to the
ADD <address>
ACC
Subtract the contents of the given address from
SUB <address>
the ACC
Store the contents of the ACC at the given
STO <address>
address
Gives a symbolic address <label> to the
<label>:
<data>
memory location with contents <data>
# denotes a denary number, e.g. #123
<label> can be used in place of <address>
(a) Write assembly language code, using only the given instruction set to:
•
store the denary value 100 as a named constant
•
subtract the constant from the value contained in address 632
•
store the result in variable Answer.
Show the initialisation of the constant and Answer in the table provided.
…
…
…
…
…
…
Label
Contents
[6]
(b) The address 632 contains the value 45.
State the value of Answer after the code described in part (a) has executed.
… [1]
ĬÛú¾Ġ´íÈõÏĪÅĊàù·þ×
,
,
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
ĬÙú¾Ġ´íÈõÏĪÅĊÞû·Ā×

3
9618/32/O/N/25 · Question 6Oct/Nov 2025Paper 329 marks
Loading question…
Question text

6
(a) The diagram shows a logic circuit.
A
Q
S
Z
P
B
R
C
Complete the truth table for the given logic circuit.
Show your working.
Working space
A
B
C
P
Q
R
S
Z
0
0
0
0
0
1
0
1
0
0
1
1
1
0
0
1
0
1
1
1
0
1
1
1
[3]
ĬÑĊ®Ġ´íÈõÏĪÅĊÝûµþ×
,
,
(b) (i)
Complete the Karnaugh map (K-map) for the Boolean expression:
A.B.C + A.B.C + A.B.C + A.B.C
BC
A
00
01
11
10
0
1
[2]
(ii)
Draw loop(s) around appropriate group(s) in the K-map to produce an optimal
sum-of-products.
[2]
(iii)
Write the Boolean expression from your answer to part b(ii) as a simplified
sum-of-products. Do not carry out any further simplification.
…
… [2]

Advertisement
4
9618/32/O/N/25 · Question 11Oct/Nov 2025Paper 327 marks
Loading question…
Question text

11
The table shows assembly language instructions for a processor that has one register, the
Accumulator (ACC).
Instruction
Label
Opcode
Operand
Explanation
LDM #n
Load the number n to the ACC
Load the contents of the location at the given
LDD <address>
address to ACC
The address to be used is at the given address.
LDI <address>
Load the contents of this second address to
the ACC.
Add the contents of the given address to the
ADD <address>
ACC
Subtract the contents of the given address
SUB <address>
from the ACC
Store the contents of the ACC at the given
STO <address>
address
Gives a symbolic address <label> to the
<label>:
<data>
memory location with the contents <data>
# denotes a denary number, e.g. #123
<label> can be used in place of <address>
The current contents of memory are:
Address
Contents
26
150
86
300
150
420
ĬÑĊ®Ġ´íÈõÏĪÅĊÞû·þ×
,
,
Write assembly language code, using only the given instruction set to:
•
store the contents of location 300 as labelled variable A
•
store the contents of location 420 as labelled variable B
•
add the value stored in the address contained in variable B to the value contained in
variable A
•
store the result in variable Answer.
Show the initialisation and values of the variables A, B and Answer in the table provided.
…
…
…
…
…
…
…
…
Label
Content
[7]
ĬÓĊ®Ġ´íÈõÏĪÅĊÞù·þ×

5
9618/33/O/N/25 · Question 6Oct/Nov 2025Paper 338 marks
Loading question…
Question text

6
(a) The Karnaugh map (K‑map) represents a logic circuit with four inputs.
AB
CD
00
01
11
10
00
0
0
0
0
01
1
1
1
0
11
0
1
1
1
10
0
0
1
1
(i)
Draw loop(s) around appropriate group(s) in the K‑map to produce an optimal
sum‑of‑products.
[3]
(ii)
Write the Boolean expression from your answer to part a(i) as a simplified sum‑of‑products.
Do not carry out any further simplification.
…
… [2]
(b) Simplify the following expression using De Morgan’s laws and Boolean algebra.
Show all the stages in your simplification.
X = A+B+C+B+C
…
…
…
…
…
… [3]
Ĭ×ú¾Ġ´íÈõÏĪÅĊßù·Ā×

6
9618/33/O/N/25 · Question 13Oct/Nov 2025Paper 337 marks
Loading question…
Question text

13 The table shows assembly language instructions for a processor that has one register, the
Accumulator (ACC).
Instruction
Label
Opcode
Operand
Explanation
LDM #n
Load the number n to the ACC
Load the contents of the location at the given
LDD <address>
address to the ACC
The address to be used is at the given address.
LDI <address>
Load the contents of this second address to
the ACC
Add the contents of the given address to the
ADD <address>
ACC
ADD #n
Add the number n to the ACC
Subtract the contents of the given address
SUB <address>
from the ACC
SUB #n
Subtract the number n from the ACC
Store the contents of the ACC at the given
STO <address>
address
Gives a symbolic address <label> to the
<label>:
<data>
memory location with the contents <data>
# denotes a denary number, e.g. #123
<label> can be used in place of <address>
The current contents of memory are:
Address
Contents
125
563
63
899
ĬÙú¾Ġ´íÈõÏĪÅĊÝù¸þ×
,
,
Write assembly language code, using only the given instruction set to:
•
store the denary value 250 as labelled variable X
•
store the value stored in location 563 as labelled variable Y
•
add the value stored in variable X to the value stored in variable Y
•
subtract the value stored in location 899 from the current value in the Accumulator
•
store the result in variable Total.
Show the initialisation and values of the variables X, Y and Total in the table provided.
…
…
…
…
…
…
…
…
Label
Content
[7]
ĬÛú¾Ġ´íÈõÏĪÅĊÝû¸þ×
,
,
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
ĬÙú¾Ġ´íÈõÏĪÅĊßù¸Ā×

7
9618/31/O/N/24 · Question 2Oct/Nov 2024Paper 314 marks
Loading question…
Question text

2
Reduced Instruction Set Computers (RISC) is a type of processor.
Identify four features of a RISC processor.
1 …
…
2 …
…
3 …
…
4 …
…
[4]

8
9618/31/O/N/24 · Question 7Oct/Nov 2024Paper 3110 marks
Loading question…
Question text

7
The truth table for a logic circuit is shown.
INPUT
OUTPUT
A
B
C
D
T
0
0
0
0
0
0
0
0
1
1
0
0
1
0
0
0
0
1
1
1
0
1
0
0
0
0
1
0
1
0
0
1
1
0
0
0
1
1
1
0
1
0
0
0
0
1
0
0
1
1
1
0
1
0
0
1
0
1
1
1
1
1
0
0
0
1
1
0
1
1
1
1
1
0
0
1
1
1
1
1
(a) Write the Boolean logic expression that corresponds to the given truth table as the
sum-of-products.
T = …
… [3]
ĬÑĊ®Ġ´íÈõÏĪÅĊÝúµþ×
,
,
(b) Complete the Karnaugh map (K-map) for the given truth table.
AB
CD
00
01
11
10
00
01
11
10
[2]
(c) Draw loop(s) around appropriate group(s) in the K-map to produce an optimal sum-of-products.
[2]
(d) (i)
Write the Boolean logic expression from your answer to part (c) as the simplified
sum-of-products.
T = …
… [2]
(ii)
Use Boolean algebra to write your answer to part (d)(i) in its simplest form.
T = … [1]
ĬÓĊ®Ġ´íÈõÏĪÅĊÝüµþ×

Advertisement
9
9618/32/O/N/24 · Question 6Oct/Nov 2024Paper 329 marks
Loading question…
Question text

6
The truth table for a logic circuit is shown.
INPUT
OUTPUT
A
B
C
D
X
0
0
0
0
0
0
0
0
1
1
0
0
1
0
1
0
0
1
1
0
0
1
0
0
0
0
1
0
1
1
0
1
1
0
1
0
1
1
1
0
1
0
0
0
0
1
0
0
1
1
1
0
1
0
1
1
0
1
1
0
1
1
0
0
0
1
1
0
1
1
1
1
1
0
1
1
1
1
1
0
(a) Write the Boolean logic expression that corresponds to the given truth table as the
sum‑of‑products.
X = …
… [3]
ĬÑĊ®Ġ´íÈõÏĪÅĊÝù¶þ×
,
,
(b) Complete the Karnaugh map (K‑map) for the given truth table.
AB
CD
00
01
11
10
00
01
11
10
[2]
(c) Draw loop(s) around appropriate group(s) in the K‑map to produce an optimal sum‑of‑products.
[2]
(d) Write the Boolean logic expression from your answer to part (c) as the simplified
sum‑of‑products.
X = …
… [2]
ĬÓĊ®Ġ´íÈõÏĪÅĊÝû¶þ×

10
9618/32/O/N/24 · Question 8Oct/Nov 2024Paper 324 marks
Loading question…
Question text

8
Complex Instruction Set Computer (CISC) is a type of processor.
Identify four features of a CISC processor.
1 …
…
2 …
…
3 …
…
4 …
…
[4]

11
9618/33/O/N/24 · Question 7Oct/Nov 2024Paper 3310 marks
Loading question…
Question text

7
The truth table for a logic circuit is shown.
INPUT
OUTPUT
A
B
C
D
T
0
0
0
0
0
0
0
0
1
1
0
0
1
0
0
0
0
1
1
1
0
1
0
0
0
0
1
0
1
0
0
1
1
0
0
0
1
1
1
0
1
0
0
0
0
1
0
0
1
1
1
0
1
0
0
1
0
1
1
1
1
1
0
0
0
1
1
0
1
1
1
1
1
0
0
1
1
1
1
1
(a) Write the Boolean logic expression that corresponds to the given truth table as the
sum-of-products.
T = …
… [3]
ĬÑĊ®Ġ´íÈõÏĪÅĊÞûµþ×
,
,
(b) Complete the Karnaugh map (K-map) for the given truth table.
AB
CD
00
01
11
10
00
01
11
10
[2]
(c) Draw loop(s) around appropriate group(s) in the K-map to produce an optimal sum-of-products.
[2]
(d) (i)
Write the Boolean logic expression from your answer to part (c) as the simplified
sum-of-products.
T = …
… [2]
(ii)
Use Boolean algebra to write your answer to part (d)(i) in its simplest form.
T = … [1]
ĬÓĊ®Ġ´íÈõÏĪÅĊÞùµþ×

12
9618/31/O/N/23 · Question 5Oct/Nov 2023Paper 314 marks
Loading question…
Question text

5
Describe the features of SISD and MIMD computer architectures.
SISD …
…
…
…
MIMD …
…
…
…
[4]

13
9618/31/O/N/23 · Question 6Oct/Nov 2023Paper 316 marks
Loading question…
Question text

6
This diagram represents a logic circuit.
A
B
Z
C
D
(a) Complete the truth table for the given logic circuit.
Working space
A
B
C
D
Z
0
0
0
0
0
0
0
1
0
0
1
0
0
0
1
1
0
1
0
0
0
1
0
1
0
1
1
0
0
1
1
1
1
0
0
0
1
0
0
1
1
0
1
0
1
0
1
1
1
1
0
0
1
1
0
1
1
1
1
0
1
1
1
1
[3]
(b) Simplify the given Boolean expression using Boolean algebra.
Show your working.
Y = A.B.C.D + A.B.C.D + A.B.C.D + A.B.C.D
…
…
…
…
…
… [3]

Advertisement
14
9618/32/O/N/23 · Question 7Oct/Nov 2023Paper 325 marks
Loading question…
Question text

7
(a) This logic circuit represents the Boolean expression: X = A + B + C
A
X
B
C
Complete this truth table for the given logic circuit.
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
[1]
(b) Apply De Morgan’s laws to the expression: X = A + B + C
X = … [1]
(c) Simplify the following expression using Boolean algebra.
Show all the stages in your simplification.
T = X.Y.Z + X.Y.Z + X
…
…
…
…
…
… [3]

15
9618/32/O/N/23 · Question 10Oct/Nov 2023Paper 324 marks
Loading question…
Question text

10 Describe the features of the SIMD and MISD computer architectures.
SIMD …
…
…
…
MISD …
…
…
…
[4]

Advertisement