Teaching Computing to GCSE

Slides:



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

Computer Architecture and the Fetch-Execute Cycle
The CPU. Parts of the CPU Control Unit Arithmetic & Logic Unit Registers.
Stored Program Concept: The Hardware View
GCSE Computing - The CPU
1 Sec (2.3) Program Execution. 2 In the CPU we have CU and ALU, in CU there are two special purpose registers: 1. Instruction Register 2. Program Counter.
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
Computer Systems 1 Fundamentals of Computing The CPU & Von Neumann.
Computing hardware CPU.
CS 1308 Computer Literacy and the Internet Computer Systems Organization.
Computer Architecture and the Fetch-Execute Cycle
Section one revision:1. Computer Systems To be able to Identify and describe computer systems To demonstrate an understanding of the Central Processing.
Computer Architecture Memory, Math and Logic. Basic Building Blocks Seen: – Memory – Logic & Math.
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
Computer Structure & Architecture 7b - CPU & Buses.
Computer Studies/ICT SS2
Assessment Covering… Von Neuman architecture Registers – purpose and use, the fetch execute cycle.
CS 1308 Computer Literacy and the Internet. Objectives In this chapter, you will learn about:  The components of a computer system  Putting all 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.
The Central Processing Unit (CPU)
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 3 Computing System Fundamentals 3.2 Computer Architecture.
Chapter 20 Computer Operations Computer Studies Today Chapter 20.
Software Design and Development Computer Architecture Computing Science.
What’s going on here? Can you think of a generic way to describe both of these?
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;
Riyadh Philanthropic Society For Science Prince Sultan College For Woman Dept. of Computer & Information Sciences CS 251 Introduction to Computer Organization.
Computer Operation What basic hardware components are inside a personal computer?
Chapter 2 content Basic organization of computer What is motherboard
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.
Von Neumann architecture
Chapter 10: Computer systems (1)
Chapter 2.1 CPU.
Starter: Stored Program Concept (von Neumann Architecture)
Edexcel GCSE Computer Science Topic 15 - The Processor (CPU)
3.3.3 Computer architectures
GCSE COMPUTER SCIENCE Topic 4 - Computers 4.2 Hardware.
Lesson Objectives A note about notes: Aims
THE CPU i Bytes 1.1.
Microprocessor and Assembly Language
CENTRAL PROCESSING UNIT CPU (microprocessor)
Computer Architecture
Hook – CPU Knowledge Check
IB Computer Science Topic 2.1.1
System Architecture 1 Chapter 2.
COMS 161 Introduction to Computing
CPU Key Revision Points.
Chapter 5: Computer Systems Organization
Components of a CPU AS Computing - F451.
1-2 – Central Processing Unit
Unit 1.1 System Architecture Lesson 2
GCSE OCR 1 The CPU Computer Science J276 Unit 1
GCSE Computing - The CPU
WJEC GCSE Computer Science
Information Representation: Machine Instructions
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)
Computer Architecture
Little work is accurate
Sec (2.3) Program Execution.
Computer Science. The CPU The CPU is made up of 3 main parts : Cache ALU Control Unit.
Presentation transcript:

Teaching Computing to GCSE Session 3 Theory: CPU Architecture Practical: 1 & 2D Arrays/Lists

Specification Content OCR The purpose of the CPU Von Neumann Architecture: MAR, MDR, Program Counter, Accumulator Common CPU components and their function: ALU, CU, Cache The function of the CPU as fetch and execute instructions stored in memory How common characteristics of CPUs affect their performance: Clock Speed, Cache Size, Number of Cores AQA Explain the Von Neumann Architecture Explain the role and operation of main memory and following major components of a CPU: ALU, CU, Clock, Bus Explain the effect of the following on the performance of the CPU: Clock Speed, Number of Cores, Cache Size, Cache Type Understand and explain the Fetch-Execute Cycle Edexcel Understand the function of the hardware components of a computer system (CPU, main memory, secondary storage, input and output devices) and how they work together. Understand the concept of a stored program and the role of the components of the CPU (CU, ALU, Registers, Clock, Buses) in the fetch- execute-decode cycle.

