Components of a Computer Prepared by: Mrs. McCallum-Rodney.

Slides:



Advertisements
Similar presentations
Components of a computer system
Advertisements

The CPU The Central Presentation Unit What is the CPU?
INTRODUCTION OF COMPUTER
Intermediate GNVQ ICT Computer Systems Hardware is the name that is given to any part of a computer that you can actually touch. An individual piece of.
Using Computers CS French Chapter 1.
Room: E-3-31 Phone: Dr Masri Ayob TK 2123 COMPUTER ORGANISATION & ARCHITECTURE Lecture 5: CPU and Memory.
Elements of the Computer (How a processor works)
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
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.
CMSC 104, Version 9/01 1 Machine Architecture and Number Systems Topics Major Computer Components Bits, Bytes, and Words The Decimal Number System The.
COMPONENTS OF THE SYSTEM UNIT
BLOCK DIAGRAM OF COMPUTER
Lesson 3 — How a Computer Processes Data
Chapter 3 Computer Hard ware
Higher Computing Computer Systems S. McCrossan 1 Higher Grade Computing Studies 2. Computer Structure Computer Structure The traditional diagram of a computer...
Computer Processing of Data
Introduction to Computing: Lecture 4
Computing hardware CPU.
What is a computer ?  A computer is an electronic device that can accept data and instruction, process them or store them for later retrieval, and sometimes.
Introduction to Computer Architecture. What is binary? We use the decimal (base 10) number system Binary is the base 2 number system Ten different numbers.
GCSE Information Technology Computer Systems 2 Hardware is the name that is given to any part of a computer that you can actually touch. An individual.
Lesson 3 — How a Computer Processes Data Unit 1 — Computer Basics.
Computer Organization - 1. INPUT PROCESS OUTPUT List different input devices Compare the use of voice recognition as opposed to the entry of data via.
Intro to Computers Computer Applications. What is a Computer? Initially the term computer referred to an individual whose job it was to perform mathematical.
Chapter 5 Computing Components. 5-2 Chapter Goals List the components and their function in a von Neumann machine Describe the fetch-decode-execute cycle.
General Concepts of Computer Organization Overview of Microcomputer.
SKILL AREA: 1.2 MAIN ELEMENTS OF A PERSONAL COMPUTER.
Information Technology Basic Computer Architecture Adnan Khalid.
Aug CMSC 104, LECT-021 Machine Architecture Some material in this presentation is borrowed form Adrian Ilie From The UNIVERSITY of NORTH CAROLINA.
Computer Organization & Assembly Language © by DR. M. Amer.
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
Computer Structure & Architecture 7b - CPU & Buses.
Computer Organization. The digital computer is a digital system that performs various computational tasks Digital computer use binary number system which.
Machine Architecture and Number Systems
System Unit Working of CPU. The CPU CPU The CPU CPU stands for central processing unit. it is brain of computer It is most important component of the.
Computer Systems. Bits Computers represent information as patterns of bits A bit (binary digit) is either 0 or 1 –binary  “two states” true and false,
Computer Fundamentals MSCH 233 Lecture 1. What is a computer? A computer is an electronic machine which can accept data in a certain form, process the.
Computer operation is of how the different parts of a computer system work together to perform a task.
Memory and Storage Aldon Tom. What is Memory? Memory is a solid-state digital device that stores data values. Memory holds running programs and the data.
Chapter 2.
Chapter 20 Computer Operations Computer Studies Today Chapter 20.
Computer Systems Objectives: To gain an understanding of the types of computer systems. Be able to identify the main components. Understand the difference.
Block diagram of a computer system Basic components of a computer system using block diagrams: Cpu Memory Input and output unit Evolution of microprocessor.
IC 3 BASICS, Internet and Computing Core Certification Computing Fundamentals Lesson 2 How Does a Computer Process Data?
1 Chapter 1 Basic Structures Of Computers. Computer : Introduction A computer is an electronic machine,devised for performing calculations and controlling.
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Chapter 1 Looking Inside the Computer System.
24/06/20161 Hardware Processor components & ROM. 224/06/2016 Learning Objectives Describe the function and purpose of the control unit, memory unit and.
Computer Structure. We will look at:  Four Box diagram  CPU  Memory  Registers and their role  Processing speed.
نظام المحاضرات الالكترونينظام المحاضرات الالكتروني Introduction :: Computer Organization and Architecture Computer.
Chapter 2 content Basic organization of computer What is motherboard
Computer Architecture and Number Systems
Computer Systems Nat 4/5 Computing Science Computer Structure:
CPU Lesson 2.
Computing Science Computer Structure: Lesson 1: Processor Structure
Systems Architecture Keywords Fetch Execute Cycle
MEMORY BYTES. MEMORY BYTES MEMORY MEMORY OUR Internal External.
Introduction of microprocessor
introduction to computer
Course Name: Computer Application Topic: Central Processing Unit (CPU)
Hook – CPU Knowledge Check
Basic Computer Organization
Machine Architecture and Number Systems
Components of a CPU AS Computing - F451.
Machine Architecture and Number Systems
Unit 1.1 System Architecture Lesson 2
Notes from Last Class Office Hours: GL Accounts?
Objectives Describe common CPU components and their function: ALU Arithmetic Logic Unit), CU (Control Unit), Cache Explain the function of the CPU as.
Presentation transcript:

