SlideShare a Scribd company logo
1 of 28
COMPUTER & DATA
By : Darpan Chelani & Muntazir Bhutto
• How Computer Represents Data..
• Bits & Bytes
• Text code
• How Computer Process Data..
• CPU
• Memory
• Factors Affecting Processing Speed..
• Register
OUTLINE….
HOW COMPUTER REPRESENT DATA
• Bits & Bytes
• Number System
BITS & BYTES
• A single unit of Data (0 or 1)
• Eight (8) bits make one BYTE
• We use 0 or 1 to represent state
• 0=Off
• 1=On
NUMBER SYSTEM
BINARY TO DECIMAL CONVERSION
TEXT CODE..
• Text is made up of CHARACTER and each character is allocated its own binary code.
• Set of character is called character set.
• Made up of
• 26 upper case
• 26 lower case
• 10 DIGITS 0-9
• 20 punctuation marks (! , . ? etc)
• ASCII & Unicode are two of the most common codes in use today
ASCII
• American Standard Code for Information Interchange
• It’s a 7 bit code allowing 128 characters
• Example
• Code 13 = Carriage Return
• Code 10 = Line feed
• Code 09 = TAB
• Code 08 = Backspace
• Upper case(65-90)
• Lower case (97-122)
• Code 65 = A
• Code 97 = a
• Range 0-255 characters
UNICODE
• It provides a unique number for every character
• Unicode uses a 16 bit code for character
• Provides character upto 65,536
• It includes all the ASCII character codes to ensure compatibility
HOW COMPUTER PROCESS DATA
• Computer perform only 4 operation:
• Input / Output Operations
• Calculation & text manipulation operations
• Logic / Comparison Operations
• Storage and Retrieval Operations
CPU
• CPU stands for Central Processing Unit
• Microprocessor
• The Chip
• Processor
CPU
CPU
• A silicon chip made of millions of transistors.
• CPU controls all the activites within the system .
• Its called the brain of computer.
• Data is processed into information.
• CPU consist of two Components
• CU (Control Unit)
• ALU (Arthmetic Logic Unit)
• Other components
• Registers
• Cache
CONTROL UNIT (CU)
• Process Data.
• Extracts instruction from Memory and decodes and executes them.
• Manage all resources of computer.
• For every instruction the control unit repeats a set of 4 basic operation called
machine cycle/processing cycle.
ARTHMETIC LOGIC UNIT
• Operation of comparing number is carried by Mathematical operation in CPU.
• Computer perform two type of operation
• Arthmetic Operations
• Logical Operations
ARTHMETIC OPERATION
• Addition (+)
• Subtraction (-)
• Multiplication (*)
• Division (/)
LOGICAL OPERATION
• COMPARISION
• Equal to =
• Not equal to !=
• Greater than >
• Less than <
• etc
MACHINE CYCLE
• Four Series of Steps
• Execute each time when Data is input
• Instruction Cycle
• Execution Cycle
MACHINE CYCLE
• Fetching=
• Take command or data from Memory.
• Decoding=
• Translate instruction
• ALU can understand
• Executing=
• Carry information
• Convert into Microcode
• Storing=
• Copy result to Memory
FACTOR AFFECTING PROCESSING
CYCLE
• Clock rate of CPU
• Computer Word Size
• Bus Speed
• Main Memory Size
• Cache Memory Size
• Instruction Set Complexity
• Number of Processing Units
REGISTER

More Related Content

What's hot

Introduction to Software Engineering: Lecture 1 introduction i
Introduction to Software Engineering: Lecture 1  introduction iIntroduction to Software Engineering: Lecture 1  introduction i
Introduction to Software Engineering: Lecture 1 introduction i
Ahmed Saber
 
information processing by peter nothon chapter 1B
information processing by peter nothon chapter 1Binformation processing by peter nothon chapter 1B
information processing by peter nothon chapter 1B
Syed Arslan Rizvi
 

What's hot (19)

Computer Fundamentals.
Computer Fundamentals.Computer Fundamentals.
Computer Fundamentals.
 
Arithmetic Logic Unit (ALU)
Arithmetic Logic Unit (ALU)Arithmetic Logic Unit (ALU)
Arithmetic Logic Unit (ALU)
 
Embedded systems, lession 1
Embedded systems, lession 1Embedded systems, lession 1
Embedded systems, lession 1
 
