SlideShare a Scribd company logo
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

Computer Fundamentals.
Computer Fundamentals.Computer Fundamentals.
Computer Fundamentals.
piasspk
 
Arithmetic Logic Unit (ALU)
Arithmetic Logic Unit (ALU)Arithmetic Logic Unit (ALU)
Arithmetic Logic Unit (ALU)
Student
 
Embedded systems, lession 1
Embedded systems, lession 1Embedded systems, lession 1
Embedded systems, lession 1
REKHASENCHAgs0801bm1
 
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 1BSyed Arslan Rizvi
 
Arithmetic logic shift unit
Arithmetic logic shift unitArithmetic logic shift unit
Arithmetic logic shift unit
rishi ram khanal
 
Basic ops concept of comp
Basic ops  concept of compBasic ops  concept of comp
Basic ops concept of comp
gaurav jain
 
1.instrumentation ii
1.instrumentation ii1.instrumentation ii
1.instrumentation ii
Bikash Gyawali
 
introduction to microprocessor and microcomputer
introduction to microprocessor and microcomputerintroduction to microprocessor and microcomputer
introduction to microprocessor and microcomputer
Satya P. Joshi
 
What is Computer?
What is Computer?What is Computer?
What is Computer?
Himanshu Pathak
 
Ia syllabus Topic computer Related
Ia syllabus Topic computer RelatedIa syllabus Topic computer Related
Ia syllabus Topic computer Related
Online Job Study
 
An Introduction To Python - Understanding Computers
An Introduction To Python - Understanding ComputersAn Introduction To Python - Understanding Computers
An Introduction To Python - Understanding Computers
Blue Elephant Consulting
 
Computer system- shajjaduir Rahman
Computer system- shajjaduir RahmanComputer system- shajjaduir Rahman
Computer system- shajjaduir Rahman
vaishawn
 
Central Processing Unit
Central Processing UnitCentral Processing Unit
Central Processing Unit
Brenda Debra
 
Computer Architecture
Computer ArchitectureComputer Architecture
Computer Architecture
Louise Magno
 
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
SMITA V MORE
 

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

Computer fundamentals
Computer fundamentalsComputer fundamentals
Computer fundamentals
Mac Mac
 
Chapter1 introduction to computer systems
Chapter1 introduction to computer systemsChapter1 introduction to computer systems
Chapter1 introduction to computer systems
Muhammad Waqas
 
Hardware and software of computer
Hardware and software of computerHardware and software of computer
Hardware and software of computer
Surath Khadka
 
Central Processing Unit-6.pptx
Central Processing Unit-6.pptxCentral Processing Unit-6.pptx
Central Processing Unit-6.pptx
IjazKhan326575
 
Control unit
Control unitControl unit
Control unit
Syed Zaid Irshad
 
Basic Computer Skills.pptx
Basic Computer Skills.pptxBasic Computer Skills.pptx
Basic Computer Skills.pptx
ssuser504dda
 
Introduction to Computer System
Introduction to Computer System Introduction to Computer System
Introduction to Computer System
sonykhan3
 
Transforming data into information
Transforming data into informationTransforming data into information
Transforming data into information
Maryam Fida
 
Intro. to computer system
Intro. to computer systemIntro. to computer system
Intro. to computer systemdofirfauzi1302
 
Lec 1 DPT
Lec 1 DPTLec 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
Ndubi Amos
 
Lecture 3 Computer architecture-cpu.pptx
Lecture 3 Computer architecture-cpu.pptxLecture 3 Computer architecture-cpu.pptx
Lecture 3 Computer architecture-cpu.pptx
samgamingofficial01
 
Introduction to Digital Forensics
Introduction to Digital ForensicsIntroduction to Digital Forensics
Introduction to Digital Forensics
Don Caeiro
 
Computer Introduction
Computer IntroductionComputer Introduction
Computer Introduction
himabindukursam
 
Basic of Computer.pptx
Basic of Computer.pptxBasic of Computer.pptx
Basic of Computer.pptx
titasdasgupta1
 
introduction COA(M1).pptx
introduction COA(M1).pptxintroduction COA(M1).pptx
introduction COA(M1).pptx
BhavanaMinchu
 
Unit 1 computer architecture (1)
Unit 1   computer architecture (1)Unit 1   computer architecture (1)
Unit 1 computer architecture (1)
DevaKumari Vijay
 
Chap4.ppt
Chap4.pptChap4.ppt
Chap4.ppt
mvpk14486
 

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
 

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