際際滷

際際滷Share a Scribd company logo
Interaction between CPU, memory &
         input/output device, functions of CPU




                      http://improvec.blogspot.in/   1
Objective


On completion of this period, you would be able
 to learn:
        Blocks of Computer System

        Interaction between functional blocks

        Functions of CPU


                http://improvec.blogspot.in/      2
Recap
 What is a computer?
 It is an electronic device which processes the data
 Functional units of a computer
   Input unit
   Memory unit
   ALU
   CU
   Output unit




                      http://improvec.blogspot.in/     3
Prerequisites

What are parts of the computer?
      Input Unit
     Memory Unit
     CPU
     Output Unit
What is CPU?
     Central Processing Unit
                    http://improvec.blogspot.in/   4
Interaction between functional blocks



data                                                                             To user
       INPUT UNIT
        INPUT UNIT             MEMORY UNIT
                               MEMORY UNIT                         OUTPUT UNIT
                                                                   OUTPUT UNIT
                                                                                 (Result)

                instruction   read   write
                                          operand         result


                 CONTROL UNIT
                 CONTROL UNIT                               ALU
                                                             ALU
  Control
  signals



   ___ data flow
   ------Control flow
                                 http://improvec.blogspot.in/                        5
Interaction between Functional Blocks


 Data is supplied to the computer through an input
  device.


 The data is then transferred to memory under the
  supervision of the control unit.



                   http://improvec.blogspot.in/      6
Interaction between functional blocks
                   (contd)

 Each instruction is interpreted before execution


 Control unit informs the ALU of the precise
  operation to be performed and
 Directs the transfer of operands to the ALU




                   http://improvec.blogspot.in/      7
Interaction between functional blocks (contd)


 The ALU then performs all calculations and
  comparisons needed


 And the results are then passed unto the
  memory unit, from there to the output unit




                  http://improvec.blogspot.in/   8
CPU
(Central processing unit)




        http://improvec.blogspot.in/   9
CPU

 CPU is the heart and brain of a computer.

 It receives data as input.

 Follows instruction, and processes data
  accordingly.
 Presents the information as out put to the user.



                  http://improvec.blogspot.in/   10
CPU (contd)

 Its primary function is to execute programs.

 it controls & coordinates all components such as
  memory, input and output devices.




                   http://improvec.blogspot.in/   11
Blocks of CPU




Fig 1    http://improvec.blogspot.in/   12
CPU (Central Processing Unit)

ALU (Arithmetic & Logical Unit)


    It performs two types of operations

         1. Arithmetic Operations.
         2. Logical Operations.




              http://improvec.blogspot.in/   13
ALU (Arithmetic & Logical Unit)

    Operation                      : Symbol

    Addition                       :      +
    Subtraction                    :          -
    Multiplication                 :      *
    Division                       :      /




           http://improvec.blogspot.in/           14
Logical Operations

 Logical AND
 Logical OR
 Logical NOT
 Logical EXCLUSIVE OR




                   http://improvec.blogspot.in/   15
CU (Control Unit)

 Controls the operations that takes place in
  various parts of a computer by sending
  electronic signals.

 Supervises the flow of data in various parts of
  computer such as input device, output device,
  and memory devices.



                   http://improvec.blogspot.in/     16
CPU




http://improvec.blogspot.in/   17
Functions of CPU
CPU performs everything in binary form

  It takes the information and process it
   according to instructions.

  It performs all calculations.

  It takes all decisions.

  It controls all units of computer.


                  http://improvec.blogspot.in/   18
Summary
In this class, you have learnt about

            Blocks of CPU

            Functions of CPU

            Interaction among the functional
             blocks



                   http://improvec.blogspot.in/   19
Questions


1. Explain the interaction between CPU, memory
   and I/O devices?

2. Describe the functions of CPU?




                 http://improvec.blogspot.in/   20
Quiz
1. The control unit, together with the ALU
  and memory unit, form
  a. control unit
   b. memory
  c. CPU (central processing unit)
  d. ALU
Answer: c




                 http://improvec.blogspot.in/   21
Quiz (Contd...)

2. The programs instructions and data are
  transferred under the control of
  a. CPU
  b. Control Unit
  b. ALU
  d. Memory Unit
Answer: b



               http://improvec.blogspot.in/   22
Quiz (Contd...)