Components of a Computer Prepared by: Mrs. McCallum-Rodney

What is a computer ? A computer is an implementation of a machine that mechanically interprets and executes a sequence of instructions, and communicates with peripheral devices (devices that work with a computer for example keyboard). The Von-Neumann model defines a machine that executes one instruction at a time. The instructions are stored locally in memory and executed by the CPU ( Central Processing Unit ).

What is a Computer System? A computer system consists of the computer itself and its peripheral equipment (devices that works with a computer). A computer system consists of the computer itself and its peripheral equipment (devices that works with a computer). A computer system is liken unto a human being, where the brain is the computer, but without hands, feet, mouth along with other parts of the body we will not be able to output what we understand from what was heard (ears), seen (eyes) and felt (skin). A computer system is liken unto a human being, where the brain is the computer, but without hands, feet, mouth along with other parts of the body we will not be able to output what we understand from what was heard (ears), seen (eyes) and felt (skin).

Diagram of the Computer System INPUT * keyboard * mouse * scanner * disk Computer Arithmetic and Logic Unit (ALU) OUTPUT * monitor * printer * disk Secondary Memory / Storage Main Memory Control Unit (CU)

Components of a Computer Main Memory Central Processing Unit (CPU) Arithmetic and Logic Unit Control Unit

Main Memory Main Memory is also known as: Memory Primary Memory or Primary Storage The reason that it is referred to as main memory is because it is the main location where the CPU looks for data and instructions during execution of a program. Memory can be thought of as a series of cells which can contain data or instructions. Each cell has a distinct address. Typically a cell can store 8 bits (a byte) of information ( more on this later ).

Main Memory (cont.) In most computers there are a variety of memory technologies that are used to store specific types of information. The two main types are Random Access Memory (RAM) Read-only Memory (ROM)

Random Access Memory Information can be both read from or written to RAM. This type of memory stores the instructions and data of a currently executing program. The problem with RAM is that it is volatile i.e. its contents are erased as soon as the computer is switched off. Additionally RAM is a finite resource (also expensive) and therefore limited. The amount of RAM usually determines the size of the programs that can be executed and the size of the data they work on.

Read-Only Memory ROM’s contain information that are read-only i.e. their contents can only be read. ROM’s contain information that are read-only i.e. their contents can only be read. The contents of ROM’s are non-volatile i.e. they are not lost after the machine is switched off. The contents of ROM’s are non-volatile i.e. they are not lost after the machine is switched off. ROM’s tend to store programs that are required to boot-up your computer. These programs load the operating system as well as execute a set of test routines called the POST ( Power On Self Test ). ROM’s tend to store programs that are required to boot-up your computer. These programs load the operating system as well as execute a set of test routines called the POST ( Power On Self Test ).

Read Only Memory (Cont.) EPROM - Erasable Programmable Read Only Memory EPROM - Erasable Programmable Read Only Memory This is a type of memory chip that can be erased by removing it from the circuit and exposing it to ultraviolet light (sun light). The chip can then be programmed. PROM – Programmable Read Only Memory PROM – Programmable Read Only Memory This is a type of memory chip that can be programmed, but once programmed it cannot be erased.

