Chapter 2.1 CPU.

Slides:



Advertisements
Similar presentations
The CPU The Central Presentation Unit What is the CPU?
Advertisements

Session Objectives#3 COULD explain the role memory plays in computer processing SHOULD describe the purpose of a CPU and its individual components MUST.
GCSE Computing - The CPU
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.
What’s on the Motherboard? The two main parts of the CPU are the control unit and the arithmetic logic unit. The control unit retrieves instructions from.
Computers Are Your Future Eleventh Edition Chapter 2: Inside the System Unit Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall1.
Instructions Slides 3,4,5 are general questions that you should be able to answer. Use slides 6-27 to answer the questions. Write your answers in a separate.
By: Clara Miles and Jarrick Lumma.  The motherboard is the main circuit board of the system unit. It can also be called a system board.  It contains.
WHAT IS THIS? OBJECTIVE AND OUTCOMES Candidates should be able to: Describe and explain the CPU as fetching, decoding and executing of instructions and.
Computer Processing of Data
Computing hardware CPU.
Unit 2 - Hardware Microprocessors & CPUs. What is a microprocessor? ● The brain of the computer, the microprocessor is responsible for organizing and.
The Central Processing Unit
OCR GCSE Computing © Hodder Education 2013 Slide 1 OCR GCSE Computing Chapter 2: CPU.
Section one revision:1. Computer Systems To be able to Identify and describe computer systems To demonstrate an understanding of the Central Processing.
The Central Processing Unit (CPU) and the Machine Cycle.
Computer Systems - Processor. Objectives To investigate and understand the structure and role of the processor.
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.
Central Processing Unit
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Chapter 5A Transforming Data Into Information.
Computer operation is of how the different parts of a computer system work together to perform a task.
The Central Processing Unit (CPU)
Session 4 Teaching Computing to GCSE Level with Python.
A-Level Computing#BristolMet Session Objectives#3 MUST identify components of a CPU SHOULD describe the purpose of a CPU and its individual components.
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.
Computers Are Your Future Eleventh Edition Chapter 2: Inside the System Unit Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall1.
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 ?
What’s going on here? Can you think of a generic way to describe both of these?
CPU Central Processing Unit
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
GCSE Computing - The CPU
Systems Architecture Keywords Fetch Execute Cycle
GCSE OCR Computing A451 The CPU Computing hardware 1.
The CPU, RISC and CISC Component 1.
Memory Miss Elliott.
Chapter 10: Computer systems (1)
Objectives Overview Differentiate among various styles of system units on desktop computers, notebook computers, and mobile devices Identify chips, adapter.
OCR GCSE Computer Science Teaching and Learning Resources
Edexcel GCSE Computer Science Topic 15 - The Processor (CPU)
Discovering Computers 2011: Living in a Digital World Chapter 4
Transforming Data Into Information
The Central Processing Unit
THE CPU i Bytes 1.1.
CS-301 Introduction to Computing Lecture 17
Computer Architecture 2
Teaching Computing to GCSE
System Architecture 1 Chapter 2.
CPU Central Processing Unit
McGraw-Hill Technology Education
CPU Central Processing Unit
CPU and Embedded Systems
CPU Key Revision Points.
1-2 – Central Processing Unit
Unit 1.1 System Architecture Lesson 2
GCSE OCR 1 The CPU Computer Science J276 Unit 1
Objectives Describe how common characteristics of CPUs affect their performance: clock speed, cache size, number of cores Explain the purpose and give.
Learning Objectives To be able to describe the purpose of the CPU
McGraw-Hill Technology Education
McGraw-Hill Technology Education
GCSE Computing - The CPU
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.
Course Code 114 Introduction to Computer Science
Computer Science. The CPU The CPU is made up of 3 main parts : Cache ALU Control Unit.
Presentation transcript:

Chapter 2.1 CPU

1.2 CPU What is a CPU? What does it do?