3. ALU handles
  a. arithmetic operations
  b. logical operations
  c. arithmetic operations and logical operations
  d. None of the above
Answer: c




                 http://improvec.blogspot.in/   23
Assignment

 Open a CPU cabinet with the help of your
  teacher (expert), and try to understand the
  connections and working of various components
  in side.




                 http://improvec.blogspot.in/   24

More Related Content

What's hot (20)

CPU (Central Processing Units)
CPU (Central Processing Units)CPU (Central Processing Units)
CPU (Central Processing Units)
Prabin Maharjan
Cpu ppt cse
Cpu ppt cseCpu ppt cse
Cpu ppt cse
Manpreet Kaur Sidhu
Block diagram of a computer
Block diagram of a computerBlock diagram of a computer
Block diagram of a computer
ZTE Nepal
Fundamentals Of Computer
Fundamentals Of ComputerFundamentals Of Computer
Fundamentals Of Computer
Jack Frost
Main memory of computer .ppt
Main memory of computer .pptMain memory of computer .ppt
Main memory of computer .ppt
BasraJaswinder
Basic CPU (Central Processing Unit)
Basic CPU (Central Processing Unit)Basic CPU (Central Processing Unit)
Basic CPU (Central Processing Unit)
Faraz Ahmed
Presentation on C.P.U
Presentation on C.P.UPresentation on C.P.U
Presentation on C.P.U
fgdgxvbm98
Memory and its types
Memory and its typesMemory and its types
Memory and its types
University of Gujrat (sialkot)
Primary Memory: RAM, ROM and their Types
Primary Memory: RAM, ROM and their TypesPrimary Memory: RAM, ROM and their Types
Primary Memory: RAM, ROM and their Types
Hem Pokhrel
Motherboard and its components
Motherboard and its componentsMotherboard and its components
Motherboard and its components
Jishnu Pradeep
Central Processing Unit(CPU)
Central Processing Unit(CPU)Central Processing Unit(CPU)
Central Processing Unit(CPU)
ANSANS8
Computer hardware component. ppt
Computer hardware component. pptComputer hardware component. ppt
Computer hardware component. ppt
Naveen Sihag
COMPUTER MEMORY : TYPES & FUNCTIONS
COMPUTER MEMORY : TYPES & FUNCTIONSCOMPUTER MEMORY : TYPES & FUNCTIONS
COMPUTER MEMORY : TYPES & FUNCTIONS
Angel Mary George
Cpu
CpuCpu
Cpu
Muhammad Ramzan
Computer Memory
Computer MemoryComputer Memory
Computer Memory
Shaikh Alam
introduction to microprocessor and microcomputer
introduction to microprocessor and microcomputerintroduction to microprocessor and microcomputer
introduction to microprocessor and microcomputer
Satya P. Joshi
Basic operation of computer
Basic operation of computerBasic operation of computer
Basic operation of computer
爐爛爐爛爐 爐む爐劇ぞ爐 爐爛爐爛爐むぞ
Operating system and its types
Operating system and its types Operating system and its types
Operating system and its types
vimal kumar arora
Characteristics of computer.pptx
Characteristics of computer.pptxCharacteristics of computer.pptx
Characteristics of computer.pptx
KashifaNawab3
Computer memory presentation
Computer memory presentationComputer memory presentation
Computer memory presentation
aaravSingh41
CPU (Central Processing Units)
CPU (Central Processing Units)CPU (Central Processing Units)
CPU (Central Processing Units)
Prabin Maharjan
Block diagram of a computer
Block diagram of a computerBlock diagram of a computer
Block diagram of a computer
ZTE Nepal
Fundamentals Of Computer
Fundamentals Of ComputerFundamentals Of Computer
Fundamentals Of Computer
Jack Frost
Main memory of computer .ppt
Main memory of computer .pptMain memory of computer .ppt
Main memory of computer .ppt
BasraJaswinder
Basic CPU (Central Processing Unit)
Basic CPU (Central Processing Unit)Basic CPU (Central Processing Unit)
Basic CPU (Central Processing Unit)
Faraz Ahmed
Presentation on C.P.U
Presentation on C.P.UPresentation on C.P.U
Presentation on C.P.U
fgdgxvbm98
Primary Memory: RAM, ROM and their Types
Primary Memory: RAM, ROM and their TypesPrimary Memory: RAM, ROM and their Types
Primary Memory: RAM, ROM and their Types
Hem Pokhrel
Motherboard and its components
Motherboard and its componentsMotherboard and its components
Motherboard and its components
Jishnu Pradeep
Central Processing Unit(CPU)
Central Processing Unit(CPU)Central Processing Unit(CPU)
Central Processing Unit(CPU)
ANSANS8
Computer hardware component. ppt
Computer hardware component. pptComputer hardware component. ppt
Computer hardware component. ppt
Naveen Sihag
COMPUTER MEMORY : TYPES & FUNCTIONS
COMPUTER MEMORY : TYPES & FUNCTIONSCOMPUTER MEMORY : TYPES & FUNCTIONS
COMPUTER MEMORY : TYPES & FUNCTIONS
Angel Mary George
Computer Memory
Computer MemoryComputer Memory
Computer Memory
Shaikh Alam
introduction to microprocessor and microcomputer
introduction to microprocessor and microcomputerintroduction to microprocessor and microcomputer
introduction to microprocessor and microcomputer
Satya P. Joshi
Operating system and its types
Operating system and its types Operating system and its types
Operating system and its types
vimal kumar arora
Characteristics of computer.pptx
Characteristics of computer.pptxCharacteristics of computer.pptx
Characteristics of computer.pptx
KashifaNawab3
Computer memory presentation
Computer memory presentationComputer memory presentation
Computer memory presentation
aaravSingh41

