Revision Library

Structure and Function of the Processor - Worksheets, Questions and Revision

13 original exam-style questions - 5 pages of questions with a full mark scheme - free printable PDF.

Download PDFJump to mark scheme (page 6)Read the revision guide
Next: Types of Software and Development Methodologies »
Revision Library
revisionlibrary.co.uk
A-Level · Computer Systems

A1.1 Structure and Function of the Processor

OCR H446/01 · Calculators not allowed · about 110 minutes
Total Marks
Name: _______________________________    Date: ____ / ____ / ______
Answer ALL questions. Show all your working.
1
The Von Neumann model is the basis for most modern general purpose computer architectures.
(a)Define what is meant by the 'stored program concept'.(2)
(b)State the name of the CPU component that decodes fetched instructions, and the name of the component that carries out arithmetic and logic operations.(2)
(Total for Question 1 is 4 marks)
2
The Control Unit, Arithmetic Logic Unit and system clock each have a distinct role within the processor.
(a)State the purpose of the Control Unit (CU).(2)
(b)State the purpose of the Arithmetic Logic Unit (ALU).(2)
(c)State the purpose of the system clock in a processor.(2)
(Total for Question 2 is 6 marks)
3
The processor uses several special purpose registers during the fetch, decode, execute cycle: the Program Counter (PC), Memory Address Register (MAR), Memory Data Register (MDR), Current Instruction Register (CIR) and the Accumulator (ACC).
(a)Complete the table by writing the correct register (PC, MAR, MDR or CIR) next to the function it performs.
i) Holds the address of the next instruction to be fetched.
ii) Holds the address currently being accessed in memory, for a read or a write.
iii) Holds data or an instruction that has just been fetched from memory, or is about to be written to memory.
iv) Holds the instruction that is currently being decoded or executed.
(4)
(b)State the name of the register that holds the results of calculations performed by the ALU.(1)
(c)Explain why the Program Counter must be incremented during the fetch stage, even before the fetched instruction has been decoded.(3)
(Total for Question 3 is 8 marks)
4
The CPU is connected to main memory by a system of buses.
(a)State the purpose of the address bus.(1)
(b)State the purpose of the data bus.(1)
(c)State the purpose of the control bus.(1)
(d)The address bus is unidirectional, but the data bus is bidirectional. Explain why the data bus needs to be bidirectional.(2)
(e)State one consequence of increasing the width (number of bits) of the data bus.(1)
(Total for Question 4 is 6 marks)
5
The width of the address bus determines the maximum amount of memory a processor can directly address.
(a)A processor has a 16-bit address bus. Calculate the maximum number of individually addressable memory locations this allows. Show your working.(2)
(b)The processor is replaced with a version that has a 32-bit address bus instead. Calculate how many times larger the maximum addressable memory becomes.(2)
(c)State one other factor, besides the width of the address bus, that can limit the amount of RAM a computer actually uses.(1)
(Total for Question 5 is 5 marks)
6
A simple program is stored in main memory as follows:
address 100: LDD 200 (load the value directly from address 200 into the accumulator)
address 101: ADD 201 (add the value directly from address 201 to the accumulator)
address 102: STO 202 (store the value in the accumulator directly to address 202)
address 200: 15
address 201: 9
address 202: (currently empty)
The Program Counter starts at 100.
(a)Complete the trace table for the fetch stage of the instruction at address 100 (LDD 200) by giving the value placed in each register after each RTN step.
Step 1: MAR <- [PC] MAR = ?
Step 2: PC <- [PC]+1 PC = ?
Step 3: MDR <- [[MAR]] MDR = ?
Step 4: CIR <- [MDR] CIR = ?
(4)
(b)State the register transfer notation for the execute stage of LDD 200, and give the resulting value held in the Accumulator (ACC).(2)
(c)Using the same method, state the value held in the Accumulator after the instruction at address 101 (ADD 201) has been executed.(2)
(d)State the value written to memory address 202 once the instruction at address 102 (STO 202) has been executed.(1)
(e)Convert the memory address 202 (denary) to hexadecimal. Show your working.(1)
(Total for Question 6 is 10 marks)
7
A processor has a clock speed of 3.2 GHz. On average, each instruction requires 4 clock cycles to complete.
(a)Calculate the number of instructions the processor can execute in one second. Show your working.(3)
(b)Explain why simply increasing clock speed indefinitely is not a practical way of improving a processor's performance.(3)
(Total for Question 7 is 6 marks)
8
Cache memory is used to reduce the average time the processor spends waiting for data from RAM.
(a)State what is meant by 'cache memory'.(2)
(b)The principle of locality of reference underpins how cache improves performance. Describe what is meant by temporal locality and spatial locality, and briefly explain how each helps cache improve performance.(4)
(Total for Question 8 is 6 marks)
9
Von Neumann and Harvard architectures organise memory and buses differently.
(a)Complete the table to compare Von Neumann and Harvard architectures.
i) Von Neumann - memory arrangement:
ii) Von Neumann - bus arrangement:
iii) Harvard - memory arrangement:
iv) Harvard - bus arrangement:
(4)
(b)A manufacturer is designing the embedded processor for a domestic washing machine controller. Justify, with reference to the architectures compared in part (a), whether a Von Neumann or a Harvard architecture would be more suitable.(4)
(Total for Question 9 is 8 marks)
10
Many modern processors contain more than one core on a single chip.
(a)Describe what is meant by a multicore processor.(2)
(b)Explain two limitations of using a multicore processor to improve overall system performance.(4)
(c)State one type of task that would benefit significantly from running on a multicore processor.(1)
(Total for Question 10 is 7 marks)
11
Modern processors use pipelining to increase the rate at which instructions are processed.
(a)State the three main stages of the standard instruction pipeline.(3)
(b)Explain what is meant by pipelining in the context of processor performance.(2)
(c)A non-pipelined processor takes 4 clock cycles to fully execute one instruction (no overlap between instructions). A pipelined version of the same processor splits execution into 4 equal stages, one per clock cycle, so that once the pipeline is full, one instruction completes every clock cycle. Calculate the number of clock cycles required to execute a sequence of 100 instructions (i) without pipelining and (ii) with pipelining. Show your working.(3)
(d)Hence calculate the speedup factor achieved by pipelining for this sequence of instructions, to 2 decimal places.(1)
(Total for Question 11 is 9 marks)
12
A school is upgrading its computer suite and is choosing between two processor specifications for workstations that will mainly be used to run video editing software:
Processor X: clock speed 3.6 GHz, 4 cores, 8 MB L3 cache.
Processor Y: clock speed 4.2 GHz, 2 cores, 4 MB L3 cache.
The video editing software used is able to make use of multiple cores when rendering effects and exporting finished videos.
Discuss the factors that affect processor performance, and evaluate which of Processor X or Processor Y is likely to be more suitable for this video editing task. Justify your conclusion.
(Total for Question 12 is 9 marks)
13
The instruction ADD 300 adds the value stored at memory address 300 to the value already held in the accumulator. Assume the operand address (300) has already been placed in the CIR alongside the opcode.
(a)Using register transfer notation, write the sequence of statements for the fetch stage of any instruction.(4)
(b)Using register transfer notation, write the sequence of statements for the execute stage of the instruction ADD 300.(2)
(Total for Question 13 is 6 marks)
Mark scheme · A1.1 Structure and Function of the Processor

Question 1

Question 2

Question 3

Question 4

Question 5

Question 6

Question 7

Question 8

Question 9

Question 10

Question 11

Question 12

Question 13

Mark your answers

This checks your answers in your browser, stores nothing on a server and needs no account.

Question 1

4 marks
Did your answer earn the marks?

Question 2

6 marks
Did your answer earn the marks?

Question 3

8 marks
Did your answer earn the marks?

Question 4

6 marks
Did your answer earn the marks?

Question 5

5 marks
Did your answer earn the marks?

Question 6

10 marks
Did your answer earn the marks?

Question 7

6 marks
Did your answer earn the marks?

Question 8

6 marks
Did your answer earn the marks?

Question 9

8 marks
Did your answer earn the marks?

Question 10

7 marks
Did your answer earn the marks?

Question 11

9 marks
Did your answer earn the marks?

Question 12

9 marks
Did your answer earn the marks?

Question 13

6 marks
Did your answer earn the marks?
Mark my answers