Structure & Function of the Processor (OCR A Level Computer Science): Exam Questions

Exam code: H446

1 hour22 questions
1
3 marks

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 contains registers including the accumulator and the program counter. The contents of these registers are modified during the Fetch-Decode-Execute cycle.

State the name of three other registers that are used during the Fetch-Decode-Execute cycle.

2
2 marks

A program written using the Little Man Computer instruction set is shown in Fig. 1.

Assembly code listing featuring input, storing, loading, subtraction, branching, output, addition, halting, and data declaration for basic operations.

Various registers are used when the program above is executed.

State what is meant by the term ‘register’.

3
2 marks

OCR Insurance uses a computer system to calculate the price that customers pay for car insurance.

The computer system contains a CPU, GPU, RAM and ROM

State two factors that affect the performance of a CPU.

4
1 mark

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.

Give one way that the Harvard architecture differs from the Von Neumann architecture.

5
2 marks

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 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.

6
2 marks

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 program counter is used during the Fetch-Decode-Execute cycle.

7
1 mark

The stored program concept uses the Fetch-Decode-Execute cycle to get the next instruction from memory and then execute it.

One of the instructions that may be fetched and executed as part of this cycle is a branch instruction.

State the name of the register that would be altered in the execute phase during a branch instruction.

1a
3 marks

Fig. 1 shows assembly code written using the Little Man Computer (LMC).

The program calculates and outputs the total amount that is donated to a charity in any particular day. Depending on the amount, an additional bonus may be added to each amount donated.

Assembly-like code listing with labels such as start, nobonus, and bonus, performing arithmetic using variables like hundred, twenty, donation, and total.

This program is run on a processor that allows pipelining.

Define the term ‘pipelining’.

1b
2 marks

Explain one benefit to the charity of using a processor that allows pipelining.

2
3 marks

The CPU uses pipelining to improve efficiency.

Explain what is meant by the term ‘pipelining’

3
2 marks

Explain why pipelining can improve the performance of the processor.

4
2 marks

A program written using the Little Man Computer instruction set is shown in Fig. 1

Assembly language code listing with variables and instructions: INP, STA numone, LDA, SUB, BRP pos, OUT, HLT, DAT numone, numtwo, one, count.

Various registers are used when the program above is executed.

Explain how the accumulator is used when the line BRP pos is executed.

5
2 marks

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’.

6
2 marks

A charity is concerned that the performance of their 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.

7a
4 marks

The stored program concept uses the Fetch-Decode-Execute cycle to get the next instruction from memory and then execute it.

Describe what happens during the fetch stage of the Fetch-Decode-Execute cycle.

You should state the different registers and buses that are used in your answer.

7b
3 marks

Three ways of improving the performance of a CPU are increasing the clock speed, adding more cores and using pipelining.

Explain how pipelining improves the performance of a CPU.

1
6 marks

A company is designing a real-time audio processing system used during live performances.
The system must process continuous streams of data with minimal latency while repeatedly fetching instructions.

Evaluate whether a Von Neumann architecture or a Harvard architecture would be more suitable for this system

2
4 marks

A graphics rendering system uses a pipelined processor to improve performance. However, the rendering code contains frequent conditional branch instructions.

Explain why the presence of these branch instructions may prevent the processor from achieving its theoretical maximum performance, even though pipelining is used.

3
4 marks

A processor uses a deep instruction pipeline to improve performance.
The program being executed contains a high frequency of conditional branch instructions.

Explain why increasing the depth of the pipeline may result in diminishing performance gains when running this program.

4
4 marks

A processor is executing instructions from main memory using the Fetch–Decode–Execute cycle. During execution, a delay occurs when accessing memory.

Explain how the fetch stage of the Fetch–Decode–Execute cycle contributes to this delay.

You should refer to registers and buses.

5
4 marks

A program includes multiple branch instructions that alter the normal execution sequence.

Explain how the Fetch–Decode–Execute cycle ensures the correct instruction is fetched next, even when program flow changes.

6
4 marks

A pipelined processor is executing a program containing frequent branch instructions.

Explain how these branch instructions can reduce the efficiency of pipelining.

7
6 marks

An embedded system used in high-speed industrial robotics currently utilises a single-core processor with a clock speed of 2.0 GHz. The manufacturer plans to upgrade the processor to a 4.0 GHz model to handle more complex real-time sensory data.

Evaluate the extent to which doubling the clock speed will improve the instruction throughput of this system. In your answer, you should discuss the impact on the system clock and identify two other hardware factors that could prevent the system from achieving a linear performance increase.

8
4 marks

A processor executes arithmetic instructions where the result of one instruction is required by the next instruction immediately.

Explain how the interaction between registers and the Arithmetic Logic Unit (ALU) helps minimise performance delays in this situation.