Search Header Logo
J277 1.1.1,System Architecture

J277 1.1.1,System Architecture

Assessment

Presentation

Computers

12th Grade

Medium

Created by

Ian Currie

Used 4+ times

FREE Resource

35 Slides • 27 Questions

1

media

© OCR 2020

Topic 1.1 Systems architecture
Sub topic1.1.1 – Architecture of the CPU
Lesson 1 of 9 - The purpose of the CPU

2

media

© OCR 2020

Main computer components

CPU

Main

memory

Input

Output

Secondary

Storage

3

Open Ended

What is the purpose of CPU?

4

media

© OCR 2020

CPU- Central Processing Unit

The processor is like
a brain.

The processor
controls all the
processing of the
computer. The
‘brains’ of the
computer

5

media

© OCR 2020

The Processor

• Carries out instructions (executes

instructions).

Processes data.
Retrieves data/instructions from main

memory (fetches).

Stores data into main memory once

executed.

6

media

© OCR 2020

Fetch-execute cycle

Fetch

Decode

Execute

• FETCH – Fetches the

next instruction and
associated data to be
fetched from main
memory

• DECODE – Interprets

the instruction,
decodes it.

• EXECUTE – Performs

the instruction, it
executes it.

7

Fill in the Blanks

8

Fill in the Blanks

9

Fill in the Blanks

10

Fill in the Blanks

11

media

© OCR 2020

OCR Resources:the small print

OCR’s resources are provided to support the delivery of OCR qualifications, but in no way constitute an endorsed teaching method that is required by the Board, and the decision to use them lies with the individual teacher. Whilst every
effort is made to ensure the accuracy of the content, OCR cannot be held responsible for any errors or omissions within these resources.

Our documents are updated over time. Whilst every effort is made to check all documents, there may be contradictions between published support and the specification, therefore please use the information on the latest specification at all
times. Where changes are made to specifications these will be indicated within the document, there will be a new version number indicated, and a summary of the changes. If you do notice a discrepancy between the specification and a
resource please contact us at:
resources.feedback@ocr.org.uk.

© OCR 2020 - This resource may be freely copied and distributed, as long as the OCR logo and this message remain intact and OCR is acknowledged as the originator of this work. OCR acknowledges the use of the following content:

Please get in touch if you want to discuss the accessibility of resources we offer to support delivery of our qualifications: resources.feedback@ocr.org.uk

12

media

© OCR 2020

Topic

Allocated time

Lesson 2 - Big picture

5 minutes

Lesson 2 – Activity 1

10 minutes

Lesson 2 – Activity 2

10 minutes

Plenary

5 minutes

Talking through lesson 2 slides

30 minutes

Lesson 3 – Big picture

5 minutes

Lesson 3 – Activity 1

10 minutes

Lesson 3 – Activity 2

15 minutes

Plenary

5 minutes

Talking through lesson 3 slides

25 minutes

Content

13

media

© OCR 2020

Learning objectives

• To be able to describe the common CPU

components and their function.
ALU (Arithmetic Logic Unit)
CU (Control Unit)
Cache
Registers

14

media

© OCR 2020

Keywords

• Processor
• Instruction
• Arithmetic Logic

Unit

• Control Unit
• Registers
• Accumulator

15

media

© OCR 2020

CPU components

• The main components are called:

Control Unit (CU)
Arithmetic Logic Unit (ALU)
Registers that help carry out the above

operations.

Registers are immediate memory, which is very fast

temporary memory on the CPU to speed up access.

16

What is the purpose of CPU?

17

media

© OCR 2020

ALU

Performs Arithmetic operations such addition, subtraction, multiply and division

Logical operations

– Basic logical operations like AND/OR calculations.

18

What does Control unit do?

19

media

© OCR 2020

Control Unit (CU)

Co-ordinates the operations carried out

by the computer using control signals:
– hardware is monitored
– input/output of devices and response of

instructions to the CPU

– data flow is controlled within the CPU.

20

media

© OCR 2020

• Sends control signals between the different

internal components:
Memory Read
Memory Write
Hard Disk Drive Read
I/O Write

Control Unit (CU)

21

media

© OCR 2020

Activity 1

• Complete the activity about memory.

22

What is Cache memory?

23

media

© OCR 2020

Cache

• A memory cache is a memory that

