SlideShare a Scribd company logo
1 of 22
The CPU
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 Operations
Addition
Subtraction
Multiplication
Division
Logical Operations
 Evaluates conditions
 Makes comparisons
 Can compare
 Numbers
 Letters
 Special characters
Registers
Special-purpose
High-speed
Temporary storage
Located inside CPU
Instruction register
Holds instruction currently
being executed
Data register
Holds data waiting to be
processed
Holds results from processing
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
 Non-volatile
 Instructions for booting the computer
 Data and instructions can be read, but not modified
 Instructions are typically recorded at factory
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
System Clock
 System clock produces pulses at a fixed rate
 Each pulse is one Machine Cycle
 One program instruction may actually be several
instructions to the CPU
 Each CPU instruction will take one pulse
 CPU has an instruction set – instructions that it
can understand and process
Finding Data in Memory
 Each location in memory has a unique address
 Address never changes
 Contents may change
 Memory location can hold one instruction or piece of
data
 Programmers use symbolic names
Data Representation
On/Off
Binary number system is used
to represent the state of the
circuit
Bits, Bytes, Words
 BIT
 Binary DigIT
 On/off circuit
 1 or 0
 BYTE
 8 bits
 Store one alphanumeric character
 WORD
 Size of the register
 Number of BITS that the CPU processes as a unit
02 cpu final

More Related Content

What's hot

ITFT_Device management in Operating System
ITFT_Device management in Operating SystemITFT_Device management in Operating System
ITFT_Device management in Operating SystemSneh Prabha
 
The cpu cycle
The cpu cycleThe cpu cycle
The cpu cyclejndatirwa
 
Block Diagram of Computer
Block Diagram of ComputerBlock Diagram of Computer
Block Diagram of ComputerAnshuDubey19
 
Block diagram of a computer
Block diagram of a computerBlock diagram of a computer
Block diagram of a computerQsrealm
 
Computer Hardware and Software - R.D.Sivakumar
Computer Hardware and Software - R.D.SivakumarComputer Hardware and Software - R.D.Sivakumar
Computer Hardware and Software - R.D.SivakumarSivakumar R D .
 
Unit 9 basic system configuration tools
Unit 9 basic system configuration toolsUnit 9 basic system configuration tools
Unit 9 basic system configuration toolsroot_fibo
 
BASIC COMPUTER ARCHITECTURE
BASIC COMPUTER ARCHITECTURE BASIC COMPUTER ARCHITECTURE
BASIC COMPUTER ARCHITECTURE Himanshu Sharma
 
Computer Hardware Complete Guide Easy
Computer Hardware Complete Guide EasyComputer Hardware Complete Guide Easy
Computer Hardware Complete Guide Easykhang950262
 
COMPUTER HARDWARE AND SOFTWARE
COMPUTER HARDWARE AND SOFTWARECOMPUTER HARDWARE AND SOFTWARE
COMPUTER HARDWARE AND SOFTWARELibcorpio
 
Building Block Diagram of Computer | Process of CPU | Input unit | Processing...
Building Block Diagram of Computer | Process of CPU | Input unit | Processing...Building Block Diagram of Computer | Process of CPU | Input unit | Processing...
Building Block Diagram of Computer | Process of CPU | Input unit | Processing...Uttar Tamang ✔
 
Computer components
Computer componentsComputer components
Computer componentsAdnan Malak
 
COMPUTER SYSTEM AND ITS COMPONENTS
COMPUTER SYSTEM AND ITS COMPONENTSCOMPUTER SYSTEM AND ITS COMPONENTS
COMPUTER SYSTEM AND ITS COMPONENTSSHIVALI NEGI
 

What's hot (20)

ICT Lecture-1
ICT Lecture-1 ICT Lecture-1
ICT Lecture-1
 
ITFT_Device management in Operating System
ITFT_Device management in Operating SystemITFT_Device management in Operating System
ITFT_Device management in Operating System
 
Computer hardware course
Computer hardware courseComputer hardware course
Computer hardware course
 
The cpu cycle
The cpu cycleThe cpu cycle
The cpu cycle
 
Block Diagram of Computer
Block Diagram of ComputerBlock Diagram of Computer
Block Diagram of Computer
 
Block diagram of a computer
Block diagram of a computerBlock diagram of a computer
Block diagram of a computer
 
Basic os-concepts
Basic os-conceptsBasic os-concepts
Basic os-concepts
 
Computer Hardware and Software - R.D.Sivakumar
Computer Hardware and Software - R.D.SivakumarComputer Hardware and Software - R.D.Sivakumar
Computer Hardware and Software - R.D.Sivakumar
 
Lecture 02 hardwares
Lecture 02 hardwaresLecture 02 hardwares
Lecture 02 hardwares
 
Unit 9 basic system configuration tools
Unit 9 basic system configuration toolsUnit 9 basic system configuration tools
Unit 9 basic system configuration tools
 