Similar to Cpu and its functions (20)

Cpu.9
Cpu.9Cpu.9
Cpu.9
myrajendra
Fundamentals.1
Fundamentals.1Fundamentals.1
Fundamentals.1
myrajendra
Components of computer, CPU computer funfament ppt
Components of computer, CPU computer funfament pptComponents of computer, CPU computer funfament ppt
Components of computer, CPU computer funfament ppt
DeepuVishwakarma
Fundamentals
FundamentalsFundamentals
Fundamentals
myrajendra
Fundamentals.1
Fundamentals.1Fundamentals.1
Fundamentals.1
myrajendra
Input Output - Computer Architecture
Input Output - Computer ArchitectureInput Output - Computer Architecture
Input Output - Computer Architecture
Maruf Abdullah (Rion)
Comp App Lect 2.pptx
Comp App Lect 2.pptxComp App Lect 2.pptx
Comp App Lect 2.pptx
MehwishKanwal14
Functional Units of Digital System & Their Interconnection.pptx
Functional Units of Digital System & Their Interconnection.pptxFunctional Units of Digital System & Their Interconnection.pptx
Functional Units of Digital System & Their Interconnection.pptx
JyotiSingh885672
HARDWARE
HARDWAREHARDWARE
HARDWARE
rubyrose dancil
Chapter 1 computer fundamentals
Chapter 1 computer fundamentals Chapter 1 computer fundamentals
Chapter 1 computer fundamentals
SAURABH BAKSHI
Chapter 1 computer hardware and flow of information
Chapter 1 computer hardware and flow of informationChapter 1 computer hardware and flow of information
Chapter 1 computer hardware and flow of information
Frankie Jones
Msc chemistry previous
Msc chemistry previousMsc chemistry previous
Msc chemistry previous
mshoaib15
Fp203 chp1.1
Fp203 chp1.1Fp203 chp1.1
Fp203 chp1.1
Norhayati Ismail
block_diagram_of_computer.pptx
block_diagram_of_computer.pptxblock_diagram_of_computer.pptx
block_diagram_of_computer.pptx
SityogInstituteOfTec1
Chapter01 os7e
Chapter01 os7eChapter01 os7e
Chapter01 os7e
QAISAR NISAR
Control Unit and Instruction Cycle.pptx.
Control Unit and Instruction Cycle.pptx.Control Unit and Instruction Cycle.pptx.
Control Unit and Instruction Cycle.pptx.
aonikyadavcs23
COMPUTER_ORGANIZATION.pptx
COMPUTER_ORGANIZATION.pptxCOMPUTER_ORGANIZATION.pptx
COMPUTER_ORGANIZATION.pptx
nodov66591
What's Inside
What's InsideWhat's Inside
What's Inside
ramled931
Comp App Lect 2 System Unit.pptx
Comp App Lect 2 System Unit.pptxComp App Lect 2 System Unit.pptx
Comp App Lect 2 System Unit.pptx
MehwishKanwal14
DSE LECTURE 1 -LRW_ Introduction_to_Computer.pptx
DSE LECTURE 1 -LRW_ Introduction_to_Computer.pptxDSE LECTURE 1 -LRW_ Introduction_to_Computer.pptx
DSE LECTURE 1 -LRW_ Introduction_to_Computer.pptx
ssuser7b9bda1
Fundamentals.1
Fundamentals.1Fundamentals.1
Fundamentals.1
myrajendra
Components of computer, CPU computer funfament ppt
Components of computer, CPU computer funfament pptComponents of computer, CPU computer funfament ppt
Components of computer, CPU computer funfament ppt
DeepuVishwakarma
Fundamentals
FundamentalsFundamentals
Fundamentals
myrajendra
Fundamentals.1
Fundamentals.1Fundamentals.1
Fundamentals.1
myrajendra
Input Output - Computer Architecture
Input Output - Computer ArchitectureInput Output - Computer Architecture
Input Output - Computer Architecture
Maruf Abdullah (Rion)
Functional Units of Digital System & Their Interconnection.pptx
Functional Units of Digital System & Their Interconnection.pptxFunctional Units of Digital System & Their Interconnection.pptx
Functional Units of Digital System & Their Interconnection.pptx
JyotiSingh885672
Chapter 1 computer fundamentals
Chapter 1 computer fundamentals Chapter 1 computer fundamentals
Chapter 1 computer fundamentals
SAURABH BAKSHI
Chapter 1 computer hardware and flow of information
Chapter 1 computer hardware and flow of informationChapter 1 computer hardware and flow of information
Chapter 1 computer hardware and flow of information
Frankie Jones
Msc chemistry previous
Msc chemistry previousMsc chemistry previous
Msc chemistry previous
mshoaib15
Control Unit and Instruction Cycle.pptx.
Control Unit and Instruction Cycle.pptx.Control Unit and Instruction Cycle.pptx.
Control Unit and Instruction Cycle.pptx.
aonikyadavcs23
COMPUTER_ORGANIZATION.pptx
COMPUTER_ORGANIZATION.pptxCOMPUTER_ORGANIZATION.pptx
COMPUTER_ORGANIZATION.pptx
nodov66591
What's Inside
What's InsideWhat's Inside
What's Inside
ramled931
Comp App Lect 2 System Unit.pptx
Comp App Lect 2 System Unit.pptxComp App Lect 2 System Unit.pptx
Comp App Lect 2 System Unit.pptx
MehwishKanwal14
DSE LECTURE 1 -LRW_ Introduction_to_Computer.pptx
DSE LECTURE 1 -LRW_ Introduction_to_Computer.pptxDSE LECTURE 1 -LRW_ Introduction_to_Computer.pptx
DSE LECTURE 1 -LRW_ Introduction_to_Computer.pptx
ssuser7b9bda1

