Hardware: logic circuits, Boolean algebra and processors – A Level Computer Science (old syllabus, to 2021) (9608)

30 questions · page 1 of 2 · Clear filters

0 / 0Answer a question to start your score.
Quick quiz (10)Saved 0
Advertisement
1
9608/31/O/N/21 · Question 4Oct/Nov 2021Paper 3110 marks
Loading question…
Question text

4
(a) The truth table for a logic circuit with four inputs is shown.
INPUT
OUTPUT
P
Q
R
S
X
0
0
0
0
1
0
0
0
1
1
0
0
1
0
0
0
0
1
1
0
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
0
1
0
1
0
0
1
0
1
1
0
1
1
0
0
0
1
1
0
1
0
1
1
1
0
1
1
1
1
1
1
(i)
Write the Boolean algebraic expression for the truth table as a sum-of-products.
X = … [2]
(ii)
Complete the following Karnaugh Map (K-map) for the truth table.
PQ
00
01
11
10
00
01
RS
11
10
[2]
(iii)
The K-map can be used to simplify the expression in part (a)(i).
Draw loop(s) around appropriate groups in the K-map to produce an optimal
sum-of-products.
[2]
(iv)
Write the simplified sum-of-products from the K-map.
X = … [2]
(b) Simplify the expression for X, as represented by the truth table in part (a), using Boolean
Algebra.
…
…
…
… [2]

2
9608/32/O/N/21 · Question 3Oct/Nov 2021Paper 3210 marks
Loading question…
Question text

3
(a) The truth table for a logic circuit with four inputs is shown.
INPUT
OUTPUT
P
Q
R
S
X
0
0
0
0
1
0
0
0
1
0
0
0
1
0
0
0
0
1
1
0
0
1
0
0
0
0
1
0
1
0
0
1
1
0
0
0
1
1
1
1
1
0
0
0
1
1
0
0
1
0
1
0
1
0
0
1
0
1
1
0
1
1
0
0
0
1
1
0
1
0
1
1
1
0
0
1
1
1
1
1
(i)
Write the Boolean algebraic expression for the truth table as a sum-of-products.
X = … [2]
(ii)
Complete the following Karnaugh Map (K-map) for the truth table.
PQ
00
01
11
10
00
01
RS
11
10
[2]
(iii)
The K-map can be used to simplify the expression in part (a)(i).
Draw loop(s) around appropriate groups in the K-map to produce an optimal
sum-of-products.
[2]
(iv)
Write the simplified sum-of-products from the K-map.
X = … [2]
(b) Simplify the expression for X, represented by the truth table in part (a), using Boolean
Algebra.
…
…
…
… [2]

3
9608/32/O/N/21 · Question 7Oct/Nov 2021Paper 324 marks
Loading question…
Question text

7
A virtual machine is the software emulation of a computer system using another computer system.
Describe two benefits and two limitations of using a virtual machine.
Benefit 1 …
…
…
Benefit 2 …
…
…
Limitation 1 …
…
…
Limitation 2 …
…
…
[4]

Advertisement
4
9608/31/O/N/20 · Question 4Oct/Nov 2020Paper 3115 marks
Loading question…
Question text

4
The following truth table represents a logic circuit with three inputs and two outputs.
INPUT
OUTPUT
A
B
C
X
Y
0
0
0
0
0
0
0
1
1
0
0
1
0
1
0
0
1
1
0
1
1
0
0
1
0
1
0
1
0
1
1
1
0
0
1
1
1
1
1
1
(a) Write the Boolean expressions for the truth table as sum-of-products.
X = …
…
Y = …
…
[4]
(b) Complete the Karnaugh Maps (K-maps) for the truth table.
OUTPUT X
OUTPUT Y
AB
AB
00
01
11
10
00
01
11
10
0
0
C
C
1
1
[2]
(c) The K-maps can be used to simplify one of the expressions in part (a).
(i)
Draw loop(s) around appropriate group(s) of 1s to produce an optimal sum-of-products
for the single output table that can be simplified in part (b).
[3]
(ii)
Write the simplified sum-of-products expressions for this output from part (c)(i).
… [3]
(d) Identify the common logic circuit given by the truth table in part (a). Give the use of each
output.
Logic circuit …
Use of X …
Use of Y …
[3]