Block diagram of computer
Block diagram of computerBlock diagram of computer
Block diagram of computer
 
BASIC COMPUTER ARCHITECTURE
BASIC COMPUTER ARCHITECTURE BASIC COMPUTER ARCHITECTURE
BASIC COMPUTER ARCHITECTURE
 
Computer Hardware Complete Guide Easy
Computer Hardware Complete Guide EasyComputer Hardware Complete Guide Easy
Computer Hardware Complete Guide Easy
 
Cpu
CpuCpu
Cpu
 
Components of Computer System
Components of Computer SystemComponents of Computer System
Components of Computer System
 
COMPUTER HARDWARE AND SOFTWARE
COMPUTER HARDWARE AND SOFTWARECOMPUTER HARDWARE AND SOFTWARE
COMPUTER HARDWARE AND SOFTWARE
 
Building Block Diagram of Computer | Process of CPU | Input unit | Processing...
Building Block Diagram of Computer | Process of CPU | Input unit | Processing...Building Block Diagram of Computer | Process of CPU | Input unit | Processing...
Building Block Diagram of Computer | Process of CPU | Input unit | Processing...
 
Computer components
Computer componentsComputer components
Computer components
 
COMPUTER SYSTEM AND ITS COMPONENTS
COMPUTER SYSTEM AND ITS COMPONENTSCOMPUTER SYSTEM AND ITS COMPONENTS
COMPUTER SYSTEM AND ITS COMPONENTS
 
Ch8
Ch8Ch8
Ch8
 

Viewers also liked (12)

ESSAY 1 COLLOQUIUM and updated references
ESSAY 1 COLLOQUIUM and updated referencesESSAY 1 COLLOQUIUM and updated references
ESSAY 1 COLLOQUIUM and updated references
 
Caligramas
CaligramasCaligramas
Caligramas
 
5. Insurance considerations
5. Insurance considerations5. Insurance considerations
5. Insurance considerations
 
PALACE
PALACEPALACE
PALACE
 
Institucional
InstitucionalInstitucional
Institucional
 
Ballerstedt.4.29
Ballerstedt.4.29Ballerstedt.4.29
Ballerstedt.4.29
 
ANIKET RESUME NEW
ANIKET RESUME NEWANIKET RESUME NEW
ANIKET RESUME NEW
 
Liberty Youth Ranch.power point
Liberty Youth Ranch.power pointLiberty Youth Ranch.power point
Liberty Youth Ranch.power point
 
Trading Derivados14/03/2013
Trading Derivados14/03/2013Trading Derivados14/03/2013
Trading Derivados14/03/2013
 
CATALOGO DE COMPAÑIAS
CATALOGO DE COMPAÑIASCATALOGO DE COMPAÑIAS
CATALOGO DE COMPAÑIAS
 
theory 3 assignment foundtions
theory 3 assignment foundtionstheory 3 assignment foundtions
theory 3 assignment foundtions
 
проектная работа Days of the week дни недели (1)
проектная работа Days of the week  дни недели (1)проектная работа Days of the week  дни недели (1)
проектная работа Days of the week дни недели (1)
 

Similar to 02 cpu final

information communication technology presentation
information communication technology presentationinformation communication technology presentation
information communication technology presentationMalik Zawar
 
Three Central Processing Unit
Three   Central Processing UnitThree   Central Processing Unit
Three Central Processing UnitMISY
 
OS - Ch1
OS - Ch1OS - Ch1
OS - Ch1sphs
 
Chapter 1 - Introduction
Chapter 1 - IntroductionChapter 1 - Introduction
Chapter 1 - IntroductionWayne Jones Jnr
 
Operating systems. replace ch1 with numbers for next chapters
Operating systems. replace ch1 with numbers for next chaptersOperating systems. replace ch1 with numbers for next chapters
Operating systems. replace ch1 with numbers for next chapterssphs
 
How The CPU Works.ppt
How The CPU Works.pptHow The CPU Works.ppt
How The CPU Works.pptAliJan481777
 
operating system over view.ppt operating sysyems
operating system over view.ppt operating sysyemsoperating system over view.ppt operating sysyems
operating system over view.ppt operating sysyemsJyoReddy9
 
Computer System.ppt
Computer System.pptComputer System.ppt
Computer System.pptjguuhxxxfp
 
Operating system (BCS303) MODULE 1 NOTES
Operating system (BCS303) MODULE 1 NOTESOperating system (BCS303) MODULE 1 NOTES
Operating system (BCS303) MODULE 1 NOTESKopinathMURUGESAN
 
Process And Control Hardware
Process And Control HardwareProcess And Control Hardware
Process And Control Hardwaresebrown
 
Bios, processorand motherboard
Bios, processorand  motherboardBios, processorand  motherboard
Bios, processorand motherboardImranulHasan6
 