1.2 CPU State the purpose of the CPU What is the CPU? CPU stands for Central Processing Unit. The CPU is the brains of the computer where most calculations take place. Without a CPU the computer would not work.

1.2 CPU State the purpose of the CPU The CPU The CPU has two main parts: The Control Unit This uses machine code (binary) to tell the computer what to do and where to find the data in the memory. The Arithmetic and Logic Unit (ALU) The performs the calculations such as add, subtract and compare values (for instance equal to, greater than and less than).

1.2 CPU State the purpose of the CPU How is Data Stored in a Computer? Memory is split up into many different sections and all of these locations have a location (“address”) which helps the computer find the data again. The data is stored in binary form as this is how a computer understands numbers. Location 1 Location 2 Location 3 Location 4 101010 100101 110110 000000

The Fetch-Execute Cycle The CPU works on something called the fetch-execute cycle. It needs to fetch the data or instructions from the memory locations (fetch) It needs to work out what these data or instruction mean (decode) It then performs that task (execute) The whole process is repeated again. Fetch Decode Execute

What Happens When a Computer is Switched On? When the computer is first switched on the CPU will look in a specific location in the Read Only Memory (ROM) to tell it what the first instruction is to load and execute. This is what happens when it is “Booting up”. This takes a little while as the computer has to get up and running and load the operating system and get the computer started. After this process is completed, the CPU will hand over most of the control to the operating system to provide the programs for the computer to run.

Clock Speed Scientists discovered that when an electronic current is passed through a quartz crystal it vibrates at a constant speed. A quartz crystal is used to measure the speed that the fetch-execute cycle takes to complete and this is measured in hertz (Hz). The CPU synchronises all processes in line with this clock speed. 4 GHz means that the processor can complete 4 billion cycles every second. This means that, in theory, if the computer was doing nothing else it would be able to perform 4 billion simple calculations in a second.

Actual Clock Speed Think back to the role play we did. What would have happened to the speed of the fetch-execute cycle if the memory locations were in another building instead of being in the same classroom? As the memory locations in the CPU are not located on the chip itself, the speed the computer actually performs its fetch-execute cycle is dramatically lower when the memory is further away.

Cache Memory CPU Cache Memory Main Memory If the CPU has to wait for the values and instructions to be returned from the main memory, this affects the speed at which it can work. To get around this problem, a cache memory is used which is smaller than the usual memory but is located a lot closer to the CPU. If data is not in cache then data is retrieved from main memory Requests data CPU Cache Memory Main Memory Next packet of data copied to cache ready Data sent to CPU

Size of Cache The more cache memory there is, the more likely that the data will have already been requested from the main memory and placed into the cache. Therefore, it is less likely it will have to be retrieved from the main memory so the CPU can run faster. The cache memory is very fast but also very expensive so it is a lot smaller than the main memory in a computer.

Levels of Cache Generally there are three levels of cache memory: This is usually located on the CPU chip itself but has a very low capacity and runs at the same speed as the CPU. Level 2 This is a little further away from the CPU and is larger but slower than the CPU. Level 3 This is the largest of the three levels but also the furthest away and therefore the slowest.

Bus Data is sent around the system in “busses” A bus is a connection between the different parts of the motherboard. This allows data to transfer between the separate areas.

Bus The busses also carry data between the CPU, memory and the controllers for peripheral devices such as the monitor, keyboard and printer.

Multi-Core Processors Instead of having just one processor, a dual-core processor has two CPUs working together which can each fetch and execute instructions simultaneously - the computer is then able to process more instructions in the same amount of time. How many CPUs will a quad-core processor have in it?

Speed of a CPU What would affect the speed of the CPU? Processor speed (in GHz) Bus speed Amount of Cache available Number of cores available

Questions State the purpose of the CPU Describe the function of the CPU as fetching and executing instructions stored in memory Explain how common characteristics of CPUs such as clock speed, cache size and number of cores affect their performance.