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

46 questions · page 3 of 4

0 / 0Answer a question to start your score.
Quick quiz (10)Saved 0
Advertisement
31
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]

32
9618/31/M/J/23 · Question 7May/June 2023Paper 317 marks
Loading question…
Question text

7
(a) Complete the Karnaugh map (K-map) for the following Boolean expression.
Z = A.B.C.D + A.B.C.D + A.B.C.D + A.B.C.D + A.B.C.D + A.B.C.D
AB
00
01
11
10
CD
00
01
11
10
[2]
(b) Draw loop(s) around appropriate group(s) in the K-map to produce an optimal
sum-of-products.
[2]
(c) Write the Boolean logic expression from your answer to part (b) as a simplified
sum-of-products.
Z = …
… [2]
(d) Use Boolean algebra to give your answer to part (c) in its simplest form.
Z = … [1]

33
9618/31/M/J/23 · Question 8May/June 2023Paper 313 marks
Loading question…
Question text

8
Outline the characteristics of massively parallel computers.
…
…
…
…
…
… [3]

Advertisement
34
9618/32/M/J/23 · Question 8May/June 2023Paper 326 marks
Loading question…
Question text

8
(a) Describe the use of pipelining in Reduced Instruction Set Computers (RISC).
…
…
…
… [2]
(b) The processing of instructions is divided into five stages:
•
instruction fetch (IF)
•
instruction decode (ID)
•
operand fetch (OF)
•
instruction execute (IE)
•
write back result (WB)
Each stage is carried out using a different register when pipelining is used.
Complete the table to show how a program consisting of six instructions would be completed
using pipelining.
Clock cycles
1
2
3
4
5
6
7
8
9
10
11
12
IF
Processor stages
ID
OF
IE
WB
[4]

35
9618/32/M/J/23 · Question 9May/June 2023Paper 3210 marks
Loading question…
Question text

