Hardware, Boolean algebra and virtual machines – A Level Computer Science (9618)
46 questions · page 2 of 4
Question text
3
This truth table represents a logic circuit.
INPUT
OUTPUT
A
B
C
D
Z
0
0
0
0
0
0
0
0
1
0
0
0
1
0
1
0
0
1
1
1
0
1
0
0
1
0
1
0
1
0
0
1
1
0
0
0
1
1
1
0
1
0
0
0
0
1
0
0
1
0
1
0
1
0
1
1
0
1
1
1
1
1
0
0
1
1
1
0
1
0
1
1
1
0
0
1
1
1
1
0
(a) Write the Boolean logic expression that corresponds to the given truth table as the
sum-of-products.
Z = …
… [2]
ĬÍĊ®Ġ´íÈõÏĪÅĊßú·Ā×
,
,
(b) (i)
Complete the Karnaugh map (K-map) for the given truth table.
AB
01
11
10
00
CD
00
01
11
10
[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 logic expression from your answer to part (b)(ii) as the simplified
sum-of-products.
Z = …
… [2]
ĬÏĊ®Ġ´íÈõÏĪÅĊßü·Ā×
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]
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]
ĬÓĊ®Ġ´íÈõÏĪÅĊÝüµþ×
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]
ĬÓĊ®Ġ´íÈõÏĪÅĊÝû¶þ×
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]
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]
ĬÓĊ®Ġ´íÈõÏĪÅĊÞùµþ×
Question text
6
The diagram shows a logic circuit.
Q
A
P
R
B
Z
S
C
(a) 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) Write the Boolean expression that corresponds to the logic circuit as a sum-of-products.
Z = …
…
…
… [2]
(c) (i)
Complete the Karnaugh map (K-map) for the Boolean expression:
A.B.C + A.B.C + A.B.C + A.B.C + A.B.C + A.B.C
BC
00
01
11
10
A
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 (c)(ii) as a simplified
sum-of-products.
…
… [1]
Question text
11
Reduced Instruction Set Computers (RISC) and Complex Instruction Set Computers (CISC) are
two types of processor.
(a) State two features of RISC processors.
…
…
…
… [2]
(b) Outline the process of interrupt handling as it could be applied to RISC or CISC processors.
…
…
…
…
…
… [3]
(c) Explain how pipelining affects interrupt handling for RISC processors.
…
…
…
…
…
… [3]
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
6
The diagram shows a logic circuit.
P
A
S
Q
Z
B
T
R
C
(a) Complete the truth table for the given logic circuit.
Show your working.
Working space
A
B
C
P
Q
R
S
T
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) Write the Boolean expression that corresponds to the logic circuit as a sum-of-products.
Z = …
…
…
… [2]
(c) (i)
Complete the Karnaugh map (K-map) for this Boolean expression:
– – – – – –
– –
–
A .B .C + A .B.C + A .B.C + A.B .C + A.B.C + A.B.C
BC
00
01
11
10
A
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 c(ii) as a simplified
sum-of-products.
…
… [1]
Question text
9
(a) Outline two benefits and two limitations of a virtual machine.
Benefit 1 …
…
…
Benefit 2 …
…
…
Limitation 1 …
…
…
Limitation 2 …
…
…
[4]
(b) Explain the roles of the host operating system and the guest operating system as used in a
computer system running a virtual machine.
…
…
…
…
…
… [3]
Question text
6
The diagram shows a logic circuit.
Q
A
P
R
B
Z
S
C
(a) 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) Write the Boolean expression that corresponds to the logic circuit as a sum-of-products.
Z = …
…
…
… [2]
,
,
(c) (i)
Complete the Karnaugh map (K-map) for the Boolean expression:
A.B.C + A.B.C + A.B.C + A.B.C + A.B.C + A.B.C
BC
00
01
11
10
A
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 (c)(ii) as a simplified
sum-of-products.
…
… [1]
Question text
11
Reduced Instruction Set Computers (RISC) and Complex Instruction Set Computers (CISC) are
two types of processor.
(a) State two features of RISC processors.
…
…
…
… [2]
(b) Outline the process of interrupt handling as it could be applied to RISC or CISC processors.
…
…
…
…
…
… [3]
(c) Explain how pipelining affects interrupt handling for RISC processors.
…
…
…
…
…
… [3]
,
,
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
5
Describe the features of SISD and MIMD computer architectures.
SISD …
…
…
…
MIMD …
…
…
…
[4]
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]
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]