CHAPTER (3) The Central Processing Unit (CPU) Emad Salem.

Slides:



Advertisements
Similar presentations
Chapter 4 The Central Processing Unit
Advertisements

The Central Processing Unit: What Goes on Inside the Computer.
The Central Processing Unit: What Goes on Inside the Computer.
 2002 Prentice Hall Hardware Basics: Inside The Box Chapter 2.
CENTRAL PROCESSING UNIT
Copyright © 2003 by Prentice Hall Computers: Tools for an Information Age Chapter 4 The Central Processing Unit: What Goes On Inside the Computer.
2 pt 3 pt 4 pt 5pt 1 pt 2 pt 3 pt 4 pt 5 pt 1 pt 2pt 3 pt 4pt 5 pt 1pt 2pt 3 pt 4 pt 5 pt 1 pt 2 pt 3 pt 4pt 5 pt 1pt Category1 Computers Category2 CPU.
The Central Processor and Memory
Chapter 0 Introduction to Computing
Objectives Overview Discovering Computers 2014: Chapter 6 See Page 248
Memory. When we receive some instruction or information we retain them in our memory. Similarly a computer stores the instructions for solving a problem,
Computers Are Your Future Eleventh Edition Chapter 2: Inside the System Unit Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall1.
Chapter 4  Converts data into information  Control center  Set of electronic circuitry that executes stored program instructions  Two parts ◦ Control.
BLOCK DIAGRAM OF COMPUTER
Chapter 6 Inside Computers and Mobile Devices Discovering Computers Technology in a World of Computers, Mobile Devices, and the Internet.
Your Interactive Guide to the Digital World Discovering Computers 2012.
The Components of the System Unit Chapter 4 By: Janice Colon.
Lesson 3 — How a Computer Processes Data
C4- The Central Processing Unit: What Goes On Inside the Computer.
Chapter 4 The System Unit: Processing and Memory Prepared by : Mrs. Sara salih.
1 More on Computer Components Computer switches Binary number system Inside the CPU Cache memory Types of RAM Computer buses Creating faster CPUs NEXT.
E0001 Computers in Engineering1 The System Unit & Memory.
3 1 3 C H A P T E R Hardware: Input, Processing, and Output Devices.
GRAP 3175 Computer Applications for Drafting Unit II Computer Hardware.
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.
Discovering Computers 2012: Chapter 4
Objectives Overview Describe the various computer and mobile device cases and the contents they protect Describe multi-core processors, the components.
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.
Copyright © 2003 by Prentice Hall Module 5 Central Processing Unit 1. Binary representation of data 2. The components of the CPU 3. CPU and Instruction.
Personal Computer Adapted by Dr. Semmes from Mrs. Jungman’s Hardware Presentation and Mrs. Belisle’s Class Notes.
Discovering Computers Fundamentals, 2010 Edition Living in a Digital World Chapter Three.
Slide 1 Wednesday, October 07, 2015 Low Level Machine.
Hardware Data Storage.
Copyright Prentice-Hall, Inc Chapter 2.
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.
Lesson 3 — How a Computer Processes Data Unit 1 — Computer Basics.
SKILL AREA: 1.2 MAIN ELEMENTS OF A PERSONAL COMPUTER.
FIRST COURSE Essential Computer Concepts. XP New Perspectives on Microsoft Office 2007: Windows XP Edition2 What Is a Computer? A computer is an electronic.
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.
Basic Computer Organization Rashedul Hasan.. Five basic operation No matter what shape, size, cost and speed of computer we are talking about, all computer.
UNIVERSITI TENAGA NASIONAL “Generates Professionals” MODULE 3 INTRODUCTION TO COMPUTER SYSTEM: STRUCTURE & PROCESSES.
The Computer System.
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
Chapter 2.
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.
Computers Are Your Future Eleventh Edition Chapter 2: Inside the System Unit Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall1.
Information Technology INT1001 Lecture 2 1. Computers Are Your Future Tenth Edition Chapter 6: Inside the System Unit Copyright © 2009 Pearson Education,
IC 3 BASICS, Internet and Computing Core Certification Computing Fundamentals Lesson 2 How Does a Computer Process Data?
Introduction to Programming. Key terms  CPU  I/O Devices  Main memory  Secondary memory  Operating system  User interface  Application  GUI 
Information Technology (IT). Information Technology – technology used to create, store, exchange, and use information in its various forms (business data,
Computer basics.
Computer Hardware – System Unit
Discovering Computers 2011: Living in a Digital World Chapter 4
The Central Processing Unit
Chapter 2 – Computer hardware
Objectives Overview Differentiate among various styles of system units on desktop computers, notebook computers, and mobile devices Describe the control.
Week 3 The Components of the System Unit
Computers © 2005 Prentice-Hall, Inc. Slide 1.
Chapter 2: Computer Hardware
Computers: Tools for an Information Age
Introduction To Computing BBA & MBA
Basic Computer Organization
Computers: Tools for an Information Age
Presentation transcript:

CHAPTER (3) The Central Processing Unit (CPU) Emad Salem

The central processing unit (CPU)central processing unit (CPU) The central processing unit (CPU) is a complex set of electronic circuitry that executes program instructions; it consists of a control unit and an arithmetic/logic unit.central processing unit (CPU)

The control unitcontrol unit The control unit of the central processing unit coordinates execution of the program instructions by communicating with the arithmetic/logic unit and memory--the parts of the system that actually execute the program.control unit

The Arithmetic/Logic Unit (ALU)Arithmetic/Logic Unit (ALU) The arithmetic/logic unit (ALU) contains circuitry that executes the arithmetic and logical operations. The unit can perform four arithmetic operations: addition, subtraction, multiplication, and division. Its logical operations usually involve making comparisons that test for three conditions: the equal-to condition, the less-than condition, and the greater-than condition. The computer can test for more than one condition at once, so it can discern three other conditions as well: less than or equal to ( =), and less than ( ).arithmetic/logic unit (ALU)arithmetic operations logical operations equal-to conditionless-than conditiongreater-than condition

How the CPU Executes Program Instructions? The central processing unit follows four main steps when executing an instruction (I-time, E-time):I-timeE-time I-timeI-time (Instruction time) (1) Fetch: fetches--gets--the instruction from memory. (2) Decode: decodes the instruction and gives instructions for the transfer of appropriate data from memory to the ALU. E-timeE-time (Execution time) (3) Execute: directs the ALU to perform the actual operation on the data. (4) Store: directs the ALU to store the result of the operation in memory or a register.

How the CPU Executes Program Instructions?

Data Representation: Since a computer can recognize only whether electricity is on or off, data is represented by an on/off binary system, represented by the digits (1 and 0).binary system

Binary system Each 0 or 1 in the binary system is called a bit (binary digit).bit A group of bits (usually 8 bits) is called a byte, which usually represents one character of data, such as a letter (from A-Z), digit (0-9), or special character Memory capacity was once expressed in Kilobytes (KB or K). One kilobyte equals 1024 bytes. A Megabyte (MB), about one 1024 KB.Kilobytes (KB K) Megabyte (MB) Is used today to express memory size. A Gigabyte (GB) equals about 1024 MB.Gigabyte (GB) To express secondary storage size. A Terabyte (TB) equals about 1024 GB.

A computer wordword is the number of bits that make up a unit of data, as defined by the computer system.

ASCIIASCII Code A common coding scheme for representing characters is ASCII (American Standard Code for Information Interchange), which uses 8 bits per character. ASCII

The MotherboardMotherboard The motherboard, the flat board within the personal computer housing, holds the chips and circuitry that organize the computer's activities. The motherboard also holds expansion slots into which other circuit boards can be inserted to link peripheral devices to the processor.motherboard expansion slots

Microprocessor Microprocessors contain tiny transistors, electronic switches that may or may not allow current to pass through, representing a 1 or 0 bit, respectively.transistors

Microprocessor speeds measures 1. MegaHertz (MHz): Microprocessor speeds are usually expressed in megahertz, millions of machine cycles per second. 2. (MIPS), which stands for one Million Instructions Per Second. 3. megaflop, which stands for one million floating-point operations per second.

Random-access memory (RAM) Keeps the instructions and data for whatever programs you happen to be using at the moment.

A single in-line memory module (SIMM)single in-line memory module (SIMM) Is a plug-in board that contains memory chips.

RAM Types: RAM is often divided into two types: 1. Static RAM (SRAM), which is faster.(SRAM) 2. Dynamic RAM (DRAM), which is smaller and less expensive.(DRAM)

Read-only memory (ROM) Contains programs and data that are permanently recorded into this type of memory at the factory; they can be read and used, but they cannot be changed by the user. ROM is nonvolatile.