The CPU The CPU or Central Processing Unit is responsible for carrying out the instructions that make up computer programs.

Stored Program Concept The program instructions for the first computers were stored on punched tape, which had to be fed into the computer when needed. Later the computers were developed that stored instructions electronically in internal memory. This is known as the stored program concept.

CPU Components Main Memory Manages execution of instructions by sending control signals to other parts of the CPU. Registers Control Unit Wires that are used to transfer data between components. Temporary storage locations within the CPU. ALU Arithmetic and Logic Unit – carries out arithmetic and logical operations.

Registers Main Memory Control Unit PC Program Counter – holds the memory address of the next instruction. Memory Address Register – holds the memory address of either the next piece of data to be read or the next instruction. MAR ACC Accumulator – holds the results of calculations carried out by the ALU MDR Memory Data Register – holds the data or instruction retrieved from main memory. ALU

Activity 1 There are three different buses that are used to transfer different types of data between components. Use the descriptions in the notes section at the bottom of this slide to complete the table. Bus Description Address Bus Data Bus Control Bus Carries control signals from the control unit to the other components in the CPU. Carries the memory address of the next instruction or piece of data to be fetched from RAM. Carries data and instructions between the different components (including RAM).

Fetch-Execute Cycle As soon as a computer is turned on it starts fetching instructions from memory, decoding them and executing them. This process is repeated continuously, therefore it is known as the Fetch- Execute Cycle. Fetch Decode Execute

Fetch-Execute Cycle Example Main Memory Address Data ADD 4 1 2 3 4 Control Unit PC 1 ADD 4 Address Bus MAR ACC Control Bus Data Bus MDR ADD 4 ALU 4

Activity 2 Place the stages of the fetch-execute cycle in the correct order: The instruction is decoded. The decoded instruction is executed. The Program Counter is incremented. The address of the next instruction to be fetched is place in the MAR. The instruction is fetched from memory and placed in the MDR.

Von Neumann Architecture In 1945 John Von Neumann described a model for a stored program computer that became known as the Von Neumann Architecture. The CPUs in most modern computers are based on this architecture. It uses one memory for both data and instructions. It executes one instruction at a time using the fetch-execute cycle. Control Unit ALU Main Memory Registers

Cache Cache is special type of fast memory that sits between the CPU and Main Memory. It is used to store frequently used data and instructions, this saves the CPU having to repeatedly access Main Memory. This can improve performance as it is quicker to access Cache than to access Main Memory.

Level 1 Cache – inside the CPU, fastest but also smallest. Cache Levels Main Memory Registers Control Unit L2 / L3 Cache Level 2 and 3 Cache – sits between the CPU and Main Memory, slower and larger than L1. L1 Cache Level 1 Cache – inside the CPU, fastest but also smallest. ALU

Cores Core 1 Core 2 Core 3 Core 4 Modern CPUs feature multiple processing units (cores) on the same chip. This enables CPUs to carry out multiple instructions at the same time (one per core).

Activity 3 This table is designed to summarise the factors that impact on CPU performance, complete it using the text in the notes section. Clock Speed Cache Size Number of Cores The larger this is the more frequently used instructions can be stored, this improves performance as it is faster to access than main memory. Not all programs are written to take advantage of these. The number of Fetch-Execute cycles a CPU can perform per second is measured in Hertz (Hz). L1 is faster than L2/L3, therefore a larger L1 would have a bigger impact on performance. The higher this is, the more instructions the CPU can execute out per second. The more of these there are, the more instructions can be executed at the same time.

Activity 4 Answer this exam question: Ann wants to purchase a new computer and is looking at two models. The specification of the CPU in each computer is shown in Fig. 1. When running a 3D flight simulator, Computer 1 is likely to run faster than Computer 2. Using the information in Fig. 1, identify one reason for this. (1) Source: OCR GCSE Computer Science (9-1) Component 1 Sample Paper

Activity 5 Answer these exam questions: Explain one reason why the cache size affects the performance of the CPU. (2) Identify four events that take place during the fetch-execute cycle. (4) Source: OCR GCSE Computer Science (9-1) Component 1 Sample Paper

Break After the break we will look at 1 and 2D Arrays / Lists.