SlideShare a Scribd company logo
The Central Processing Unit:  What Goes On Inside the Computer
Objectives Identify the components of the central processing unit and explain 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
Central Processing Unit Complex set of electronic circuitry  Executes stored program instructions Two parts Control unit Arithmetic/logic unit (ALU)
The Control Unit Directs & coordinates Machine/Instruction Cycle Fetching instruction Decoding Executing Storing/Write-back MIPS  (million instructions/sec.) Must communicate with memory and ALU Sends data and instructions from secondary storage to memory as needed The Arithmetic/Logic Unit Arithmetic operations Comparison operations Logical operations  (and/or) Compare numbers, letters, or special characters Tests for one of three conditions Equal-to condition Less-than condition Greater-than condition
How the CPU Executes Instructions Four steps performed for each instruction Machine cycle: the amount of time needed to execute an instruction  Personal computers execute in less than one millionth of a second Supercomputers execute in less than one trillionth of a second Each CPU has its own instruction set those instructions that CPU can understand and execute
Machine Cycle The time required to retrieve, execute, and store an operation Components Instruction time Execution time
Instruction Time Also called I-time Control unit gets instruction from memory and puts it into a register Control unit decodes instruction and determines the memory location of needed data Execution Time Also called E-time Control unit moves data from memory to registers in ALU ALU executes instruction on the data Control unit stores result of operation in memory or in a register
RISC Technology Reduced Instruction Set Computing Uses a small subset of instructions Fewer instructions increases speed Drawback: complex operations have to be broken down into a series of smaller instructions Traditional processors use Complex Instruction Set Computing (CISC)
Computer Processing Speeds Instruction speeds measured in fractions of seconds Milli second: one thousandth of a second Micro second: one millionth of a second Nano second: one billionth of a second Modern computers have reached this speed Pico second: one trillionth of a second
Data Representation Computers understand two things: on and off Data represented in binary form Binary (base 2) number system Contains only two digits, 0 and 1 Corresponds to two states, on and off
The System Unit Contains: Processor Control Unit Motherboard Memory Module Expansion Cards/Ports Connectors
Motherboard  aka  System Board Memory slots Connectors –CPU Chips PCI expansion slots ISA expansion slot
Microprocessor Central processing unit etched on silicon chip Size: ½ inch or less Integrated Circuit (IC) Contain tens of millions of tiny transistors  Electronic switches/gates Key components: Central processing unit Registers System clock
Types of Chips Intel makes a family of processors Pentium processors in most PCs Celeron processor sold for low-cost PCs Xeon and Itanium for high-end workstations and network servers Other processors Cyrix and AMD make Intel-compatible microprocessors PowerPC chips used primarily in Macintosh computers Compaq’s Alpha microprocessor used in high-end servers
Data Storage and the CPU Two types of storage: Primary storage (memory) Stores data temporarily CPU refers to it for both program instructions and data Secondary storage Long-term storage Stored on external medium, such as a disk
Memory Stored Program Concept Operating system  Application programs Data processed Benchmarks RAM (volatile) Register Dynamic (DRAM) Static (SRAM) Cache Frequently used instructions ROM (non-volatile) CMOS (non-volatile) Configuration info
Memory Addresses Each memory location has  an address A unique number, much  like a mailbox May contain only one  instruction or piece of data When data is written back  to memory, previous contents of that address are destroyed Referred to by number Programming languages use a symbolic (named) address, such as Hours or Salary
Storage Sizes Kilo byte: 1024 (2 10 ) bytes Memory capacity of older personal computers Mega byte: roughly one million (2 20 ) bytes Personal computer memory  Portable storage devices (diskette, CD-ROM) Giga byte: roughly one billion (2 30 ) bytes Storage devices (hard drives) Mainframe and network server memory Tera byte: roughly one trillion (2 40 ) bytes Storage devices on very large systems
Registers High-speed temporary storage areas Storage locations located within the CPU Work under direction of control unit Accept, hold, and transfer instructions or data Keep track of where the next instruction to be executed or needed data is stored
Semiconductor Memory Used by most modern computers Reliable, inexpensive, and compact Volatile: requires continuous electric current If the current is interrupted, data is lost CMOS (Complementary Metal Oxide Semiconductor) Retains information when power is shut down Used to store information needed when the computer boots
Random Access Memory Data can be accessed randomly  Memory address 10 can be accessed as quickly as memory address 10,000,000 Types: Static RAM  (SRAM)  Retains its contents with intervention from CPU Dynamic RAM  (DRAM)  Must be continuously refreshed by CPU or it loses its contents Packaged on circuit boards Single in-line memory modules (SIMMS) Dual in-line memory modules (DIMMS) Click Projector to Learn How to Install Memory
Dynamic RAM Must be continuously refreshed by CPU or it loses its contents Used for personal computer memory Synchronous DRAM (SDRAM): faster type of DRAM used today Rambus DRAM (RDRAM): faster than SDRAM, will become more commonly used as price declines
Read-Only Memory Contains programs and data permanently recorded into memory at the factory Cannot be changed by user Not volatile: contents do not disappear when power is lost Programmable ROM (PROM) chips Some instructions on chip can be changed
Flash Memory Nonvolatile RAM Used in cellular phones, digital cameras, and some handheld computers Flash memory chips resemble credit cards Smaller than disk drive and require less power
Storage Devices Long-term storage of memory Data not lost when computer shut down Examples include hard drive, diskette, DVD-ROM, USB Flash Drive
Buses Parallel electrical paths that transport data between the CPU and memory Expansion System
Expansion Boards Connect to expansion slots on motherboard Used to connect peripheral devices Video/graphics card (adapter) Sound card Internal modem Plug & Play PC Card  (PCMCIA – Personal Computer Memory Card International Association) Hot swap
Ports External connectors to plug in peripherals such as printers Two types of ports Serial: transmit data one bit at a time Used for slow devices such as the mouse and keyboard Parallel: transmit groups of bits together side-by-side Used for faster devices such as printers and scanners
Cache A temporary storage area Speeds up data transfer within computer Memory cache A small block of high-speed memory Stores most frequently and most recently used data and instructions Microprocessor looks in cache first (faster); if not there, it retrieves from memory Processor cache Internal (Level 1) cache built into microprocessor Fastest access, but highest cost External (Level 2) cache on separate chip Incorporated into processor on some current microprocessors
Parallel Processing Using multiple processors at  once Control processor  divides problem into parts Each part sent to separate processor Each processor has its own memory Control processor assembles results Some computers using parallel processing operate in terms of teraflops: trillions of floating-point instructions per second
Pipelining A variation of traditional serial processing Feeds a new instruction into CPU at each step of the machine cycle Instruction 2 fetched when instruction 1 is being decoded, rather than waiting until cycle is complete
Trivia What is E-time? What is  pipelining ? What is a register? Execution time Temporary storage What is CISC vs RISC? CISC-Complex RISC-Reduced Instruction Set Computer
Terms to Know: Central Processing Unit Arithmetic/logic unit (ALU) ASCII Binary system Cache memory CMOS Control unit CPU EBCDIC E-time Expansion board Flash memory I-time Machine cycle Memory Motherboard Non-volatile memory Parallel processing Pipelining Plug and Play RAM Register ROM System unit USB Volatile memory
Questions? ? ? ? ? ?
If Asked, Can You…. Identify the components of the central processing unit and explain 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
Sources Capron; Computers: Tools for An Information Age, 8 th  Ed. 2003 Pfaffenberger; Computers in Your Future 2003 Microsoft Clipart   Webopedia