5
9608/31/O/N/20 · Question 5Oct/Nov 2020Paper 314 marks
Loading question…
Question text

5
Complete these statements about a virtual machine.
A virtual machine is … that emulates a
… computer system.
A virtual machine allows multiple … operating systems to run
on one computer using a … operating system.
[4]

6
9608/32/O/N/20 · Question 4Oct/Nov 2020Paper 329 marks
Loading question…
Question text

4
The following truth table represents a logic circuit with three inputs and two outputs.
INPUT
OUTPUT
A
B
C
X
Y
0
0
0
1
0
0
0
1
0
0
0
1
0
0
0
0
1
1
0
1
1
0
0
0
0
1
0
1
0
1
1
1
0
0
0
1
1
1
1
1
(a) Write the Boolean expressions for the truth table as sum-of-products.
X = …
Y = …
[3]
(b) Complete the Karnaugh Maps (K-maps) for the truth table.
OUTPUT X
OUTPUT Y
AB
AB
00
01
11
10
00
01
11
10
0
0
C
C
1
1
[2]
(c) The K-maps can be used to simplify one of the expressions in part (a).
(i)
Draw loop(s) around appropriate group(s) of 1s to produce an optimal sum-of-products
for the single output table that can be simplified in part (b).
[2]
(ii)
Write the simplified sum-of-products expressions for this output from part (c)(i).
… [2]

7
9608/32/O/N/20 · Question 5Oct/Nov 2020Paper 325 marks
Loading question…
Question text

5
Complete these statements about flip-flops.
A flip-flop is a … .
It has … stable states.
A flip-flop is used for … .
There are different types of flip-flop, for example … and
… .
[5]

8
9608/32/O/N/20 · Question 6Oct/Nov 2020Paper 3210 marks
Loading question…
Question text

6
Mahmoud is developing a new application, MyApp, that needs to work with three different
operating systems (OS1, OS2 and OS3).
He has decided to use virtual machine software to test MyApp with these three different operating
systems.
The diagram shows MyApp running on three virtual machines.
MyApp
MyApp
MyApp
OS1
OS2
OS3
Virtual machine software
OS4
Hardware
(a) Describe the roles of the four operating systems (OS1, OS2, OS3 and OS4) shown in the
diagram.
…
…
…
…
… [3]
(b) Describe the role of the virtual machine software in the testing of MyApp.
…
…
…
…
…
… [3]
(c) Explain one benefit and one drawback of this approach to testing MyApp.
Benefit …
…
…
…
Drawback …
…
…
…
[4]

Advertisement
9
9608/31/M/J/20 · Question 4May/June 2020Paper 318 marks
Loading question…
Question text

4
(a) Write the Boolean algebraic expressions for the following logic circuit.
P
X
Q
R
Y
X = …
…
Y = …
…
[5]
(b) The logic circuit given in part (a) is a full adder.
(i)
Give the purpose of outputs X and Y in this circuit.
X …
Y …
[2]
(ii)
Give the use of the input R in this circuit.
… [1]

10
9608/31/M/J/20 · Question 5May/June 2020Paper 313 marks
Loading question…
Question text

5
Complete these three statements about computer processors.
A processor with a few simple fixed-length instructions that have a small number of instruction
formats is called a … processor.
A processor with many complex variable-length instructions that has many instruction formats is
called a … processor.
Instruction-level parallelism, applied to the execution of instructions during the fetch-execute cycle,
is called … .
[3]

11
9608/31/O/N/19 · Question 4Oct/Nov 2019Paper 317 marks
Loading question…
Question text

4
A Boolean expression produces the following truth table.
INPUT
OUTPUT
A
B
C
X
0
0
0
1
0
0
1
1
0
1
0
0
0
1
1
1
1
0
0
0
1
0
1
1
1
1
0
0
1
1
1
1
(a) Write the Boolean expression for the truth table as a sum-of-products.
X = … [2]
(b) Complete the Karnaugh Map (K-map) for the truth table above.
AB
00
01
11
10
0
C
1
[1]
The K-map can be used to simplify the expression in part (a).
(c) Draw loops around appropriate groups in the K-map in part (b) to produce an optimal sum-of-
products.
[2]
(d) Write, using your answer to part (c), a simplified sum-of-products expression for the truth
table.
X = … [2]