Introduction to Software Engineering: Lecture 1 introduction i
Introduction to Software Engineering: Lecture 1  introduction iIntroduction to Software Engineering: Lecture 1  introduction i
Introduction to Software Engineering: Lecture 1 introduction i
 
information processing by peter nothon chapter 1B
information processing by peter nothon chapter 1Binformation processing by peter nothon chapter 1B
information processing by peter nothon chapter 1B
 
Arithmetic logic shift unit
Arithmetic logic shift unitArithmetic logic shift unit
Arithmetic logic shift unit
 
Basic ops concept of comp
Basic ops  concept of compBasic ops  concept of comp
Basic ops concept of comp
 
arithmetic logic unit
arithmetic logic unitarithmetic logic unit
arithmetic logic unit
 
1.instrumentation ii
1.instrumentation ii1.instrumentation ii
1.instrumentation ii
 
introduction to microprocessor and microcomputer
introduction to microprocessor and microcomputerintroduction to microprocessor and microcomputer
introduction to microprocessor and microcomputer
 
What is Computer?
What is Computer?What is Computer?
What is Computer?
 
Ia syllabus Topic computer Related
Ia syllabus Topic computer RelatedIa syllabus Topic computer Related
Ia syllabus Topic computer Related
 
Processing Data
Processing DataProcessing Data
Processing Data
 
Chapter1a
Chapter1aChapter1a
Chapter1a
 
An Introduction To Python - Understanding Computers
An Introduction To Python - Understanding ComputersAn Introduction To Python - Understanding Computers
An Introduction To Python - Understanding Computers
 
Computer system- shajjaduir Rahman
Computer system- shajjaduir RahmanComputer system- shajjaduir Rahman
Computer system- shajjaduir Rahman
 
Central Processing Unit
Central Processing UnitCentral Processing Unit
Central Processing Unit
 
Computer Architecture
Computer ArchitectureComputer Architecture
Computer Architecture
 
Pre requisite of COA- for Micro controller Embedded systems
Pre requisite of COA- for Micro controller Embedded systemsPre requisite of COA- for Micro controller Embedded systems
Pre requisite of COA- for Micro controller Embedded systems
 

Similar to Computer and Data

Intro. to computer system
Intro. to computer systemIntro. to computer system
Intro. to computer system
dofirfauzi1302
 

Similar to Computer and Data (20)

Computer fundamentals
Computer fundamentalsComputer fundamentals
Computer fundamentals
 
Chapter1 introduction to computer systems
Chapter1 introduction to computer systemsChapter1 introduction to computer systems
Chapter1 introduction to computer systems
 
Hardware and software of computer
Hardware and software of computerHardware and software of computer
Hardware and software of computer
 
Central Processing Unit-6.pptx
Central Processing Unit-6.pptxCentral Processing Unit-6.pptx
Central Processing Unit-6.pptx
 
Control unit
Control unitControl unit
Control unit
 
Basic Computer Skills.pptx
Basic Computer Skills.pptxBasic Computer Skills.pptx
Basic Computer Skills.pptx
 
Introduction to Computer System
Introduction to Computer System Introduction to Computer System
Introduction to Computer System
 
Transforming data into information
Transforming data into informationTransforming data into information
Transforming data into information
 
Intro. to computer system
Intro. to computer systemIntro. to computer system
Intro. to computer system
 
Lec 1 DPT
Lec 1 DPTLec 1 DPT
Lec 1 DPT
 
BCS 100: Introduction to Computer Science Lesson 3
BCS 100: Introduction to Computer Science Lesson 3BCS 100: Introduction to Computer Science Lesson 3
BCS 100: Introduction to Computer Science Lesson 3
 
Lecture 3 Computer architecture-cpu.pptx
Lecture 3 Computer architecture-cpu.pptxLecture 3 Computer architecture-cpu.pptx
Lecture 3 Computer architecture-cpu.pptx
 
Overview of comp system
Overview of comp systemOverview of comp system
Overview of comp system
 
Introduction to Digital Forensics
Introduction to Digital ForensicsIntroduction to Digital Forensics
Introduction to Digital Forensics
 
Computer Introduction
Computer IntroductionComputer Introduction
Computer Introduction
 
Basic of Computer.pptx
Basic of Computer.pptxBasic of Computer.pptx
Basic of Computer.pptx
 
introduction COA(M1).pptx
introduction COA(M1).pptxintroduction COA(M1).pptx
introduction COA(M1).pptx
 