More Related Content

PPT
PPTX
CPU (Central processing unit)
PPT
PPT
Slides of cpu
PPTX
Science computer processor
PPS
PPTX
CPU (Central processing unit)
Slides of cpu
Science computer processor

What's hot (20)

PPTX
Central Processing Unit (Cpu)kurdish
PPTX
The central processing unit by group 5 2015
PPTX
Basic computer architecture
PPT
Cpu and its functions
PPTX
Computer Organization: Introduction to Microprocessor and Microcontroller
PDF
CS4109 Computer System Architecture
PPTX
Central Processing Unit
PPTX
Computer system architecture
PPTX
BASIC COMPUTER ARCHITECTURE
PPSX
08. Central Processing Unit (CPU)
PPTX
Computer architecture and organization
PPTX
CPU and its components
PDF
Computer Fundamentals Chapter 07 pam
PPTX
Central Processing Unit CUP by madridista ujjwal
PPT
The CPU and Memory and Major Components
PPT
Introduction to Computer Architecture
PPTX
Computer Architecture and organization
PPTX
Marek Majtan - Processor Presentation
PPTX
Computer architecture
PPTX
CPU (Central Processing Units)
Central Processing Unit (Cpu)kurdish
The central processing unit by group 5 2015
Basic computer architecture
Cpu and its functions
Computer Organization: Introduction to Microprocessor and Microcontroller
CS4109 Computer System Architecture
Central Processing Unit
Computer system architecture
BASIC COMPUTER ARCHITECTURE
08. Central Processing Unit (CPU)
Computer architecture and organization
CPU and its components
Computer Fundamentals Chapter 07 pam
Central Processing Unit CUP by madridista ujjwal
The CPU and Memory and Major Components
Introduction to Computer Architecture
Computer Architecture and organization
Marek Majtan - Processor Presentation
Computer architecture
CPU (Central Processing Units)
Ad

