top of page
Image by Alexander Grey

Processors, Memory, & Buses

Unit 7 Summary - part 1

Image by Pawel Czerwinski

Processors/CPU are the brains of computers

Image by Pawel Czerwinski
Image by Wengang Zhai
Image by Rodion Kutsaiev
Image by Maxence Pira

 

Input devices send data to the processor.
Storage devices hold data that the processor can use.
Output devices display data from the processor.

Input+Storage+Output together are called peripherals.

Image by Wengang Zhai
Image by Pawel Czerwinski
Image by Kseniya Lapteva
CPUs have 3 of these:
1. ALU (Arithmetic and Logic Unit): Just like the name, ALU carries:

 

  • arithmetic processing: finding answers to math problems.

  • logical processing: finding true/false answers (if functions).

2. CU (Control Unit):
  • CU signals ALU to read data from main memory. Then ALU processes it and writes results back to main memory.

  • CU tells peripherals to transfer data to and from main memory.

  • CU sends signals in the right order, and waits each action to finish before it sends the next signal.

3. System clock.

(Scroll down to see its explanations).

A CPU works with Main Memory.

Main memory is sometimes also called IAS (Immediate Access Store).
Main memory has so many blocks/locations, each has its own binary number.
Image by eberhard 🖐 grossgasteiger
There are 3 types of computer buses:
  1. Address Bus: transmits addresses.

  2. Data Bus: transmits data.

  3. Control Bus: transmits control signals, telling the receiver to do something.

Image by Pawel Czerwinski
Image by Codioful (Formerly Gradienta)

Registers are small memory areas.


Signals travel through buses to the registers.


Registers hold the signals to be processed by the CPU.


Buses are also used to connect the processors to hardware.

Purple Background with Bubbles

Advantage:

 

CPU can access data and instructions faster on Registers than on RAM.

Pastel Gradient
Disadvantage:

 

A register can only hold one item only (data/instruction).

 

CPUs only have small numbers of registers.

Image by Krystal Ng
Image by Pawel Czerwinski
Image by J Lee
John von Neumann first proposed a basic structure of a computer model.

His invention is called Von Neumann model or Von Neumann architecture.
Von Neumann architecture has key features:

 

  1. A CPU contains ALU and CU.

  2. Main memory that stores data and instructions (in electronic form).

  3. External storage that retains data and instructions (in non-electronic form).

  4. Input and Output devices connected to the processors.

Image by Adrian Infernus
Fetch-Decode-Execute cycle:
 
  1. The CU fetches the instruction from main memory (ILS), the instructions are coded in Binary.

  2. The CU decodes the instruction so it knows what to do.

  3. The ALU executes the actions.

Image by Alexander Grey

Memory Types

Image by Katie Rainbow 🏳️‍🌈
Image by Codioful (Formerly Gradienta)
Image by Alexander Grey

Main Memory has 2 types

Image by Codioful (Formerly Gradienta)
1. ROM (Read-Only Memory):
  • ROM is your BIOS, used to load your basic computer the first time you turn on your computer.

  • ROM is set up by the computer's factory.

  • Just like the name READ-ONLY, you can't change / save anything there.

  • ROM is non-volatile: what's stored there can't disappear when the computer is turned off.

2. RAM (Random Access Memory):
  • A CPU needs to run fast, so it needs RAM to hold temporary data/instructions.

  • Without RAM, CPU will run slowly as it needs to search data on a hard disk.

  • RAM is volatile: the data in it disappears when you turn off your computer.

Image by Pawel Czerwinski
Image by Pawel Czerwinski

What is a System clock & clock speed?

System clock:

CPU has a timer based on a crystal. CU (Control Unit) uses system clock to give time to instructions to be finished before sending another signal.
2GHz speed means it can transfer 2 billions instructions a second.

Increasing clock speed can make a computer runs a little bit faster; however, there are disadvantages:

  1. Some components might not work fast enough. When CU gives a new signal and the old one hasn't been finished, it might cause some problems to the computer.

  2. The computer can overheat.

Image by Cyrus Crossan
Image by Marie-Michèle Bouchard

What is a CPU Cache?

CPU can get data more quickly from registers than from RAM; however, registers can only hold 1 instruction at a time.