is very fast and sits between the CPU and
main memory. It is faster to access than
RAM.

CPU

Cache
Main Memory

RAM

24

media

© OCR 2020

Processors - cache size

• Processors have ‘cache’ – This is very

fast, and usually a very small amount of
memory on the processor chip.

• As programs are executing, the cache

holds commonly used instructions.

25

Multiple Choice

One purpose of the control unit is to…
1

Send signals to control how data moves around the CPU

2

To perform calculations in the CPU

3

Control the loading of data from the hard disk to RAM

4

To control peripherals using device drivers

26

Multiple Choice

Which of these is a function of the ALU?
1

Control

2

Cache

3

Logic

4

Fetch

27

Multiple Choice

Which of these is a function of the ALU?
1

Cache

2

Control

3

Fetch

4

Arithmetic

28

Multiple Choice

Which of these is a function of the ALU?
1

Binary shift

2

Speeds up the processor

3

Bus check

4

Stores frequently used instructions

29

Multiple Choice

This component performs calculations and logical comparisons.
1

Arithmetic Logic Unit

2

Control unit

3

Memory unit

4

Decode unit

30

Multiple Choice

One purpose of the cache is to…
1

Hold frequently used instructions

2

Decode instructions

3

Enable the computer to run more programs than it has physical RAM to hold

4

Keep the internal components of the CPU synchronised

31

Multiple Choice

The 'CU' is a component of the processor, what does CU stand for?
1

Centralised unit

2

Co-processor Unit

3

Control Unit

4

Central Unit

32

Multiple Choice

One purpose of the control unit is to…
1

Keep the internal components of the CPU synchronised

2

Remove the need for a hard disk so an SSD can be used instead

3

Enable the computer to run more programs than it has physical RAM to hold

4

Hold instructions that are frequently used to speed up the computer

33

Multiple Choice

One purpose of the control unit is to…
1

Send signals down the address bus

2

Decode instructions

3

Execute instructions

4

Store instructions in the RAM

34

Multiple Choice

Why does having a small cache increase the speed of the CPU?
1

Programs do not need to be executed from the hard disk

2

Frequently used instructions and data are already in the CPU and are not fetched again from RAM

3

The cache is another register that can be used

4

There is no need to transfer binary between the accumulator and memory address register

35

Multiple Choice

Why does having a very large cache not give a big performance increase for the CPU?
1

Instructions are not always sequential

2

A large cache would need to be made of lower grade, cost effective components

3

A large cache is more unreliable

4

It will take more time to fetch the data in a large cache

36

media

© OCR 2020

CPU Registers

• PC (Program Counter)
• MAR (Memory Address Register)
• MDR (Memory Data Register)
• ACC (Accumulator)

37

media

© OCR 2020

Main Memory - EEPROMM

• EEPROM – Electronically Erasable

Programmable Read Only Memory
– E.g. Sim cards/Flash memory
– Instructions/data can be erased electronically

and replaced.

38

media

© OCR 2020

System buses

• A bus is a set of parallel wires connecting two or

more independent components of a computer
system in order to pass signals between them.

• The system is split into three separate buses:

– the data bus
– the address bus
– the control bus.

39

media

© OCR 2020

Big picture

• Where are instructions that are currently in use

stored?

• What else is stored in main memory?
• How are instructions executed by the

processor?

40

media

© OCR 2020

Activity 1 - Answers

PC

MDR

ALU

Accumulator

0001
0010
0011
0100
0101
0110
0111
1000
1001
1010
1011
1100
1101

INP
Add 5
INP
STO 8
INP
ADD 8

Address bus

Data bus

​MAR

41

media

© OCR 2020

Von Neumann architecture

• In the early 1940s, computers stored data

that was worked on in memory, the program
was not stored and they used paper tape,
punch cards or switches.

• The mathematician John Von Neumann and

colleagues had an idea to store the program
instructions and the data all in memory.

42

media

© OCR 2020

Von Neumann architecture

An example of how the program and the
data are stored in the same memory to allow
data flow between memory and the
processor:

Program

Program

Program

Program

Data

Data

Data

43

media

© OCR 2020

Processor - Registers

PC – Program Counter

– Holds the location of the next instruction/data address in

main memory

MAR – Memory Address Register

– The contents of the PC are copied here and then

transferred along the address bus

PC

MAR

Address bus

Main

Memory

44