Viewers also liked (7)

PPTX
Computer Architecture
PDF
Central processing unit
PPT
central processing unit and pipeline
PPT
Decoder for digital electronics
DOCX
Central processing unit
PPTX
Central processing unit
PPT
Computer Architecture
Central processing unit
central processing unit and pipeline
Decoder for digital electronics
Central processing unit
Central processing unit
Ad

Similar to Three Central Processing Unit (20)

PPTX
Week 2(b) - Processing Data in Computer.pptx
PDF
Components of the System Unit.pdf
PPT
PCT SLIDE3
PPT
11. Computer Systems Hardware 1
PPT
Central processor amd memory
PPT
Multimedia Technology
PPTX
Week3 v2 (1)
PPTX
System Unit
PPTX
ITC COURSE-Components of System Unit.pptx
PPT
system unit.ppt
PPT
Computer System.ppt
PPT
Components of System Unit
PPT
ITBIS105 6
PPTX
Lecture 2 - Computer Hardware & Operating Systems
PPT
Computer Structures
PPT
Component of system unit.ppt
PPTX
ICT-Lecture_4(CPU, Registers,BUSES).pptx
PPTX
Computer System Overview-William Stallings.pptx
PPTX
Hardware Components2 - Anti-Dote Series
PPT
Computer and its types
Week 2(b) - Processing Data in Computer.pptx
Components of the System Unit.pdf
PCT SLIDE3
11. Computer Systems Hardware 1
Central processor amd memory
Multimedia Technology
Week3 v2 (1)
System Unit
ITC COURSE-Components of System Unit.pptx
system unit.ppt
Computer System.ppt
Components of System Unit
ITBIS105 6
Lecture 2 - Computer Hardware & Operating Systems
Computer Structures
Component of system unit.ppt
ICT-Lecture_4(CPU, Registers,BUSES).pptx
Computer System Overview-William Stallings.pptx
Hardware Components2 - Anti-Dote Series
Computer and its types

More from MISY (20)

PPT
Payroll applications new
PPT
Data management new
PPT
Uses of dbms
PPT
3. use of ict in time management
PPT
Ict in time management ca
PPT
Ict in publishing ca
PPT
Ict in teaching learning ca
PPT
Ict in advertising ca
PPT
Use of ict in advertising
PPT
2b working practices
PPT
Working practices ca
PPT
Process control ca
PPT
Intro to control ca
PPT
2a contol systems
PPT
Robots and cars ca
PPT
3e - Security And Privacy
PPT
3f - Health & Safety
PPT
3e - Security Of Data
PPT
3e - Data Protection
PPT
3e - Computer Crime
Payroll applications new
Data management new
Uses of dbms
3. use of ict in time management
Ict in time management ca
Ict in publishing ca
Ict in teaching learning ca
Ict in advertising ca
Use of ict in advertising
2b working practices
Working practices ca
Process control ca
Intro to control ca
2a contol systems
Robots and cars ca
3e - Security And Privacy
3f - Health & Safety
3e - Security Of Data
3e - Data Protection
3e - Computer Crime

Recently uploaded (20)

PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PDF
Insiders guide to clinical Medicine.pdf
PDF
Complications of Minimal Access Surgery at WLH
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PDF
Pre independence Education in Inndia.pdf
PPTX
Cell Types and Its function , kingdom of life
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PPTX
Week 4 Term 3 Study Techniques revisited.pptx
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PPTX
Pharma ospi slides which help in ospi learning
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PDF
Basic Mud Logging Guide for educational purpose
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PDF
RMMM.pdf make it easy to upload and study
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PDF
Supply Chain Operations Speaking Notes -ICLT Program
O5-L3 Freight Transport Ops (International) V1.pdf
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
Insiders guide to clinical Medicine.pdf
Complications of Minimal Access Surgery at WLH
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
Pre independence Education in Inndia.pdf
Cell Types and Its function , kingdom of life
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
Week 4 Term 3 Study Techniques revisited.pptx
Abdominal Access Techniques with Prof. Dr. R K Mishra
Pharma ospi slides which help in ospi learning
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
Module 4: Burden of Disease Tutorial Slides S2 2025
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Basic Mud Logging Guide for educational purpose
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
RMMM.pdf make it easy to upload and study
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
Supply Chain Operations Speaking Notes -ICLT Program

Three Central Processing Unit

  • 1. The Central Processing Unit: What Goes On Inside the Computer
  • 2. Objectives Identify the components of the central processing unit and explain 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
  • 3. Central Processing Unit Complex set of electronic circuitry Executes stored program instructions Two parts Control unit Arithmetic/logic unit (ALU)
  • 4. The Control Unit Directs & coordinates Machine/Instruction Cycle Fetching instruction Decoding Executing Storing/Write-back MIPS (million instructions/sec.) Must communicate with memory and ALU Sends data and instructions from secondary storage to memory as needed The Arithmetic/Logic Unit Arithmetic operations Comparison operations Logical operations (and/or) Compare numbers, letters, or special characters Tests for one of three conditions Equal-to condition Less-than condition Greater-than condition
  • 5. How the CPU Executes Instructions Four steps performed for each instruction Machine cycle: the amount of time needed to execute an instruction Personal computers execute in less than one millionth of a second Supercomputers execute in less than one trillionth of a second Each CPU has its own instruction set those instructions that CPU can understand and execute
  • 6. Machine Cycle The time required to retrieve, execute, and store an operation Components Instruction time Execution time
  • 7. Instruction Time Also called I-time Control unit gets instruction from memory and puts it into a register Control unit decodes instruction and determines the memory location of needed data Execution Time Also called E-time Control unit moves data from memory to registers in ALU ALU executes instruction on the data Control unit stores result of operation in memory or in a register
  • 8. RISC Technology Reduced Instruction Set Computing Uses a small subset of instructions Fewer instructions increases speed Drawback: complex operations have to be broken down into a series of smaller instructions Traditional processors use Complex Instruction Set Computing (CISC)
  • 9. Computer Processing Speeds Instruction speeds measured in fractions of seconds Milli second: one thousandth of a second Micro second: one millionth of a second Nano second: one billionth of a second Modern computers have reached this speed Pico second: one trillionth of a second
  • 10. Data Representation Computers understand two things: on and off Data represented in binary form Binary (base 2) number system Contains only two digits, 0 and 1 Corresponds to two states, on and off
  • 11. The System Unit Contains: Processor Control Unit Motherboard Memory Module Expansion Cards/Ports Connectors
  • 12. Motherboard aka System Board Memory slots Connectors –CPU Chips PCI expansion slots ISA expansion slot
  • 13. Microprocessor Central processing unit etched on silicon chip Size: ½ inch or less Integrated Circuit (IC) Contain tens of millions of tiny transistors Electronic switches/gates Key components: Central processing unit Registers System clock
  • 14. Types of Chips Intel makes a family of processors Pentium processors in most PCs Celeron processor sold for low-cost PCs Xeon and Itanium for high-end workstations and network servers Other processors Cyrix and AMD make Intel-compatible microprocessors PowerPC chips used primarily in Macintosh computers Compaq’s Alpha microprocessor used in high-end servers
  • 15. Data Storage and the CPU Two types of storage: Primary storage (memory) Stores data temporarily CPU refers to it for both program instructions and data Secondary storage Long-term storage Stored on external medium, such as a disk
  • 16. Memory Stored Program Concept Operating system Application programs Data processed Benchmarks RAM (volatile) Register Dynamic (DRAM) Static (SRAM) Cache Frequently used instructions ROM (non-volatile) CMOS (non-volatile) Configuration info
  • 17. Memory Addresses Each memory location has an address A unique number, much like a mailbox May contain only one instruction or piece of data When data is written back to memory, previous contents of that address are destroyed Referred to by number Programming languages use a symbolic (named) address, such as Hours or Salary
  • 18. Storage Sizes Kilo byte: 1024 (2 10 ) bytes Memory capacity of older personal computers Mega byte: roughly one million (2 20 ) bytes Personal computer memory Portable storage devices (diskette, CD-ROM) Giga byte: roughly one billion (2 30 ) bytes Storage devices (hard drives) Mainframe and network server memory Tera byte: roughly one trillion (2 40 ) bytes Storage devices on very large systems
  • 19. Registers High-speed temporary storage areas Storage locations located within the CPU Work under direction of control unit Accept, hold, and transfer instructions or data Keep track of where the next instruction to be executed or needed data is stored
  • 20. Semiconductor Memory Used by most modern computers Reliable, inexpensive, and compact Volatile: requires continuous electric current If the current is interrupted, data is lost CMOS (Complementary Metal Oxide Semiconductor) Retains information when power is shut down Used to store information needed when the computer boots
  • 21. Random Access Memory Data can be accessed randomly Memory address 10 can be accessed as quickly as memory address 10,000,000 Types: Static RAM (SRAM) Retains its contents with intervention from CPU Dynamic RAM (DRAM) Must be continuously refreshed by CPU or it loses its contents Packaged on circuit boards Single in-line memory modules (SIMMS) Dual in-line memory modules (DIMMS) Click Projector to Learn How to Install Memory
  • 22. Dynamic RAM Must be continuously refreshed by CPU or it loses its contents Used for personal computer memory Synchronous DRAM (SDRAM): faster type of DRAM used today Rambus DRAM (RDRAM): faster than SDRAM, will become more commonly used as price declines
  • 23. Read-Only Memory Contains programs and data permanently recorded into memory at the factory Cannot be changed by user Not volatile: contents do not disappear when power is lost Programmable ROM (PROM) chips Some instructions on chip can be changed
  • 24. Flash Memory Nonvolatile RAM Used in cellular phones, digital cameras, and some handheld computers Flash memory chips resemble credit cards Smaller than disk drive and require less power
  • 25. Storage Devices Long-term storage of memory Data not lost when computer shut down Examples include hard drive, diskette, DVD-ROM, USB Flash Drive
  • 26. Buses Parallel electrical paths that transport data between the CPU and memory Expansion System
  • 27. Expansion Boards Connect to expansion slots on motherboard Used to connect peripheral devices Video/graphics card (adapter) Sound card Internal modem Plug & Play PC Card (PCMCIA – Personal Computer Memory Card International Association) Hot swap
  • 28. Ports External connectors to plug in peripherals such as printers Two types of ports Serial: transmit data one bit at a time Used for slow devices such as the mouse and keyboard Parallel: transmit groups of bits together side-by-side Used for faster devices such as printers and scanners
  • 29. Cache A temporary storage area Speeds up data transfer within computer Memory cache A small block of high-speed memory Stores most frequently and most recently used data and instructions Microprocessor looks in cache first (faster); if not there, it retrieves from memory Processor cache Internal (Level 1) cache built into microprocessor Fastest access, but highest cost External (Level 2) cache on separate chip Incorporated into processor on some current microprocessors
  • 30. Parallel Processing Using multiple processors at once Control processor divides problem into parts Each part sent to separate processor Each processor has its own memory Control processor assembles results Some computers using parallel processing operate in terms of teraflops: trillions of floating-point instructions per second
  • 31. Pipelining A variation of traditional serial processing Feeds a new instruction into CPU at each step of the machine cycle Instruction 2 fetched when instruction 1 is being decoded, rather than waiting until cycle is complete
  • 32. Trivia What is E-time? What is pipelining ? What is a register? Execution time Temporary storage What is CISC vs RISC? CISC-Complex RISC-Reduced Instruction Set Computer
  • 33. Terms to Know: Central Processing Unit Arithmetic/logic unit (ALU) ASCII Binary system Cache memory CMOS Control unit CPU EBCDIC E-time Expansion board Flash memory I-time Machine cycle Memory Motherboard Non-volatile memory Parallel processing Pipelining Plug and Play RAM Register ROM System unit USB Volatile memory
  • 34. Questions? ? ? ? ? ?
  • 35. If Asked, Can You…. Identify the components of the central processing unit and explain 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
  • 36. Sources Capron; Computers: Tools for An Information Age, 8 th Ed. 2003 Pfaffenberger; Computers in Your Future 2003 Microsoft Clipart Webopedia