Rewrite CISC code for a RISC processor and compare instructions, bytes and clock cycles. Then sort RISC and CISC features, Flynn's classes and virtual machines.
Exam questions on what this lab teaches, with the points that gain marks.
9618/33 October/November 2022 · Question 10(a)2 marks
Tick one box in each row to show if the statement applies to RISC or CISC processors.
Points that gain marks
RISC: uses a smaller instruction set; uses single-cycle instructions and limited addressing modes; uses a system where cache is split between data and instructions.
CISC: uses fewer general-purpose registers; uses both hardwired and micro-coded control unit.
Two marks for all five rows, one mark for four rows.
In this lab: Level 4.
9618/31 May/June 2024 · Question 11(a)2 marks
State two features of RISC processors.
Points that gain marks
Hard-wired control unit; relatively few, simple instructions; relatively few addressing modes.
A single cycle for each instruction; fixed-length, fixed-format instructions.
General-purpose registers; pipelining is straightforward to apply.
In this lab: Levels 1–4.
9618/32 October/November 2023 · Question 104 marks
Describe the features of the SIMD and MISD computer architectures.
Points that gain marks
SIMD: Single Instruction, Multiple Data; performs the same operation on multiple different data streams simultaneously.
The instructions can be performed sequentially, taking advantage of pipelining; parallel computers with multiple processors.
MISD: Multiple Instruction, Single Data; performs different operations on the same data stream.
Each processor works on the same data stream independently; parallel computers with multiple processors.
In this lab: Level 5.
9618/32 May/June 2024 · Question 97 marks
(a) Outline two benefits and two limitations of a virtual machine. (b) Explain the roles of the host operating system and the guest operating system as used in a computer system running a virtual machine.
Points that gain marks
(a) Benefits: compatibility (software that is not compatible with the host can run); protection (the guest has no effect outside the VM); cost (no extra hardware).
Limitations: performance (slower than on its own machine); complexity (expensive and complex to set up); some hardware or software cannot be emulated.
(b) Host OS: the normal OS of the host computer; controls all its resources; provides an interface to operate the VM software and runs it.
Guest OS: runs within the virtual machine; controls the virtual hardware; provides a virtual user interface; runs under the control of the host OS.