Question 1
A charity uses a desktop computer to record financial donations that it receives. The computer contains a single core, 2.4GHz processor with 2MB cache.
The processor uses the Von Neumann architecture.
Describe what is meant by the term ‘Von Neumann architecture’.
[2]
Give one way that the Harvard architecture differs from the Von Neumann architecture.
[1]
The charity is concerned that the performance of the computer is not sufficient and wishes to replace the processor.
Give two features of a replacement processor that would increase the typical performance of the computer.
[2]
Fig. 1 shows assembly code written using the Little Man Computer (LMC). The program calculates and outputs the total amount that is donated to the charity in any particular day. Depending on the amount, an additional bonus may be added to each amount donated.
The program shown in Fig. 1 is run once using three different inputs. Therefore, while the program is running once, it will output the updated total three times.
Give the total values that are output when the values 10, 50 and 120 are input into this program.
[3]
Write LMC code that will reset the value of the memory location labelled total to zero and then stop the program.
[4]
This program is run on a processor that allows pipelining.
Define the term ‘pipelining’.
[3]
Explain one benefit to the charity of using a processor that allows pipelining.
[2]
The processor contains registers including the accumulator and the program counter. The contents of these registers are modified during the Fetch-Decode-Execute cycle.
Describe how the accumulator is used during the Fetch-Decode-Execute cycle.
[2]
Describe how the program counter is used during the Fetch-Decode-Execute cycle.
[2]
State the name of three other registers that are used during the Fetch-Decode-Execute cycle.
[3]
* The charity has several desktop computers in their office that use a CISC processor. They are considering buying mobile devices for their staff to use when they are not in the office.
Discuss whether these mobile devices should use the same CISC processors that are used in their desktop computers or if they should use a RISC processor instead.
You should include the following in your answer:
• the difference between each processor type
• the suitability of each processor type for mobile devices.
[12]