9
This truth table represents a logic circuit.
INPUT
OUTPUT
A
B
C
D
Z
0
0
0
0
1
0
0
0
1
1
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
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
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 = …
… [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 a simplified
sum‑of‑products.
Z = …
… [2]
(e) Use Boolean algebra to give your answer to part (d) in its simplest form.
Z = … [1]

36
9618/31/O/N/22 · Question 7Oct/Nov 2022Paper 317 marks
Loading question…
Question text

7
(a) Complete the Karnaugh map (K-map) for the Boolean expression.
Z = Ā. B. C̄. D̄ + Ā. B. C̄. D + A. B. C̄. D̄ + A. B. C̄. D + A. B̄. C̄. D̄ + A. B̄. C̄. D
AB
00
01
11
10
CD
00
01
11
10
[2]
(b) Draw loop(s) around appropriate group(s) in the K-map to produce an optimal
sum-of-products.
[2]
(c) Write the Boolean expression from your answer to part (b) as a simplified sum-of-products.
Use Boolean algebra to give your answer in its simplest form.
Simplified sum-of-products
Z = …
Simplest form
Z = …
[3]

37
9618/31/O/N/22 · Question 10Oct/Nov 2022Paper 316 marks
Loading question…
Question text

10 Reduced Instruction Set Computers (RISC) and Complex Instruction Set Computers (CISC) are
two types of processor.
(a) Tick (3) one box in each row to show if the statement applies to RISC or CISC processors.
Statement
RISC
CISC
uses a smaller instruction set
uses single-cycle instructions and limited addressing modes
uses fewer general-purpose registers
uses both hardwired and micro-coded control unit
uses a system where cache is split between data and
instructions
[2]
(b) Describe the process of pipelining during the fetch-execute cycle in RISC processors.
…
…
…
…
…
…
…
… [4]

38
9618/32/O/N/22 · Question 5Oct/Nov 2022Paper 326 marks
Loading question…
Question text

5
Describe what is meant by a virtual machine.
Include in your answer two benefits and two drawbacks of using a virtual machine.
Description …
…
…
…
Benefit 1 …
…
Benefit 2 …
…
Drawback 1 …
…
Drawback 2 …
…
[6]

Advertisement
39
9618/32/O/N/22 · Question 8Oct/Nov 2022Paper 328 marks
Loading question…
Question text

8
(a) Draw a logic circuit for an SR flip-flop and label the inputs.
…
Q
Q̄
…
[4]
(b) State the purpose of a flip-flop.
…
… [1]
(c) Simplify the following expression using Boolean algebra, including De Morgan’s laws.
Show your working.
(A.B).(A.C).(B.D)
Working …
…
…
…
…
Answer …
[3]

40
9618/31/M/J/22 · Question 4May/June 2022Paper 316 marks
Loading question…
Question text

4
Reduced Instruction Set Computers (RISC) and Complex Instruction Set Computers (CISC) are
two types of processor.
(a) Describe what is meant by RISC and CISC processors.
RISC …
…
…
…
CISC …
…
…
…
[4]
(b) Identify two differences between RISC and CISC processors.
1 …
…
…
2 …
…
…
[2]

41
9618/31/M/J/22 · Question 6May/June 2022Paper 316 marks
Loading question…
Question text

6
A virtual machine is used to emulate a new computer system.
Describe two benefits and one limitation of using a virtual machine for this purpose.
Benefit 1 …
…
…
…
…
Benefit 2 …
…
…
…
…
Limitation …
…
…
…
…
[6]

42
9618/31/M/J/22 · Question 9May/June 2022Paper 3110 marks
Loading question…
Question text

9
The table shows assembly language instructions for a processor that has one general purpose
register, the Accumulator (ACC).
Instruction
Explanation
Label
Opcode
Operand
LDM #n
Load the number n to ACC
LDD <address>
Load the contents of the given address to ACC
The address to be used is at the given address
LDI <address>
Load the contents of this second address to ACC
ADD <address>
Add the contents of the given address to the ACC
STO <address>
Store the contents of the ACC at the given address
Gives a symbolic address <label> to the memory
<label>:
<data>
location with the contents <data>
<label> can be used in place of <address>
# denotes a denary number, e.g. #123
(a) The address 500 contains the value 100 and the address 100 contains the value 20.
State the addressing mode and the contents of ACC after each instruction has been executed.
Addressing mode …
LDM #500
Contents of ACC …
Addressing mode …
LDD 500
Contents of ACC …
Addressing mode …
LDI 500
Contents of ACC …
[3]
(b) Use only the given instruction set to write assembly language code to:
•
use the constant 20 which needs to be stored
•
add this constant to the value stored in the address contained in the variable Y
•
store the result in variable Z.
Instruction
Label
Opcode
Operand
[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

43
9618/32/M/J/22 · Question 5May/June 2022Paper 326 marks
Loading question…
Question text

5
There are four basic categories of computer architecture. Single Instruction Single Data (SISD) is
one architecture.
Identify the three other categories of computer architecture.
Describe each category that you identify.
Architecture 1 …
Description …
…
…
…
Architecture 2 …
Description …
…
…
…
Architecture 3 …
Description …
…
…
…
[6]

Advertisement
44
9618/32/M/J/22 · Question 6May/June 2022Paper 325 marks
Loading question…
Question text

6
A logic circuit has two inputs A and B, and two outputs E and F.
A
E
B
F
(a) Complete the truth table for this logic circuit.
INPUT
OUTPUT
A
B
E
F
0
0
0
1
1
0
1
1
[2]
(b) (i)
State the name of this logic circuit.
… [1]
(ii)
State the purpose of each output E and F.
Purpose of E …
Purpose of F …
[2]

45
9618/31/O/N/21 · Question 7Oct/Nov 2021Paper 3110 marks
Loading question…
Question text

7
(a) Write the Boolean expression that corresponds to the given truth table as a sum-of-products.
INPUT
OUTPUT
A
B
C
D
Z
0
0
0
0
0
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
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
1
1
1
0
1
1
1
1
1
0
1
1
1
1
1
1
Z = …
… [3]
(b) (i)
Complete the Karnaugh map (K-map) for the given truth table.
AB
00
01
11
10
CD
00
01
11
10
[2]
(ii)
Draw loop(s) around appropriate group(s) of 1s 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.
Z = …
… [2]
(iv)
Write the simplified Boolean expression for your answer to part b(iii).
Z = …
… [1]

Advertisement