To deal with this, computers have a larger cache. Cache copies data/instructions from RAM.
Image by Nataliya Smirnova
Image by Pawel Czerwinski

What ARE Processor's CoreS?

Modern processors have more than 1 core
Image by Jack B
The advantages of having more than 1 core processor: 

  1. More than 1 instruction is carried out at the same time, so the computer is faster.

  2. Old processors might be linked together with a new processor to increase speed without buying a new motherboard.​

Image by Kseniya Lapteva
The disadvantages of having more than 1 core processor:

  1. Software must be written to take advantage of the new processor.

  2. Not all software makes full use of the the extra core.​

Image by Alexander Grey

Oxford AQA IGCSE 2020

Image by Nareeta Martin

05.1.

One of the functions of the operating system is to act as a memory manager.

 

State two other functions of the operating system. [2 marks]

 

Function 1

 

__________________________________________________________________________________

 

Function 2

__________________________________________________________________________________

Alternative answers:
  • Processor management;

  • I/O Device management;

  • Application management;

  • Security management;

  • Managing secondary storage

05.2.

Describe what happens at each of the three stages of the Fetch-Execute cycle. [3 marks]

Fetch:

__________________________________________________________________________________

Decode:

__________________________________________________________________________________

Execute:

__________________________________________________________________________________

Alternative answers:
Fetch [1 mark]:

the next instruction is fetched (to the CPU) from (main) memory; 1 mark:

Decode [1 mark]:

the instruction is decoded to work out what it is decoded by control unit; 1 mark:

 

Execute [1 mark]:
  • the instruction is carried out/run/performed/completed

  • execution (of arithmetic and logic instructions) performed by ALU / arithmetic and logic unit

  • data may need to be read from/written to memory/registers (as a result of execution)

Image by Annie Spratt

05.3.

The main memory of a computer normally consists of both volatile and non-volatile memory. Explain the term volatile memory. [1 mark]

__________________________________________________________________________________

Answer:

Volatile memory will lose its contents when power turned off

05.4.

Tick (√) one box to indicate which of these is usually stored in the ROM of a desktop computer.

Processor 2020.png
Answer:
D

(Startup instructions to be executed when the computer is turned on)

Image by Alexander Grey

Oxford AQA IGCSE Specimen Paper

Image by Kenrick Mills

07.

Two factors that can affect the performance of a processor are:

  • number of cores

  • size of cache memory.

07.1.

Explain how the number of cores affects processor performance. [2 marks]

__________________________________________________________________________________

Answer:

Each core can process instructions independently; More cores mean that more instructions can be processed in parallel

07.2.

Explain how the size of cache memory affects processor performance. [2 marks]

Answer:

Cache memory stores data/instructions that are frequently accessed;

Fetching data/instructions from cache memory is faster that fetching from (main) memory;

Having more cache memory means it is more likely that an instruction/some data that is needed will be in the cache;

07.3.

State one other factor that can affect processor performance. [1 mark]

__________________________________________________________________________________

07.3.

State one other factor that can affect processor performance. [1 mark]

 

__________________________________________________________________________________

Answer:

Clock speed;

Alternative Answer:

Other factors that would affect processor performance (not just system performance)

Image by Scott Webb

07.4.

Processors follow a three-stage cycle to carry out an instruction.

Complete Figure 4 by writing the names of each of the stages of this cycle, in the correct order, in to the correct boxes on the figure. [2 marks]

Figure 4

Specimen 7.4.png
Answer:
Specimen 7.4 answer
Image by Alexander Grey

Oxford AQA IGCSE Mock Paper

Image by Pawel Czerwinski

14.

Figure 8 shows a diagram of some of the main components of a computer. The diagram contains an error.

 

Figure 8

Processors1 AQA IGCSE Mock.png
Image by Clyde RS

14.1.

Shade one circle to indicate which of the statements below correctly describes the error in Figure 8. [1 mark]

Processors2 AQA IGCSE Mock.png

14.2.

Explain the role of the Clock. [2 marks]

__________________________________________________________________________________

14.3.

The CPU and main memory are connected by buses.

 

Explain what a bus is. [2 marks]

__________________________________________________________________________________

Image by Manu Franco
Visconsio Nekoland Logo.jpg
PT. Visconsio Kaya Jaya Masyhur

© 2020-2023 by Miana Kitty

bottom of page