Unit 1 computer architecture (1)
Unit 1   computer architecture (1)Unit 1   computer architecture (1)
Unit 1 computer architecture (1)
 
Chap4.ppt
Chap4.pptChap4.ppt
Chap4.ppt
 
Chap4.ppt
Chap4.pptChap4.ppt
Chap4.ppt
 

Recently uploaded

在线制作(UQ毕业证书)昆士兰大学毕业证成绩单原版一比一
在线制作(UQ毕业证书)昆士兰大学毕业证成绩单原版一比一在线制作(UQ毕业证书)昆士兰大学毕业证成绩单原版一比一
在线制作(UQ毕业证书)昆士兰大学毕业证成绩单原版一比一
uodye
 
如何办理(USYD毕业证书)悉尼大学毕业证成绩单原件一模一样
如何办理(USYD毕业证书)悉尼大学毕业证成绩单原件一模一样如何办理(USYD毕业证书)悉尼大学毕业证成绩单原件一模一样
如何办理(USYD毕业证书)悉尼大学毕业证成绩单原件一模一样
wsppdmt
 
一比一原版(CSUEB毕业证书)东湾分校毕业证原件一模一样
一比一原版(CSUEB毕业证书)东湾分校毕业证原件一模一样一比一原版(CSUEB毕业证书)东湾分校毕业证原件一模一样
一比一原版(CSUEB毕业证书)东湾分校毕业证原件一模一样
ayoqf
 
如何办理(OP毕业证书)奥塔哥理工学院毕业证成绩单本科硕士学位证留信学历认证
如何办理(OP毕业证书)奥塔哥理工学院毕业证成绩单本科硕士学位证留信学历认证如何办理(OP毕业证书)奥塔哥理工学院毕业证成绩单本科硕士学位证留信学历认证
如何办理(OP毕业证书)奥塔哥理工学院毕业证成绩单本科硕士学位证留信学历认证
mestb
 
在线办理(scu毕业证)南十字星大学毕业证电子版学位证书注册证明信
在线办理(scu毕业证)南十字星大学毕业证电子版学位证书注册证明信在线办理(scu毕业证)南十字星大学毕业证电子版学位证书注册证明信
在线办理(scu毕业证)南十字星大学毕业证电子版学位证书注册证明信
oopacde
 
一比一原版(Otago毕业证书)奥塔哥理工学院毕业证成绩单学位证靠谱定制
一比一原版(Otago毕业证书)奥塔哥理工学院毕业证成绩单学位证靠谱定制一比一原版(Otago毕业证书)奥塔哥理工学院毕业证成绩单学位证靠谱定制
一比一原版(Otago毕业证书)奥塔哥理工学院毕业证成绩单学位证靠谱定制
uodye
 
In Riyadh Saudi Arabia |+966572737505 | Buy Cytotec| Get Abortion pills
In Riyadh Saudi Arabia |+966572737505 | Buy Cytotec| Get Abortion pillsIn Riyadh Saudi Arabia |+966572737505 | Buy Cytotec| Get Abortion pills
In Riyadh Saudi Arabia |+966572737505 | Buy Cytotec| Get Abortion pills
Abortion pills in Riyadh +966572737505 get cytotec
 
如何办理(SUT毕业证书)斯威本科技大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(SUT毕业证书)斯威本科技大学毕业证成绩单本科硕士学位证留信学历认证如何办理(SUT毕业证书)斯威本科技大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(SUT毕业证书)斯威本科技大学毕业证成绩单本科硕士学位证留信学历认证
mestb
 
Abortion pills in Riyadh Saudi Arabia!+966572737505 ) Where to get cytotec
Abortion pills in Riyadh Saudi Arabia!+966572737505 ) Where to get cytotecAbortion pills in Riyadh Saudi Arabia!+966572737505 ) Where to get cytotec
Abortion pills in Riyadh Saudi Arabia!+966572737505 ) Where to get cytotec
Abortion pills in Riyadh +966572737505 get cytotec
 
