Cambridge A2 Level Computer Science 9618 · 15.1 Processors, Parallel Processing and Virtual Machines

Q12 · 9618/32/M/J/24 Q9

Worked solution from the Hardware and Virtual Machines Paper 3 Advanced Theory booklet, Part 1 of 2.

Q129618/32/M/J/24original Q9Structured · 7 marks
Question 9 from 9618/32/M/J/24

Worked solution

(a)

Give two benefits and two limitations, each with a short reason.

Benefit 1: compatibility, software that does not work on the host computer can run in the virtual machine (for example old software on a new system, or a different operating system on the same hardware) [1]

Benefit 2: protection, the guest operating system cannot affect the host or other virtual machines, so a crash or fault does not harm the host [1]

Another benefit that scores: lower cost, several virtual machines share one set of hardware so no extra computers are needed.

Limitation 1: performance, the guest runs slower than on its own machine because of the extra software layer and the extra memory it uses [1]

Limitation 2: complexity or hardware issues, setting up and maintaining a virtual machine can be expensive and time-consuming, or some hardware cannot be used from inside the virtual machine [1]

(b)

Host operating system: it is the computer's normal operating system, in control of all the physical resources, and it runs the virtual machine software and gives the user an interface to it [1]

Guest operating system: it runs inside the virtual machine and controls the virtual hardware or software, for example giving a virtual user interface [1]

The guest operating system runs under the control of the host operating system, and reaches the real hardware only through the virtual machine and the host [1]

KEY IDEAThe host operating system owns the real hardware and runs the virtual machine; the guest operating system lives inside it and depends on the host.
TOTAL 7 marks

Official mark scheme

Mark scheme for 9618/32/M/J/24 question 9
VIDEO
▶ Starts at Q9 (1:05:20)

Starts at Q9 (1:05:20) · by Pseudocode Pro. Tap the picture to open it on YouTube.

Solutions follow the official Cambridge mark schemes; marks are shown in grey. Videos are from other YouTube channels. Paper codes read component / series / year: M/J = May/June, O/N = October/November. Past-paper questions © UCLES, reproduced for classroom practice.