Central Processing Unit

Slides:



Advertisements
Similar presentations
Computer Systems Nat 4/5 Computing Science Computer Structure:
Advertisements

The CPU The Central Presentation Unit What is the CPU?
Machine cycle.
DH2T 34 Computer Architecture 1 LO2 Lesson Two CPU and Buses.
Introduction to Computer Systems
Stored Program Concept: The Hardware View
Computer Applications NCBS Stage 1. The Central Processing UnitSlide 2Computer Applications Stage 1 Course Content and Assessment Practical – 60% (2 Hrs.
0 What is a computer?  Simply put, a computer is a sophisticated electronic calculating machine that:  Accepts input information,  Processes the information.
CPU Describe the purpose of the CPU
A-Level Computing#BristolMet Session Objectives#4 MUST describe the differences between the main types of primary memory SHOULD describe the function and.
The Computer Processor
Lecture 13 - Introduction to the Central Processing Unit (CPU)
BLOCK DIAGRAM OF COMPUTER
A-Level Computing#BristolMet Session Objectives#5 MUST identify different buses and registers used in a CPU SHOULD describe the use of buses to send information.
Higher Computing Computer Systems S. McCrossan 1 Higher Grade Computing Studies 2. Computer Structure Computer Structure The traditional diagram of a computer...
Computing hardware CPU.
Central Processing Unit
Intermediate 2 Computing Computer structure. Organisation of a simple computer.
The Central Processing Unit
Components of a Computer Prepared by: Mrs. McCallum-Rodney.
CENTRAL PROCESSING UNIT – a,b,c & d a - The Purpose of a CPU The CPU is the brain of the computer. The Purpose of the CPU is to process.
Week 2.  Understand what the processor is and what it does.  Execute basic LMC programs.  Understand how CPU characteristics affect performance.
OCR GCSE Computing © Hodder Education 2013 Slide 1 OCR GCSE Computing Chapter 2: CPU.
How computers work The CPU & Memory. The parts of a computer.
The Central Processing Unit (CPU) and the Machine Cycle.
Model Computer CPU Arithmetic Logic Unit Control Unit Memory Unit
Parts of a Computer - Introduction
Computer Architecture Memory, Math and Logic. Basic Building Blocks Seen: – Memory – Logic & Math.
Computer Structure & Architecture 7b - CPU & Buses.
Stored Programs In today’s lesson, we will look at: what we mean by a stored program computer how computers store and run programs what we mean by the.
Computer operation is of how the different parts of a computer system work together to perform a task.
HOW COMPUTERS WORK THE CPU & MEMORY. THE PARTS OF A COMPUTER.
Session 4 Teaching Computing to GCSE Level with Python.
Activity 1 Review the work from last lesson so that you can explain the following: -What is the purpose of a CPU. -What steps does the CPU take to process.
1 Basic Processor Architecture. 2 Building Blocks of Processor Systems CPU.
The Processor & its components. The CPU The brain. Performs all major calculations. Controls and manages the operations of other components of the computer.
1 3 Computing System Fundamentals 3.2 Computer Architecture.
The CPU Central Processing Unit. Activity 1 5 minutes to discuss and feedback on the following: 1.What is this? 2.What is it for? What do you notice ?
3.1.4 Hardware a. describe the function and purpose of the control unit, memory unit and ALU (arithmetic logic unit) as individual parts of a computer;
Computer Systems Nat 4/5 Computing Science Computer Structure:
Computer Hardware What is a CPU.
CPU Lesson 2.
OCR GCSE Computer Science Teaching and Learning Resources
Computing Science Computer Structure: Lesson 1: Processor Structure
Systems Architecture Keywords Fetch Execute Cycle
GCSE OCR Computing A451 The CPU Computing hardware 1.
The CPU, RISC and CISC Component 1.
Von Neumann architecture
Chapter 10: Computer systems (1)
Chapter 2.1 CPU.
Edexcel GCSE Computer Science Topic 15 - The Processor (CPU)
Course Name: Computer Application Topic: Central Processing Unit (CPU)
CPU & its Components CPU stands for central Processing Unit
Computer Architecture
Teaching Computing to GCSE
Computer Systems Nat 4/5 Computing Science Computer Structure:
System Architecture 1 Chapter 2.
Do it now You will find your do it now task in your workbook – look for the start button! Thursday, 20 September 2018.
A451: Computer Systems and Programming
Processing Computer Components.
1-2 – Central Processing Unit
Unit 1.1 System Architecture Lesson 2
GCSE OCR 1 The CPU Computer Science J276 Unit 1
WJEC GCSE Computer Science
Objectives Describe common CPU components and their function: ALU Arithmetic Logic Unit), CU (Control Unit), Cache Explain the function of the CPU as.
OCR GCSE (9-1) Computer Science (J276)
Little work is accurate
Computer Science. The CPU The CPU is made up of 3 main parts : Cache ALU Control Unit.
Presentation transcript:

Central Processing Unit The CPU Central Processing Unit

Activity 1 5 minutes to discuss and feedback on the following: What is this? What is it for? What do you notice? What questions do you have? What do you think? (hypothesis)

The CPU – Central Processing Unit Learning Objectives: i)State the purpose of the CPU ii) Describe the function of the CPU as fetching and executing instructions stored in memory What is the Purpose of the CPU? The CPU is often known as the 'brain of the computer'. Its job is to process data. And by processing we mean things like searching, sorting, calculating and decision making. Whenever you are on working on your computer, it is the CPU which is at the heart of everything.