Abortion Pill for sale in Riyadh ((+918761049707) Get Cytotec in Dammam
Abortion Pill for sale in Riyadh ((+918761049707) Get Cytotec in DammamAbortion Pill for sale in Riyadh ((+918761049707) Get Cytotec in Dammam
Abortion Pill for sale in Riyadh ((+918761049707) Get Cytotec in Dammam
ahmedjiabur940
 
在线制作(ANU毕业证书)澳大利亚国立大学毕业证成绩单原版一比一
在线制作(ANU毕业证书)澳大利亚国立大学毕业证成绩单原版一比一在线制作(ANU毕业证书)澳大利亚国立大学毕业证成绩单原版一比一
在线制作(ANU毕业证书)澳大利亚国立大学毕业证成绩单原版一比一
ougvy
 
Vibration of Continuous Systems.pjjjjjjjjptx
Vibration of Continuous Systems.pjjjjjjjjptxVibration of Continuous Systems.pjjjjjjjjptx
Vibration of Continuous Systems.pjjjjjjjjptx
joshuaclack73
 
如何办理(UVic毕业证书)维多利亚大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(UVic毕业证书)维多利亚大学毕业证成绩单本科硕士学位证留信学历认证如何办理(UVic毕业证书)维多利亚大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(UVic毕业证书)维多利亚大学毕业证成绩单本科硕士学位证留信学历认证
mestb
 
Buy Abortion pills in Riyadh |+966572737505 | Get Cytotec
Buy Abortion pills in Riyadh |+966572737505 | Get CytotecBuy Abortion pills in Riyadh |+966572737505 | Get Cytotec
Buy Abortion pills in Riyadh |+966572737505 | Get Cytotec
Abortion pills in Riyadh +966572737505 get cytotec
 
如何办理(AUT毕业证书)奥克兰理工大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(AUT毕业证书)奥克兰理工大学毕业证成绩单本科硕士学位证留信学历认证如何办理(AUT毕业证书)奥克兰理工大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(AUT毕业证书)奥克兰理工大学毕业证成绩单本科硕士学位证留信学历认证
mestb
 
一比一原版(USYD毕业证书)澳洲悉尼大学毕业证如何办理
一比一原版(USYD毕业证书)澳洲悉尼大学毕业证如何办理一比一原版(USYD毕业证书)澳洲悉尼大学毕业证如何办理
一比一原版(USYD毕业证书)澳洲悉尼大学毕业证如何办理
uodye
 
Contact +971581248768 to buy 100% original and safe abortion pills in Dubai a...
Contact +971581248768 to buy 100% original and safe abortion pills in Dubai a...Contact +971581248768 to buy 100% original and safe abortion pills in Dubai a...
Contact +971581248768 to buy 100% original and safe abortion pills in Dubai a...
DUBAI (+971)581248768 BUY ABORTION PILLS IN ABU dhabi...Qatar
 

Recently uploaded (20)

在线制作(UQ毕业证书)昆士兰大学毕业证成绩单原版一比一
在线制作(UQ毕业证书)昆士兰大学毕业证成绩单原版一比一在线制作(UQ毕业证书)昆士兰大学毕业证成绩单原版一比一
在线制作(UQ毕业证书)昆士兰大学毕业证成绩单原版一比一
 
如何办理(USYD毕业证书)悉尼大学毕业证成绩单原件一模一样
如何办理(USYD毕业证书)悉尼大学毕业证成绩单原件一模一样如何办理(USYD毕业证书)悉尼大学毕业证成绩单原件一模一样
如何办理(USYD毕业证书)悉尼大学毕业证成绩单原件一模一样
 
一比一原版(CSUEB毕业证书)东湾分校毕业证原件一模一样
一比一原版(CSUEB毕业证书)东湾分校毕业证原件一模一样一比一原版(CSUEB毕业证书)东湾分校毕业证原件一模一样
一比一原版(CSUEB毕业证书)东湾分校毕业证原件一模一样
 
如何办理(OP毕业证书)奥塔哥理工学院毕业证成绩单本科硕士学位证留信学历认证
如何办理(OP毕业证书)奥塔哥理工学院毕业证成绩单本科硕士学位证留信学历认证如何办理(OP毕业证书)奥塔哥理工学院毕业证成绩单本科硕士学位证留信学历认证
如何办理(OP毕业证书)奥塔哥理工学院毕业证成绩单本科硕士学位证留信学历认证
 
在线办理(scu毕业证)南十字星大学毕业证电子版学位证书注册证明信
在线办理(scu毕业证)南十字星大学毕业证电子版学位证书注册证明信在线办理(scu毕业证)南十字星大学毕业证电子版学位证书注册证明信
在线办理(scu毕业证)南十字星大学毕业证电子版学位证书注册证明信
 
一比一原版(Otago毕业证书)奥塔哥理工学院毕业证成绩单学位证靠谱定制
一比一原版(Otago毕业证书)奥塔哥理工学院毕业证成绩单学位证靠谱定制一比一原版(Otago毕业证书)奥塔哥理工学院毕业证成绩单学位证靠谱定制
一比一原版(Otago毕业证书)奥塔哥理工学院毕业证成绩单学位证靠谱定制
 
In Riyadh Saudi Arabia |+966572737505 | Buy Cytotec| Get Abortion pills
In Riyadh Saudi Arabia |+966572737505 | Buy Cytotec| Get Abortion pillsIn Riyadh Saudi Arabia |+966572737505 | Buy Cytotec| Get Abortion pills
In Riyadh Saudi Arabia |+966572737505 | Buy Cytotec| Get Abortion pills
 
如何办理(SUT毕业证书)斯威本科技大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(SUT毕业证书)斯威本科技大学毕业证成绩单本科硕士学位证留信学历认证如何办理(SUT毕业证书)斯威本科技大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(SUT毕业证书)斯威本科技大学毕业证成绩单本科硕士学位证留信学历认证
 
Abortion pills in Riyadh Saudi Arabia!+966572737505 ) Where to get cytotec
Abortion pills in Riyadh Saudi Arabia!+966572737505 ) Where to get cytotecAbortion pills in Riyadh Saudi Arabia!+966572737505 ) Where to get cytotec
Abortion pills in Riyadh Saudi Arabia!+966572737505 ) Where to get cytotec
 