12
9608/32/O/N/19 · Question 2Oct/Nov 2019Paper 3211 marks
Loading question…
Question text

2
(a) A Boolean expression produces the following truth table.
INPUT
OUTPUT
A
B
C
X
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
0
1
1
1
0
(i)
Write the Boolean expression for the truth table by applying the sum-of-products.
X = …
… [3]
(ii)
Complete the Karnaugh Map (K-map) for the truth table in part (a).
AB
00
01
11
10
0
C
1
[1]
The K-map can be used to simplify the function in part (a)(i).
(iii)
Draw loop(s) around appropriate groups in the table in part (a)(ii), to produce an optimal
sum-of-products.
[2]
(iv)
Write, using your answer to part (a)(iii), a simplified Boolean expression for your
Karnaugh map.
X = … [2]
(b) Simplify the following expression using De Morgan’s laws. Show your working.
(W + X) • (Y + Z)
…
…
…
…
…
… [3]

13
9608/31/M/J/19 · Question 3May/June 2019Paper 3111 marks
Loading question…
Question text

3
(a) The following logic circuit can be simplified to use only one gate.
A
X
B
Give the name of this single gate.
… [1]
(b) (i)
Complete the truth table for the logic circuit.
A
X
B
Y
Working space
A
B
X
Y
0
0
0
1
1
0
1
1
[2]
(ii)
Give the name of the logic circuit that has this truth table.
… [1]
(iii)
Give the uses for outputs X and Y.
X …
Y …
[2]
(c) Consider the following Boolean algebraic expression:
A . B . C . D + A . B . C . D + A . B . C . D + A . B . C . D + A . B . C . D
Use Boolean algebra to simplify the expression. Show your working.
Working
…
…
…
…
…
…
…
…
…
Simplified expression
… [5]

Advertisement
14
9608/32/M/J/19 · Question 3May/June 2019Paper 3213 marks
Loading question…
Question text

3
(a) A Boolean algebraic expression produces the following truth table.
INPUT
OUTPUT
A
B
C
X
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
0
1
1
1
0
(i)
Complete the Karnaugh Map (K-map) for the truth table.
AB
00
01
11
10
0
C
1
[1]
The K-map can be used to simplify the expression that produced the truth table in part (a).
(ii)
Draw loops around appropriate groups of 1s in the K-map to produce an optimal sum-of-
products.
[2]
(iii)
Write the simplified sum-of-products Boolean expression for the truth table.
X = … [2]
(b) A logic circuit with four inputs produces the following truth table.
INPUT
OUTPUT
A
B
C
D
X
0
0
0
0
0
0
0
0
1
0
0
0
1
0
1
0
0
1
1
1
0
1
0
0
0
0
1
0
1
0
0
1
1
0
1
0
1
1
1
1
1
0
0
0
1
1
0
0
1
1
1
0
1
0
0
1
0
1
1
0
1
1
0
0
1
1
1
0
1
1
1
1
1
0
0
1
1
1
1
0
(i)
Complete the K-map for the truth table.
AB
CD
[4]
(ii)
Draw loops around appropriate groups of 1s in the K-map to produce an optimal
sum-of-products.
[2]
(iii)
Write the simplified sum-of-products Boolean algebraic expression for the truth table.
X = … [2]

15
9608/32/M/J/19 · Question 7May/June 2019Paper 3210 marks
Loading question…
Question text

7
(a) RISC (Reduced Instruction Set Computing) and CISC (Complex Instruction Set Computing)
are two types of processor.
Tick (3) one box in each row to show if the statement applies to RISC or CISC processors.
Statement
RISC
CISC
Larger instruction set
Variable length instructions
Smaller number of instruction formats
Pipelining is easier
Microprogrammed control unit
Multi-cycle instructions
[3]
(b) In parallel processing, a computer can have multiple processors running in parallel.
(i)
State the four basic computer architectures used in parallel processing.
1 …
2 …
3 …
4 …
[4]
(ii)
Describe what is meant by a massively parallel computer.
…
…
…
…
…
… [3]

Advertisement