Secondary Memory The limitations of main memory are reduced with the inclusion of secondary memory or secondary storage. Secondary storage is non-volatile i.e. its contents are permanent until overwritten. potentially limitless in the sense that we can expand secondary memory at usually a cheaper cost than expanding main memory.

Secondary Memory Examples of secondary storage devices include: Hard disks Zip drives Floppy disks Read-Writable CD-ROMS (To be looked at later)

Device Drivers As different secondary storage devices record data in different ways, the CPU is not able to access the data directly unlike main memory (where it knows its internal layout). To allow CPU’s to access data on these secondary devices, a device driver is provided. A device driver is a small utility program that controls how data is written to or read from the device. A request by the CPU to read or write from the device is handled by the device driver which acts as an interface between the two.

Memory Latency The time taken for the CPU to access a data item on secondary storage is usually far slower than accessing main memory directly. Can you give reasons why ? Extra communications in dealing with the device driver Slow communication cabling between device and CPU.

Memory Latency (Cont.) Due to the slower access time ( latency ) to secondary storage it is beneficial to write programs that access main memory directly.

Hardware ( Memory ) CPU Main Memory Device Driver Secondary Storage Device Simplified Memory Access Diagram

Central Processing Unit The component that effectively manages the execution of instructions is the central processing unit ( CPU ). The CPU is in charge of reading instructions from memory and also reading and writing data to memory (scheduling). The CPU must organise the order of execution and ensure that all the data is available before an instruction is executed.

Central Processing Unit The CPU consists of two main functional units: The Control Unit ( CU ) The Arithmetic and Logic Unit ( ALU ) The Control Unit The control unit’s task is to coordinate the timing and organisation of machine instructions. The control unit has access to specific areas of high speed memory ( called registers ) for this task. Some registers used by C.U.’s are

Registers The Current Instruction Register ( CIR ) The Current Instruction Register ( CIR ) The Program Counter ( PC ) The Program Counter ( PC ) The Memory Data register ( MDR ) The Memory Data register ( MDR ) The Memory Address Register ( MAR ) The Memory Address Register ( MAR )

Registers The Program Counter The PC holds the address in memory of the next instruction to be executed. The Current Instruction Register The CIR holds the current instruction being executed. The Memory Address Register When an instruction in the CIR requires access to data in memory the MAR is loaded with the address in memory where the data resides.

Registers The Memory Data Register When the MAR is loaded with an address the actual memory data item is retrieved from memory and placed in the MDR. There are also a variety of general purpose registers than can be used as high-speed temporary storage locations.

Buses Generally, registers are loaded with data directly from main memory. To speed up the latency between memory and the CPU, dedicated communication channels are provided called buses. Different types of buses are: 1. An Address Bus – Which communicates addresses between memory, the PC and MAR. 2. A Data Bus – Which communicates data values between memory and the CIR and MDR.

Buses 3. A Control Bus – A bus which carries read/write signals to memory

Hardware ( CPU ) Main Memory Control Unit Control Bus (read/write signal) MDR MAR Data busAddress Bus

Arithmetic and Logic Unit This is the section of the CPU that performs arithmetic and logical operation on data. In other words, it is the part of the computer that computes. This is the section of the CPU that performs arithmetic and logical operation on data. In other words, it is the part of the computer that computes. Arithmetic operations include addition, subtraction, multiplication, and division. Arithmetic operations include addition, subtraction, multiplication, and division. Logical operations compare pairs of data items to determine whether they are equal and if not larger. Logical operations compare pairs of data items to determine whether they are equal and if not larger.

Machine Cycle The processing of a single machine-level instruction is accomplished in a four step machine cycle. The processing of a single machine-level instruction is accomplished in a four step machine cycle. As the CPU processes a single machine-level instruction, it completes a machine cycle. As the CPU processes a single machine-level instruction, it completes a machine cycle.

Machine Cycle Control UnitALU MEMORY CPU 2. DECODE The instruction is decoded into a form the ALU can process. 3.EXECUTE The ALU executes the instruction. 1.FETCH The next instruction is fetch from memory 4.STORE Results from the instruction execution are stored in memory