Abortion Pill for sale in Riyadh ((+918761049707) Get Cytotec in Dammam
Abortion Pill for sale in Riyadh ((+918761049707) Get Cytotec in DammamAbortion Pill for sale in Riyadh ((+918761049707) Get Cytotec in Dammam
Abortion Pill for sale in Riyadh ((+918761049707) Get Cytotec in Dammam
 
NON INVASIVE GLUCOSE BLODD MONITORING SYSTEM (1) (2) (1).pptx
NON INVASIVE GLUCOSE BLODD MONITORING SYSTEM (1) (2) (1).pptxNON INVASIVE GLUCOSE BLODD MONITORING SYSTEM (1) (2) (1).pptx
NON INVASIVE GLUCOSE BLODD MONITORING SYSTEM (1) (2) (1).pptx
 
在线制作(ANU毕业证书)澳大利亚国立大学毕业证成绩单原版一比一
在线制作(ANU毕业证书)澳大利亚国立大学毕业证成绩单原版一比一在线制作(ANU毕业证书)澳大利亚国立大学毕业证成绩单原版一比一
在线制作(ANU毕业证书)澳大利亚国立大学毕业证成绩单原版一比一
 
Vibration of Continuous Systems.pjjjjjjjjptx
Vibration of Continuous Systems.pjjjjjjjjptxVibration of Continuous Systems.pjjjjjjjjptx
Vibration of Continuous Systems.pjjjjjjjjptx
 
如何办理(UVic毕业证书)维多利亚大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(UVic毕业证书)维多利亚大学毕业证成绩单本科硕士学位证留信学历认证如何办理(UVic毕业证书)维多利亚大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(UVic毕业证书)维多利亚大学毕业证成绩单本科硕士学位证留信学历认证
 
Buy Abortion pills in Riyadh |+966572737505 | Get Cytotec
Buy Abortion pills in Riyadh |+966572737505 | Get CytotecBuy Abortion pills in Riyadh |+966572737505 | Get Cytotec
Buy Abortion pills in Riyadh |+966572737505 | Get Cytotec
 
如何办理(AUT毕业证书)奥克兰理工大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(AUT毕业证书)奥克兰理工大学毕业证成绩单本科硕士学位证留信学历认证如何办理(AUT毕业证书)奥克兰理工大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(AUT毕业证书)奥克兰理工大学毕业证成绩单本科硕士学位证留信学历认证
 
NO1 Pakistan Best vashikaran specialist in UK USA UAE London Dubai Canada Ame...
NO1 Pakistan Best vashikaran specialist in UK USA UAE London Dubai Canada Ame...NO1 Pakistan Best vashikaran specialist in UK USA UAE London Dubai Canada Ame...
NO1 Pakistan Best vashikaran specialist in UK USA UAE London Dubai Canada Ame...
 
一比一原版(USYD毕业证书)澳洲悉尼大学毕业证如何办理
一比一原版(USYD毕业证书)澳洲悉尼大学毕业证如何办理一比一原版(USYD毕业证书)澳洲悉尼大学毕业证如何办理
一比一原版(USYD毕业证书)澳洲悉尼大学毕业证如何办理
 
Best CPU for gaming Intel Core i9-14900K 14th Gen Desktop CPU
Best CPU for gaming  Intel Core i9-14900K 14th Gen Desktop CPUBest CPU for gaming  Intel Core i9-14900K 14th Gen Desktop CPU
Best CPU for gaming Intel Core i9-14900K 14th Gen Desktop CPU
 
Contact +971581248768 to buy 100% original and safe abortion pills in Dubai a...
Contact +971581248768 to buy 100% original and safe abortion pills in Dubai a...Contact +971581248768 to buy 100% original and safe abortion pills in Dubai a...
Contact +971581248768 to buy 100% original and safe abortion pills in Dubai a...
 

Computer and Data

  • 1. COMPUTER & DATA By : Darpan Chelani & Muntazir Bhutto
  • 2. • How Computer Represents Data.. • Bits & Bytes • Text code • How Computer Process Data.. • CPU • Memory • Factors Affecting Processing Speed.. • Register OUTLINE….
  • 3. HOW COMPUTER REPRESENT DATA • Bits & Bytes • Number System
  • 4. BITS & BYTES • A single unit of Data (0 or 1) • Eight (8) bits make one BYTE • We use 0 or 1 to represent state • 0=Off • 1=On
  • 6.
  • 7. BINARY TO DECIMAL CONVERSION
  • 8.
  • 9.
  • 10.
  • 11.
  • 12. TEXT CODE.. • Text is made up of CHARACTER and each character is allocated its own binary code. • Set of character is called character set. • Made up of • 26 upper case • 26 lower case • 10 DIGITS 0-9 • 20 punctuation marks (! , . ? etc) • ASCII & Unicode are two of the most common codes in use today
  • 13. ASCII • American Standard Code for Information Interchange • It’s a 7 bit code allowing 128 characters • Example • Code 13 = Carriage Return • Code 10 = Line feed • Code 09 = TAB • Code 08 = Backspace • Upper case(65-90) • Lower case (97-122) • Code 65 = A • Code 97 = a • Range 0-255 characters
  • 14. UNICODE • It provides a unique number for every character • Unicode uses a 16 bit code for character • Provides character upto 65,536 • It includes all the ASCII character codes to ensure compatibility
  • 15. HOW COMPUTER PROCESS DATA • Computer perform only 4 operation: • Input / Output Operations • Calculation & text manipulation operations • Logic / Comparison Operations • Storage and Retrieval Operations
  • 16.
  • 17. CPU • CPU stands for Central Processing Unit • Microprocessor • The Chip • Processor
  • 18. CPU
  • 19. CPU • A silicon chip made of millions of transistors. • CPU controls all the activites within the system . • Its called the brain of computer. • Data is processed into information. • CPU consist of two Components • CU (Control Unit) • ALU (Arthmetic Logic Unit) • Other components • Registers • Cache
  • 20. CONTROL UNIT (CU) • Process Data. • Extracts instruction from Memory and decodes and executes them. • Manage all resources of computer. • For every instruction the control unit repeats a set of 4 basic operation called machine cycle/processing cycle.
  • 21. ARTHMETIC LOGIC UNIT • Operation of comparing number is carried by Mathematical operation in CPU. • Computer perform two type of operation • Arthmetic Operations • Logical Operations
  • 22. ARTHMETIC OPERATION • Addition (+) • Subtraction (-) • Multiplication (*) • Division (/)
  • 23. LOGICAL OPERATION • COMPARISION • Equal to = • Not equal to != • Greater than > • Less than < • etc
  • 24. MACHINE CYCLE • Four Series of Steps • Execute each time when Data is input • Instruction Cycle • Execution Cycle
  • 25.
  • 26. MACHINE CYCLE • Fetching= • Take command or data from Memory. • Decoding= • Translate instruction • ALU can understand • Executing= • Carry information • Convert into Microcode • Storing= • Copy result to Memory
  • 27. FACTOR AFFECTING PROCESSING CYCLE • Clock rate of CPU • Computer Word Size • Bus Speed • Main Memory Size • Cache Memory Size • Instruction Set Complexity • Number of Processing Units