© OCR 2020

Processor - Registers

Accumulator, holds the result of arithmetic or logical calculations from ALU

MDR- This holds the data fetched from main memory that is needed by the processor while executing instructions.

45

media

© OCR 2020

Learning objectives

• To describe the importance of the Program

Counter in the Fetch-Execute cycle

• To understand how Fetch – Decode - Execute

works in more detail

46

media

© OCR 2020

What happens in the FDE cycle?

Fetch part of the cycle:

– Program counter is incremented for each

instruction of the program being executed.

– The contents of the Program Counter are put

into the MAR (Memory Address Register).

– The address is transferred along the address

bus to main memory (this address indicates
which part of memory to fetch the data/
instructions from.

47

media

© OCR 2020

What happens in the FDE cycle?

Fetch part of the cycle:

– The data/instruction that has been addressed is

transferred back to the processor along the data
bus.

– This is held in the MDR (Memory Data Register).

48

media

© OCR 2020

What happens in the FDE cycle?

Decode/Execute part

– The instruction is split into an Op-Code and

an Operand.

– The instruction is carried out by the ALU

(Arithmetic Logic Unit).

49

Multiple Choice

Which of these describes a classic von Neumann architecture?
1

Data transfers and instruction fetches between memory can be done at the same time

2

Uses a separate memory address for instructions and data

3

Processor needs one cycle to complete an instruction

4

Uses the same physical memory address for instructions and data

50

Multiple Choice

Which of these describes a classic von Neumann architecture?
1

The processor only requires one cycle to complete an instruction

2

Data transfers and instruction fetches from RAM cannot be performed at the same time

3

Uses separate memory address space for instructions and data

4

Data transfers and instruction fetches can be performed at the same time

51

Multiple Choice

The address of an instruction or data pointed at by the memory address register is sent to which register during a fetch operation?
1

Accumulator

2

Memory address register

3

Program counter

4

Memory data register

52

Multiple Choice

What is the purpose of the accumulator?
1

To fetch the next instruction to calculate data

2

To store the results of calculations

3

To decode an instruction to calculate a total

4

To execute a calculation

53

Multiple Choice

The value in the program counter is passed to which register during a fetch operation?
1

Program counter

2

Memory data register

3

Accumulator

4

Memory address regsiter

54

media

© OCR 2020

Topic 1.1 Systems architecture
Sub topic 1.1.1 - Architecture of the CPU
Lessons 4-5 of 9 - Von Neumann architecture

55

Multiple Choice

What does the Memory Address Register (MAR) hold?
1

Address of the instruction or piece of data to be fetched or stored

2

Address of the next instruction to be executed

3

The current instruction to be executed

4

Data being transferred to and from main memory

56

Multiple Choice

What does the Memory Data Register (MDR) hold?
1

Data being transferred to and from main memory

2

Address of the instruction or piece of data to be fetched or stored

3

The current instruction to be executed

4

Address of the next instruction to be executed

57

Multiple Choice

Holds the address of the next instruction or the address of data to be fetched.
1

Memory data register

2

Accumulator

3

Program counter

4

Memory address register

58

media

© OCR 2020

Keywords

• Von Neumann

architecture

• MAR (Memory Address

Register)

• MDR (Memory Data

Register)

• Program Counter
• Accumulator

• ALU (Arithmetic Logic Unit)
• CU (Control Unit)
• Cache
• Fetch/execute
• Buses

59

Multiple Choice

One purpose of the memory data register is to…
1

Hold the results of calculations

2

Hold data fetched from, or to be written to the memory

3

Hold the address of data ready for use by the memory data register

4

Hold the address of an instruction passed from the program counter

60

Multiple Choice

Holds data fetched from or written to the RAM.
1

Program counter

2

Memory data register

3

Memory address register

4

Accumulator

61

Multiple Choice

What does the program counter hold?
1

Address of the instruction or piece of data to be fetched or stored

2

Address of the next instruction to be executed

3

The current instruction to be executed

4

Data being transferred to and from main memory

62

media

© OCR 2020

Lesson 5 – Activity 2

• FDE cycle

media

© OCR 2020

Topic 1.1 Systems architecture
Sub topic1.1.1 – Architecture of the CPU
Lesson 1 of 9 - The purpose of the CPU

Show answer

Auto Play

Slide 1 / 62

SLIDE