More from myrajendra (20)

Data type
Data typeData type
Data type
myrajendra
Hibernate example1
Hibernate example1Hibernate example1
Hibernate example1
myrajendra
Jdbc workflow
Jdbc workflowJdbc workflow
Jdbc workflow
myrajendra
2 jdbc drivers
2 jdbc drivers2 jdbc drivers
2 jdbc drivers
myrajendra
3 jdbc api
3 jdbc api3 jdbc api
3 jdbc api
myrajendra
4 jdbc step1
4 jdbc step14 jdbc step1
4 jdbc step1
myrajendra
Dao example
Dao exampleDao example
Dao example
myrajendra
Sessionex1
Sessionex1Sessionex1
Sessionex1
myrajendra
Internal
InternalInternal
Internal
myrajendra
3. elements
3. elements3. elements
3. elements
myrajendra
2. attributes
2. attributes2. attributes
2. attributes
myrajendra
1 introduction to html
1 introduction to html1 introduction to html
1 introduction to html
myrajendra
Headings
HeadingsHeadings
Headings
myrajendra
Forms
FormsForms
Forms
myrajendra
Css
CssCss
Css
myrajendra
Views
ViewsViews
Views
myrajendra
Views
ViewsViews
Views
myrajendra
Views
ViewsViews
Views
myrajendra
Starting jdbc
Starting jdbcStarting jdbc
Starting jdbc
myrajendra
Properties
PropertiesProperties
Properties
myrajendra