Chap2 comp architecture
Chap2 comp architectureChap2 comp architecture
Chap2 comp architectureraksharao
 
Computer function-and-interconnection 3
Computer function-and-interconnection 3Computer function-and-interconnection 3
Computer function-and-interconnection 3Mujaheed Sulantingan
 
Computer function-and-interconnection 3
Computer function-and-interconnection 3Computer function-and-interconnection 3
Computer function-and-interconnection 3Mujaheed Sulantingan
 

Similar to 02 cpu final (20)

information communication technology presentation
information communication technology presentationinformation communication technology presentation
information communication technology presentation
 
CPU.pptx
CPU.pptxCPU.pptx
CPU.pptx
 
Three Central Processing Unit
Three   Central Processing UnitThree   Central Processing Unit
Three Central Processing Unit
 
OS - Ch1
OS - Ch1OS - Ch1
OS - Ch1
 
Chapter 1 - Introduction
Chapter 1 - IntroductionChapter 1 - Introduction
Chapter 1 - Introduction
 
Operating systems. replace ch1 with numbers for next chapters
Operating systems. replace ch1 with numbers for next chaptersOperating systems. replace ch1 with numbers for next chapters
Operating systems. replace ch1 with numbers for next chapters
 
Chap 3 CA.pptx
Chap 3 CA.pptxChap 3 CA.pptx
Chap 3 CA.pptx
 
How The CPU Works.ppt
How The CPU Works.pptHow The CPU Works.ppt
How The CPU Works.ppt
 
operating system over view.ppt operating sysyems
operating system over view.ppt operating sysyemsoperating system over view.ppt operating sysyems
operating system over view.ppt operating sysyems
 
Computer System.ppt
Computer System.pptComputer System.ppt
Computer System.ppt
 
Chapter1
Chapter1Chapter1
Chapter1
 
Operating system (BCS303) MODULE 1 NOTES
Operating system (BCS303) MODULE 1 NOTESOperating system (BCS303) MODULE 1 NOTES
Operating system (BCS303) MODULE 1 NOTES
 
Cpu
CpuCpu
Cpu
 
Process And Control Hardware
Process And Control HardwareProcess And Control Hardware
Process And Control Hardware
 
Bios, processorand motherboard
Bios, processorand  motherboardBios, processorand  motherboard
Bios, processorand motherboard
 
Counit2 2
Counit2 2Counit2 2
Counit2 2
 
Chap2 comp architecture
Chap2 comp architectureChap2 comp architecture
Chap2 comp architecture
 
Computer function-and-interconnection 3
Computer function-and-interconnection 3Computer function-and-interconnection 3
Computer function-and-interconnection 3
 
Computer function-and-interconnection 3
Computer function-and-interconnection 3Computer function-and-interconnection 3
Computer function-and-interconnection 3
 
Cpu organisation
Cpu organisationCpu organisation
Cpu organisation
 

Recently uploaded

Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitolTechU
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxAvyJaneVismanos
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupJonathanParaisoCruz
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxJiesonDelaCerna
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfUjwalaBharambe
 

Recently uploaded (20)

Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptx
 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptx
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized Group
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptx
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
 

02 cpu final

  • 1.
  • 3. 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)
  • 4. 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
  • 6. Logical Operations  Evaluates conditions  Makes comparisons  Can compare  Numbers  Letters  Special characters
  • 7. Registers Special-purpose High-speed Temporary storage Located inside CPU Instruction register Holds instruction currently being executed Data register Holds data waiting to be processed Holds results from processing
  • 8. 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
  • 9. 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
  • 10. Memory Many Names Primary storage Primary memory Main storage Internal storage Main memory
  • 11. Main Types of Memory RAM Random Access Memory ROM Read Only Memory
  • 12. RAM  Requires current to retain values  Volatile  Data and instructions can be read and modified  Users typically refer to this type of memory
  • 13. What’s in RAM?  Operating System  Program currently running  Data needed by the program  Intermediate results waiting to be output
  • 14. ROM  Non-volatile  Instructions for booting the computer  Data and instructions can be read, but not modified  Instructions are typically recorded at factory
  • 15. 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
  • 16. 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
  • 17. 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
  • 18. System Clock  System clock produces pulses at a fixed rate  Each pulse is one Machine Cycle  One program instruction may actually be several instructions to the CPU  Each CPU instruction will take one pulse  CPU has an instruction set – instructions that it can understand and process
  • 19. Finding Data in Memory  Each location in memory has a unique address  Address never changes  Contents may change  Memory location can hold one instruction or piece of data  Programmers use symbolic names
  • 20. Data Representation On/Off Binary number system is used to represent the state of the circuit
  • 21. Bits, Bytes, Words  BIT  Binary DigIT  On/off circuit  1 or 0  BYTE  8 bits  Store one alphanumeric character  WORD  Size of the register  Number of BITS that the CPU processes as a unit