The Central Processing Unit: What Goes on Inside the Computer.

Slides:



Advertisements
Similar presentations
The Central Processing Unit: What Goes on Inside the Computer
Advertisements

Chapter 4 The Central Processing Unit
Computer Memory and Data Transfer
Welcome to CMPE003 Personal Computers: Hardware and Software Dr. Chane Fullmer Fall 2002 UC Santa Cruz.
Welcome to CMPE003 Personal Computer Concepts: Hardware and Software Winter 2003 UC Santa Cruz Instructor: Guy Cox.
The Central Processing Unit: What Goes on Inside the Computer.
CENTRAL PROCESSING UNIT
Computer Hardware.
Copyright © 2003 by Prentice Hall Computers: Tools for an Information Age Chapter 4 The Central Processing Unit: What Goes On Inside the Computer.
The Central Processor and Memory
Technology Component: Computer Hardware – Part 2 Basic Components Dr. V.T. Raja Oregon State University.
Lecture 1 Basic structure of computer History of computer development.
Computer Applications NCBS Stage 1. The Central Processing UnitSlide 2Computer Applications Stage 1 Course Content and Assessment Practical – 60% (2 Hrs.
Chapter 4 The Central Processing Unit: What goes on Inside the Computer.
UNIT 9 Computer architecture
1 Senn, Information Technology, 3 rd Edition © 2004 Pearson Prentice Hall James A. Senn’s Information Technology, 3 rd Edition Chapter 4 The Central Processor.
1 Microprocessor speeds Measure of system clock speed –How many electronic pulses the clock produces per second (clock frequency) –Usually expressed in.
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.
Memory. When we receive some instruction or information we retain them in our memory. Similarly a computer stores the instructions for solving a problem,
Chapter 4  Converts data into information  Control center  Set of electronic circuitry that executes stored program instructions  Two parts ◦ Control.
Unit 3: Hardware Components & Software Concepts
BLOCK DIAGRAM OF COMPUTER
1 Adapted from Pearson Prentice Hall Adapted from James A. Senn’s Information Technology, 3 rd Edition Chapter 4 The Central Processor and Memory.
Chapter 3 Computer Hard ware
C4- The Central Processing Unit: What Goes On Inside the Computer.
Computers: Information Technology in Perspective By Long and Long Copyright 2002 Prentice Hall, Inc. Computers: Information Technology in Perspective.
3 1 3 C H A P T E R Hardware: Input, Processing, and Output Devices.
Chapter 2: CPU &Data Storage. CPU Each computer has at least one CPU Each computer has at least one CPU CPU execute instructions to carry out tasks –
GRAP 3175 Computer Applications for Drafting Unit II Computer Hardware.
What is a Computer ? Computers are Electronic Machines that process (performs calculation and manipulation) Data under the control of Set of Instructions.
1 Inside the Computer Chapter 6 Copyright Prentice-Hall, Inc
Chapter Two Hardware Basics: Inside the Box. ©1999 Addison Wesley Longman2.2 Chapter Outline What Computers Do A Bit About Bits The Computer’s Core: CPU.
MBMPowered by DeSiaMore System Unit 1. MBMPowered by DeSiaMore Definition The system unit/system cabinet is a container that houses most of the electronic.
Lesson 2 — How Does A Computer Process Data?
Hardware & Software The CPU & Memory.
Module 5 Central Processing Unit 1. Binary representation of data 2. The components of the CPU 3. CPU and Instruction set 4. Important features of CPUs.
1 Introduction to Computers Prof. Sokol Computer and Information Science Brooklyn College.
Computers Are Your Future Eleventh Edition Chapter 2: Inside the System Unit Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall1.
The Central Processing Unit: What Goes on Inside the Computer
1Copyright © Prentice Hall 2000 The Central Processing Unit Chapter 3 What Goes on Inside the Computer.
1Module 5: CPU How the CPU executes instructions Each CPU has its own instruction set Instructions are fundamental operations such as addition, load/save,
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.
Computer Basics Terminology - Take Notes. What is a computer? well, what is the technical definition A computer is a machine that changes information.
IT Groundwork ICS3UC - Unit 1 Hardware. Overview of Computer System.
Lesson 3 — How a Computer Processes Data Unit 1 — Computer Basics.
COMPUTER BASICS Computer Technology. WHAT IS A COMPUTER?  Electronic  Accepts data and instructions  Manipulates, processes, and displays the information.
SKILL AREA: 1.2 MAIN ELEMENTS OF A PERSONAL COMPUTER.
Copyright © 2003 by Prentice Hall Computers: Tools for an Information Age Chapter 4 The Central Processing Unit: What Goes On Inside the Computer.
CSCI-100 Introduction to Computing Hardware Part I.
1 Course Title: IT IN BUSINESS Course Instructor: ADEEL ANJUM Chapter No: 04 1 BY ADEEL ANJUM (MCS, CCNA,WEB DEVELOPER)
1 Central Processing Unit (CPU) Consists of complex set of electronic circuitry Executes stored program instructions Three components –Registers –Control.
T HE C ENTRAL P ROCESSING U NIT : W HAT G OES ON I NSIDE THE C OMPUTER By : Mr. Johny Anthony.
Basic Computer Organization Rashedul Hasan.. Five basic operation No matter what shape, size, cost and speed of computer we are talking about, all computer.
Succeeding with Technology Chapter 2 Hardware Designed to Meet the Need The Digital Revolution Integrated Circuits and Processing Storage Input, Output,
Computers: Tools for an Information Age Chapter 4 The Central Processing Unit: What Goes On Inside the Computer.
Chapter 2 Turning Data into Something You Can Use
Memory The term memory is referred to computer’s main memory, or RAM (Random Access Memory). RAM is the location where data and programs are stored (temporarily),
 A computer is an electronic device that receives data (input), processes data, stores data, and produces a result (output).  It performs only three.
BY MANJU Lesson 21 Computer Hardware. System Components A computer system requires many components to do its job: Input: Device to input data so it can.
Objectives Identify the components of the central processing unit and how they work together and interact with memory Describe how program instructions.
The Central Processing Unit: What Goes on Inside the Computer.
CHAPTER (3) The Central Processing Unit (CPU) Emad Salem.
Information Technology (IT). Information Technology – technology used to create, store, exchange, and use information in its various forms (business data,
The Central Processing Unit: What Goes on Inside the Computer
The Central Processing Unit: What Goes on Inside the Computer
The Central Processing Unit
Computers: Tools for an Information Age
Basic Computer Organization
Computers: Tools for an Information Age
Computer components.
Presentation transcript:

The Central Processing Unit: What Goes on Inside the Computer

Objectives Identify the components of the central processing unit and how they work together and interact with memory Describe how program instructions are executed by the computer Explain how data is represented in the computer Describe how the computer finds instructions and data Describe the components of a microcomputer system unit’s motherboard List the measures of computer processing speed and explain the approaches that increase speed

The CPU – Central Processing Unit

The CPU Converts data into information Control center Set of electronic circuitry that executes stored program instructions Two parts –Control Unit (CU) –Arithmetic Logic Unit (ALU)

Control Unit CU Part of the hardware that is in-charge Directs the computer system to execute stored program instructions Communicates with other parts of the hardware

Arithmetic / Logic Unit ALU Performs arithmetic operations Performs logical operations

Arithmetic Operations Addition Subtraction Multiplication Division

Logical Operations Evaluates conditions Makes comparisons Can compare –Numbers –Letters –Special characters

Types of Storage Secondary –Data that will eventually be used –Long-term Memory –Data that will be used in the near future –Temporary –Faster access than storage Registers –Data immediately related to the operation being executed –Faster access than memory

Measuring Storage Capacity KB – kilobyte 1024 bytes Some diskettes Cache memory MB – megabyte Million bytes RAM GB – gigabyte Billion bytes Hard disks CDs and DVDs TB – terabytes Trillion bytes Large hard disks

Memory Many Names Primary storage Primary memory Main storage Internal storage Main memory

Main Types of Memory RAM Random Access Memory ROM Read Only Memory

RAM Requires current to retain values Volatile Data and instructions can be read and modified Users typically refer to this type of memory

What’s in RAM? Operating System Program currently running Data needed by the program Intermediate results waiting to be output

ROM Programs and data that are permanently recorded at the factory Read Use Cannot be changed by the user, recorded at factory. Stores data for booting the computer that is activated when computer is turned on Nonvolatile

Executing Programs CU gets an instruction and places it in memory CU decodes the instruction CU notifies the appropriate part of hardware to take action Control is transferred to the appropriate part of hardware Task is performed Control is returned to the CU

Machine Cycle I-time CU fetches an instruction from memory and puts it into a register CU decodes the instruction and determines the memory location of the data required

Machine Cycle E-time Execution –CU moves the data from memory to registers in the ALU –ALU is given control and executes the instruction –Control returns to the CU CU stores the result of the operation in memory or in a register

Clock Speed __SPEED______ at which the processor executes instructions. Measured in megahertz or gigahertz(MHz or GHz) The higher the clock speed, the _more_ instructions a processor can perform. It is not practical to compare clock speed between computers, because different models have different clock cycles for same instruction.

The Motherboard Microprocessor chip Memory chips Connections to other parts of the hardware Additional chips may be added

Storage Devices Hard drive Floppy drive CD-ROM drive DVD-ROM drive

Microprocessor CPU etched on a chip Chip size is ¼ x ¼ inch Composed of silicon Contains millions of transistors –Electronic switches that can allow current to pass through

Microprocessor Components Control Unit – CU Arithmetic / Logic Unit – ALU Registers System clock

Building a Better Microprocessor The faster the computer runs The cheaper it is to make The more reliable it is The more functions that are combined on a microprocessor:

Types of Microprocessors Intel Pentium Celeron Xeon and Itanium Intel-compatible Cyrix AMD

Speed and Power What makes a computer fast? Microprocessor speed Bus line size Availability of cache Flash memory RISC computers Parallel processing

Computer Processing Speed Time to execute an instruction Millisecond Microsecond Nanosecond –Modern computers Picosecond –In the future

Microprocessor Speed Clock speed –Megahertz (MHz) –Gigahertz (GHz) Number of instructions per second –Millions of Instructions Per Second (MIPS) Performance of complex mathematical operations –One million floating-point operations per second (Megaflop )

Flash Memory Nonvolatile RAM Used in –Cellular phones –Digital cameras –Digital music recorders –PDAs