Cpu and its functions

  • 1. Interaction between CPU, memory & input/output device, functions of CPU http://improvec.blogspot.in/ 1
  • 2. Objective On completion of this period, you would be able to learn: Blocks of Computer System Interaction between functional blocks Functions of CPU http://improvec.blogspot.in/ 2
  • 3. Recap What is a computer? It is an electronic device which processes the data Functional units of a computer Input unit Memory unit ALU CU Output unit http://improvec.blogspot.in/ 3
  • 4. Prerequisites What are parts of the computer? Input Unit Memory Unit CPU Output Unit What is CPU? Central Processing Unit http://improvec.blogspot.in/ 4
  • 5. Interaction between functional blocks data To user INPUT UNIT INPUT UNIT MEMORY UNIT MEMORY UNIT OUTPUT UNIT OUTPUT UNIT (Result) instruction read write operand result CONTROL UNIT CONTROL UNIT ALU ALU Control signals ___ data flow ------Control flow http://improvec.blogspot.in/ 5
  • 6. Interaction between Functional Blocks Data is supplied to the computer through an input device. The data is then transferred to memory under the supervision of the control unit. http://improvec.blogspot.in/ 6
  • 7. Interaction between functional blocks (contd) Each instruction is interpreted before execution Control unit informs the ALU of the precise operation to be performed and Directs the transfer of operands to the ALU http://improvec.blogspot.in/ 7
  • 8. Interaction between functional blocks (contd) The ALU then performs all calculations and comparisons needed And the results are then passed unto the memory unit, from there to the output unit http://improvec.blogspot.in/ 8
  • 9. CPU (Central processing unit) http://improvec.blogspot.in/ 9
  • 10. CPU CPU is the heart and brain of a computer. It receives data as input. Follows instruction, and processes data accordingly. Presents the information as out put to the user. http://improvec.blogspot.in/ 10
  • 11. CPU (contd) Its primary function is to execute programs. it controls & coordinates all components such as memory, input and output devices. http://improvec.blogspot.in/ 11
  • 12. Blocks of CPU Fig 1 http://improvec.blogspot.in/ 12
  • 13. CPU (Central Processing Unit) ALU (Arithmetic & Logical Unit) It performs two types of operations 1. Arithmetic Operations. 2. Logical Operations. http://improvec.blogspot.in/ 13
  • 14. ALU (Arithmetic & Logical Unit) Operation : Symbol Addition : + Subtraction : - Multiplication : * Division : / http://improvec.blogspot.in/ 14
  • 15. Logical Operations Logical AND Logical OR Logical NOT Logical EXCLUSIVE OR http://improvec.blogspot.in/ 15
  • 16. CU (Control Unit) Controls the operations that takes place in various parts of a computer by sending electronic signals. Supervises the flow of data in various parts of computer such as input device, output device, and memory devices. http://improvec.blogspot.in/ 16
  • 18. Functions of CPU CPU performs everything in binary form It takes the information and process it according to instructions. It performs all calculations. It takes all decisions. It controls all units of computer. http://improvec.blogspot.in/ 18
  • 19. Summary In this class, you have learnt about Blocks of CPU Functions of CPU Interaction among the functional blocks http://improvec.blogspot.in/ 19
  • 20. Questions 1. Explain the interaction between CPU, memory and I/O devices? 2. Describe the functions of CPU? http://improvec.blogspot.in/ 20
  • 21. Quiz 1. The control unit, together with the ALU and memory unit, form a. control unit b. memory c. CPU (central processing unit) d. ALU Answer: c http://improvec.blogspot.in/ 21
  • 22. Quiz (Contd...) 2. The programs instructions and data are transferred under the control of a. CPU b. Control Unit b. ALU d. Memory Unit Answer: b http://improvec.blogspot.in/ 22
  • 23. Quiz (Contd...) 3. ALU handles a. arithmetic operations b. logical operations c. arithmetic operations and logical operations d. None of the above Answer: c http://improvec.blogspot.in/ 23
  • 24. Assignment Open a CPU cabinet with the help of your teacher (expert), and try to understand the connections and working of various components in side. http://improvec.blogspot.in/ 24