Presentation on theme: "Session Objectives#3 COULD explain the role memory plays in computer processing SHOULD describe the purpose of a CPU and its individual components MUST."— Presentation transcript:
2Session Objectives#3COULD explain the role memory plays in computer processingSHOULD describe the purpose of a CPU and its individual componentsMUST identify components of a CPUExplore key factors affecting computer performance.
3Processing Components Starter...Convert the binary digits to decimal (also known as denary)X1 x0 x1 x1 x0 x1=32 =0 =8 =4 =0 =1== 45All instructions and data are stored in a computer as binary numbers. The organisation and structure of a computers’ processing components is known as computer architecture.
4Processing Components The Central Processing Unit (CPU or Processor)This is the core of every computer system andit processes instructions from the variousprograms that are running.They consist of 2 main components:i)the Control Unit (CU) which uses electrical signals to direct the system to excecute the instructions in stored programs. It controls the order and flow data to be executedii)The Arithmetic and Logic Unit (ALU) which carries out all the mathematical and logical operations i.e addition, subtraction and comparisons (relational operations such as =, < and >)Think of the CU as a traffic controllerand the ALU as a professor
5Processing Components In order for a processor to function it also needs to access Main Memory or RAM (Random Access Memory) where the program data is stored whilst in operation (which have been fetched from the hard disk)Cache memory is used to store data whilst waiting to be processed, which enables the CPU to fetch the data it needs much quicker then going back to the main memory. You can consider this as a special type of RAM.ROM (Read Only Memory) – It useful to introduce this at this stage. This data can not be overwritten and the CPU will look to a store of this for the first program to load and exexute when turned on, known as the boot sequence. This data is NOT lost when the power is turned off.
6Processing Components Main Memory (RAM) & Cache Memory are called Primary Storage (or Primary Memory).Knowledge Gap - What is secondary storage...?Cache memory is very fast memory and is located close to the CPU. It also a lot more expensive compared to standard RAM. Modern computers have Level 1 (L1), L2 and L3 Cache memory with the numbers referring to the distance from the CPU in that order. L1 is built into the chip itself. L3 is further away on the motherboard (Printed Circuit Board PCB) .The closer the cache the faster the CPU can access the data and execute instructions.NB Cache Memory and RAM are both known as volatile memory since they can be erased, which allows them to take on board new data. They also need power to store data.
7Processing Components Speed of data transfer...TASK: Go shopping...Create a table and compare costs and quantities of secondary storage, RAM and CPU with cache memory.What are your conclusions?...TRANSFER SPEED INCREASESSecondary StorageRAMCache memoryCPUTYPECOSTQuantitySecondary StorageRAMCPU (with cache)
8Processing Components Data BUSES – the processing components are connected on the motherboard via circuits called buses which allow the transfer of data and control signals. The speed of the buses also affect how fast a computer can perform operations.TASK: Attempt to draw a block diagram illustrating the architecture of the given example.
9Block diagram of computer architecture Main Memory (RAM)Other devices,Hard disk drives, USB ports, DVD drivesNorthbridgeFront Side Bus (FSB)CPU(CU, ALU & LI Cache)Back Side Bus (BSB)SouthbridgeL2 CacheL3 Cache
10RECAP Learning check – what do we now know??? Name the 2 components of a CPU?What are they used for?What is primary storage and what does it consist of?How is data transferred around a motherboard?
11Interface to bus and L2 Cache Processing ComponetsA dual-core processor simply has 2 CPU’s working together. They may both have their own cache memory or may share L2 or L3 cache but since they can fetch, decode and execute instructions at the same time so the computer is able to process more instructions as a whole. What affect will this have on performance?TASK: Using sticky notes label as many internal parts of the computer as you can.CPU Core & L1 CacheCPU Core & L1 CacheBack Side BusInterface to bus and L2 Cache
12Processing Components Consolidate learning:Questions:What is the purpose of the CPU in a computer?What is a dual-core processor? What are the names given for CPUs with 4 cores, 6 cores and 8 cores??Describe how cache memory and RAM are used by the CPU?Explain the differences between RAM & ROMGive a technical account of factors which affect computer performance. (A*)