The CPU – Central Processing Unit Learning Objectives: i)State the purpose of the CPU ii) Describe the function of the CPU as fetching and executing instructions stored in memory The Fetch-Decode-Execute Cycle The CPU follows three steps in order to process data: It is known as the Fetch - Decode - Execute cycle (aka Fetch-Execute Cycle). To begin with, whenever you open and work with a program, its data and instructions is loaded onto the RAM. As the RAM is accessed directly by the CPU, the CPU can get to work!

The CPU – Central Processing Unit Learning Objectives: i)State the purpose of the CPU ii) Describe the function of the CPU as fetching and executing instructions stored in memory The Fetch Stage In this step the CPU fetches some data and instructions from main memory (RAM) and then store them in its own temporary memory called 'registers'. Can I Have Some Data? CPU RAM / Memory Yep! Here it is!

The CPU – Central Processing Unit Learning Objectives: i)State the purpose of the CPU ii) Describe the function of the CPU as fetching and executing instructions stored in memory The Fetch Stage - Continued For this to happen, the CPU uses a piece of hardware path called the 'address bus'. The address of the next item that the CPU wants is put onto the ‘address bus’. Data from this area then travels from the RAM to the CPU on another piece of hardware called the ‘Data Bus’ CPU RAM / Memory Address Bus CPU RAM / Memory Data Bus

The CPU – Central Processing Unit Learning Objectives: i)State the purpose of the CPU ii) Describe the function of the CPU as fetching and executing instructions stored in memory The Decode Stage The decode step is where the CPU understands / works out what the instruction it has just fetched actually means. The CPU ‘decodes’ the instruction and gets things ready for the next step. Making Sense of Instructions

The CPU – Central Processing Unit Learning Objectives: i)State the purpose of the CPU ii) Describe the function of the CPU as fetching and executing instructions stored in memory The Execute Stage The Execute stage is where data processing happens. Instructions are carried out on the data. Once a cycle has completed, another begins.

The CPU – Central Processing Unit Learning Objectives: i)State the purpose of the CPU ii) Describe the function of the CPU as fetching and executing instructions stored in memory Summary

Activity 2 10 minutes: Compete the first activity sheet: “The stages of the Fetch – Decode – Execute Cycle”

The CPU – Central Processing Unit Learning Objectives: i)State the purpose of the CPU ii) Describe the function of the CPU as fetching and executing instructions stored in memory Starter – 5 mins Open your work from last lesson and discuss with your neighbour. Are you able to explain the Fetch-Decode-Execute Cycle to the person next to you? Look at the lesson presentation again & see if you can improve your work.

The CPU – Central Processing Unit Learning Objectives: i)State the purpose of the CPU ii) Describe the function of the CPU as fetching and executing instructions stored in memory RECAP

The CPU – Central Processing Unit Learning Objectives: i)State the purpose of the CPU ii) Describe the function of the CPU as fetching and executing instructions stored in memory What makes up a CPU? Now that we know the basic actions performed by the CPU its now time to look at the areas of the CPU responsible: Control Unit Immediate Access Store (IAS) or “Cache” Arithmetic and Logic Unit (ALU) Arithmetic and Logic Unit (ALU) Control Unit Immediate Access Store (Cache) Inputs and Outputs Main Memory (RAM)

The CPU – Central Processing Unit Learning Objectives: i)State the purpose of the CPU ii) Describe the function of the CPU as fetching and executing instructions stored in memory The Control Unit There are three main jobs of the Control Unit: It manages and monitors hardware on the computer to ensure the correct data goes to the correct hardware. It manages the input and output signals ensuring these are dealt with correctly. It manages the Fetch-Decode-Execute cycle.

The CPU – Central Processing Unit Learning Objectives: i)State the purpose of the CPU ii) Describe the function of the CPU as fetching and executing instructions stored in memory Immediate Access Store (Cache) This part stores the data which is to be immediately processed. The CPU takes a chunk of data / instructions from the RAM and keeps it close so that it always has a constant supply of data to process. If data and instructions were downloaded from RAM one item at a time, the CPU would work far slower because the CPU cycles much faster than the RAM can deliver data. So instead, chunks are downloaded and stored on the CPU so the CPU doesn’t spend wasted time waiting for a deliver of data.

The CPU – Central Processing Unit Learning Objectives: i)State the purpose of the CPU ii) Describe the function of the CPU as fetching and executing instructions stored in memory Arithmetic and Logic Unit (ALU) This is were the CPU actually carries out the maths and logic on the data (processes it). It has two parts: Arithmetic part, which performs calculations on the data, e.g. 3 + 2 = 5 Logic part – which deals with logical operations such as is True / False / Equal to / Greater than etc.

Summary of the CPU An input device (e.g. keyboard) sends data to the CPU. The Control Unit receives this data. The Control Unit sends this data into main memory to be used later. When the time is right, the data will be transferred from main memory into cache (IAS) The data will then be sent to the ALU for processing The control unit will send the processed data back (for example to an output device such as a screen or monitor).

Activity 3 15 minutes: Compete the second activity sheet: “The Journey of Data through the CPU”

The CPU – Central Processing Unit Learning Objectives: i)State the purpose of the CPU ii) Describe the function of the CPU as fetching and executing instructions stored in memory RECAP What is the Purpose of the CPU? The CPU is known as the 'brain of the computer'. Its job is to process data. And by processing we mean things like searching, sorting, calculating and decision making. Can YOU describe the function of the CPU? What is the cycle that takes place?