15.1 Processors, Parallel Processing and Virtual Machines
15.1 Processors, Parallel Processing and Virtual Machines
1 (c) A company develops software. It provides virtual machines for its software developers. The company has
a large number of clients who use a wide range of hardware and software.
(i) Explain the term virtual machine. Ensure that your answer includes the terms hardware and software. [2]
(ii) Give one benefit to the company of using virtual machines. [1]
(iii) Give one drawback to the company of using virtual machines. [1]
Oct/Nov 2015.P31/P33
4 (a) Three descriptions and two types of processor are shown below.
[3]
(b) In a RISC processor three instructions (A followed by B, followed by C) are processed using pipelining.
The following table shows the five stages that occur when instructions are fetched and executed.
(i) The ‘A’ in the table indicates that instruction A has been fetched in time interval 1.
Complete the table to show the time interval in which each stage of each instruction (A, B, C) is carried out.
Page 1 of 10
Computer Science 9618
Topical Past Papers
Paper 3 - Questions
[3]
(ii) The completed table shows how pipelining allows instructions to be carried out more rapidly. Each time
interval represents one clock cycle.
Calculate how many clock cycles are saved by the use of pipelining in the above example.
Oct/Nov 2015.P32
4 (a) Four descriptions and four types of computer architecture are shown below.
Draw a line to connect each description to the appropriate type of computer architecture.
[4]
Page 2 of 10
Computer Science 9618
Topical Past Papers
Paper 3 - Questions
(c) There are both hardware and software issues that have to be considered for parallel processing to
succeed.
Oct/Nov 2017.P31/P33
2 (a) The following diagram shows four descriptions and four types of computer architecture.
[4]
(b) A computer has a single processor that contains four processing units.
Page 3 of 10
Computer Science 9618
Topical Past Papers
Paper 3 - Questions
The program code used in the application will need to be updated to ensure that the power of the massively
parallel computer is fully used.
(d) Explain one of the hardware issues that will have to be overcome if a massively parallel computer is to
function successfully. [2]
Oct/Nov 2017.P32
2 (a) The following diagram shows four descriptions and two types of processor.
[4]
Page 4 of 10
Computer Science 9618
Topical Past Papers
Paper 3 - Questions
Two instructions, D followed by E, are fetched and executed. The ‘E’ in the incomplete table shows that
instruction E has been fetched in time interval 2.
[3]
(c) The instruction set for a RISC processor that allows pipelining includes the following instruction.
(i) Explain why pipelining fails for the first two instructions. [2]
(ii) The instructions were produced by a compiler after translation of a high-level language program.
State how the code from the compiler could have been optimised to overcome the problem in part (c)(i). [1]
Page 5 of 10
Computer Science 9618
Topical Past Papers
Paper 3 - Questions
(i) State the operating systems labelled A and B in the diagram. [2]
Describe what happens after .......A...... operating system 1 has received the data request from the
application. [3]
Page 6 of 10
Computer Science 9618
Topical Past Papers
Paper 3 - Questions
(a) Explain how the processes are affected when the following events take place.
(i) The running process needs to read a file from a disk. [2]
(b)(i) State the conditions that are necessary for a process to move from the ready to the running state. [2]
(ii) State the conditions that are necessary for a process to move from the blocked to the ready state. [2]
Oct/Nov 2018.P32
5 (a) Most desktop or laptop computers use CISC (Complex Instruction Set Computing) architecture. Most
smartphones and tablets use RISC (Reduced Instruction Set Computing).
State four features that are different for the CISC and RISC architectures. [4]
(b) In a RISC processor, four instructions (A, B, C, D) are processed using pipelining.
The following table shows five stages that take place when instructions are fetched and executed. In time
interval 1, instruction A has been fetched.
(i) In the table, write the instruction labels (A, B, C, D) in the correct time interval for each stage. Each
operation only takes one time interval.
[3]
Page 7 of 10
Computer Science 9618
Topical Past Papers
Paper 3 - Questions
Calculate how many clock cycles are saved by using pipelining in the example in part (b)(i).
Put a tick (✓) in each row to identify the computer architecture associated with each statement.
[4]
Page 8 of 10
Computer Science 9618
Topical Past Papers
Paper 3 - Questions
7 (a) RISC (Reduced Instruction Set Computing) and CISC (Complex Instruction Set Computing) are two types of
processor.
Tick one box in each row to show if the statement applies to RISC or CISC processors.
[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. [4]
Oct/Nov 2019.P31/P33
May/June 2020.P31/P32/P33
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.
Page 9 of 10
Computer Science 9618
Topical Past Papers
Paper 3 - Questions
Oct/Nov 2020.P31/P33
A virtual machine allows multiple ................................................ operating systems to run on one computer
using a ................................................ operating system.
[4]
Oct/Nov 2021.P32
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. [4]
Page 10 of 10