SlideShare a Scribd company logo
1 of 35
Lecture 3
Data representation and processing
Irfan Ali Memon
Sukkur IBA
How computers
represent data
Bits and bytes
Binary digits---bits
A byte comprises of 8 bits
and represents 1 character
Text codes
Converts letters into binary format
Is there a need of a standard code
ASCII
(American English symbols)
Extended ASCII
(Graphics and other symbols)
Unicode
(All languages on the planet)
How computers
process data
CPU
Arithmetic/
Logic Unit
(ALU)
Control Unit
Central Processing Unit
Synchronizes all computer operations
Faster clock speed means the CPU can
execute more instructions each second
Units: MHz and GHz
System Clock
1. Instruction while being decoded
2. Location from where instruction
was fetched
3. Data while the ALU processes it
4. Results of a calculation
CPU Registers
Temporary storage location used by the CPU
High speed memory in CPU that stores:
4 basic operations:
 Fetch – obtain a
program instruction or
data item from memory
 Decode - translate the
instruction into
commands
 Execute - carry out the
command
 Store - write the result to
memory
Control Unit directs and coordinates most
of the computer operations
Arithmetic
(addition, subtraction,
multiplication, and
division)
Comparison
(greater than, equal
to, or less than)
Logical
(AND, OR,
NOT)
Arithmetic and Logic Unit
CPU
Control Unit Arithmetic/
Logic Unit
(ALU)
Arithmetic and Logic Unit
Performs the execution part of the machine cycle
4 operations of the CPU (control unit)
comprise a machine cycle; also called an
instruction cycle
e-time i-time
Machine Cycle
Instruction time– time to fetch and decode
Execution time– time to execute and store
A student enters a
math problem into
the memory of the
computer
Step 1: The
control unit
fetches the math
problem from
memory
Step 2: The control
unit decodes the
math problem and
sends it to the ALU
Step 3: The ALU
executes the math
problem
Step 4: The
results of the
math problem are
stored in memory
The result in
memory displays
on the screen of
the monitor
Example
Volatile Memory
Loses its contents when the
computer's power is turned off
volatile memory
Loses its contents
when the computer's
power is turned off
nonvolatile
memory
Does not lose its
contents when the
computer’s power
is turned off
Memory
2 basic types of RAM chips
Dynamic RAM (DRAM)
Also called main memory
Most common type
Static RAM (SRAM)
Used for special
applications such as
cache
Faster and more
reliable than DRAM
chips
Synchronous DRAM
(SDRAM)
Double data rate SDRAM
(DDR SDRAM or SDRAM II)
Direct Rambus® DRAM
(Direct RDRAM®)
Variations:
Memory
3 basic types of memory modules
SIMM, DIMM, and RIMM
single inline
memory
modules
(SIMMs)
Rambus®
inline memory
module (RIMM)
dual inline
memory
modules
(DIMMs)
Memory
Limited very fast memory
Lower access time
Stores frequently used
instructions/ data to
speed up processing
Memory Cache
Also called cache store or RAM cache
• Not used on older
computers
Level 3 (L3)
Only on newer
computers with L2
advanced transfer cache
Cache on motherboard
Level 2 (L2)
External cache
Larger, but
slower, capacity
On older computers
High-speed SRAM
chips on motherboard
On newer computers
•Advanced transfer
cache
• built directly on the
processor chip
• Primary or internal cache
• Built directly into the processor chip
• Small capacity
Level 1 (L1)
Three levels of Cache
BIOS
(basic input/output
system)
Stored on ROM
Non-volatileRead-only
Read Only Memory (ROM)
Fixed start-up instructions
PROM
(programmable
read-only
memory) Blank
ROM on which
you can place
items
permanently
Firmware
ROM chips
manufactured with
permanently
written data,
instructions, or
information
EEPROM
(electrically
erasable
programmable read-
only memory)
A type of PROM
containing
microcode that a
programmer can
erase
Types of ROM
 Nonvolatile EEPROM memory that
can be erased and reprogrammed
 Stores data and programs on many
handheld computers and devices
Flash Memory
Complementary
metal-oxide
semiconductor
memory
Stores configuration
information about
the computer
• Disk drives
• Keyboard
• Monitor
• Time/ date
Uses a battery
to retain the
information
when the
computer is
turned off
CMOS Memory
Flexible start-up
instructions
What are the different
CPU Architectures
CISC
(complex instruction set
computing)
 Supports a large
number of instructions
 CPU executes complex
instructions more
quickly
RISC
(reduced instruction
set computing)
 Reduces instructions
to only those used
more frequently
 CPU executes simple
instructions more
quickly
RISC vs CISC Architecture
Multiple processors
simultaneously execute a
program
Requires special
software to divide up a
problem and bring the
results back
Parallel Processing
How can different CPUs be
compared
Clock Speed
MIPS
FLOPS
What factors affect CPU
speed
Registers
Cache Memory
System and I/O Bus
Computer’s Clock
Name common
microprocessors
Intel
Pentium®
Pentium® II
with
MMX™
Celeron™
Xeon™
Itanium™
Used in PCs
AMD
(Intel-
compatible)
Duron™
AMD-K6®
Athlon™
with 3DNow!
™
Used in PCs
Motorola
PowerPC
Used in
Apples
Alpha
Used in
workstations
and high-end
servers
Difference between a
microprocessor and
microcontroller
Microcontroller is a complete
microprocessor system (CPU, RAM,
ROM, I/O) on a chip
Microprocessor requires other devices
Which (microprocessor or
microcontroller) are more
common
Microcontrollers (embedded systems)
are much more common
55% of all CPUs sold are 8-bit uC
http://tinyurl.com/5hb8pp

More Related Content

What's hot

Computer system architecture
Computer system architectureComputer system architecture
Computer system architectureKumar
 
The CPU and Memory and Major Components
The CPU and Memory and  Major ComponentsThe CPU and Memory and  Major Components
The CPU and Memory and Major Componentsimtiazalijoono
 
01 basic computer structure(20070122)
01 basic computer structure(20070122)01 basic computer structure(20070122)
01 basic computer structure(20070122)Prasanna Das
 
A451 introduction to cpu (2-12)
A451   introduction to cpu (2-12)A451   introduction to cpu (2-12)
A451 introduction to cpu (2-12)wardjo
 
Operating system
Operating systemOperating system
Operating systemRajThakuri
 
What is operating system
What is operating systemWhat is operating system
What is operating systemSuvithak
 
Three Central Processing Unit
Three   Central Processing UnitThree   Central Processing Unit
Three Central Processing UnitMISY
 
Computer architecture and organization
Computer architecture and organizationComputer architecture and organization
Computer architecture and organizationTushar B Kute
 
Operating System / System Operasi
Operating System / System Operasi                   Operating System / System Operasi
Operating System / System Operasi seolangit4
 
Unit 1 basic structure of computers
Unit 1   basic structure of computersUnit 1   basic structure of computers
Unit 1 basic structure of computerschidabdu
 
Computer Structures
Computer StructuresComputer Structures
Computer Structuresguestfc2f62
 
Computer system architecture
Computer system architectureComputer system architecture
Computer system architecturejeetesh036
 
Computer architecture
Computer architectureComputer architecture
Computer architectureZuhaib Zaroon
 
Von Neumann Architecture
Von Neumann Architecture   Von Neumann Architecture
Von Neumann Architecture Lor Ham
 
Operating System BCA 301
Operating System BCA 301Operating System BCA 301
Operating System BCA 301cpjcollege
 
Operating system
Operating systemOperating system
Operating systemHaripritha
 

What's hot (20)

Computer system architecture
Computer system architectureComputer system architecture
Computer system architecture
 
The CPU and Memory and Major Components
The CPU and Memory and  Major ComponentsThe CPU and Memory and  Major Components
The CPU and Memory and Major Components
 
01 basic computer structure(20070122)
01 basic computer structure(20070122)01 basic computer structure(20070122)
01 basic computer structure(20070122)
 
CPU
CPUCPU
CPU
 
A451 introduction to cpu (2-12)
A451   introduction to cpu (2-12)A451   introduction to cpu (2-12)
A451 introduction to cpu (2-12)
 
Operating system
Operating systemOperating system
Operating system
 
What is operating system
What is operating systemWhat is operating system
What is operating system
 
Register
RegisterRegister
Register
 
Three Central Processing Unit
Three   Central Processing UnitThree   Central Processing Unit
Three Central Processing Unit
 
Computer architecture and organization
Computer architecture and organizationComputer architecture and organization
Computer architecture and organization
 
Operating System / System Operasi
Operating System / System Operasi                   Operating System / System Operasi
Operating System / System Operasi
 
05 Internal Memory
05  Internal  Memory05  Internal  Memory
05 Internal Memory
 
Unit 1 basic structure of computers
Unit 1   basic structure of computersUnit 1   basic structure of computers
Unit 1 basic structure of computers
 
Computer Structures
Computer StructuresComputer Structures
Computer Structures
 
Computer system architecture
Computer system architectureComputer system architecture
Computer system architecture
 
Computer architecture
Computer architectureComputer architecture
Computer architecture
 
Von Neumann Architecture
Von Neumann Architecture   Von Neumann Architecture
Von Neumann Architecture
 
The system unit ch # 4
The system unit ch # 4The system unit ch # 4
The system unit ch # 4
 
Operating System BCA 301
Operating System BCA 301Operating System BCA 301
Operating System BCA 301
 
Operating system
Operating systemOperating system
Operating system
 

Viewers also liked (9)

Nasscom nov 11
Nasscom nov 11Nasscom nov 11
Nasscom nov 11
 
Uc13.chapter.07
Uc13.chapter.07Uc13.chapter.07
Uc13.chapter.07
 
Uc13.chapter.13
Uc13.chapter.13Uc13.chapter.13
Uc13.chapter.13
 
Week6 final
Week6 finalWeek6 final
Week6 final
 
Uc13.chapter.10
Uc13.chapter.10Uc13.chapter.10
Uc13.chapter.10
 
Uc13.chapter.05
Uc13.chapter.05Uc13.chapter.05
Uc13.chapter.05
 
Lecture2 fundamentalsof ict
Lecture2 fundamentalsof ictLecture2 fundamentalsof ict
Lecture2 fundamentalsof ict
 
Uc13.chapter.15
Uc13.chapter.15Uc13.chapter.15
Uc13.chapter.15
 
Le marketing du restaurateur
Le marketing du restaurateurLe marketing du restaurateur
Le marketing du restaurateur
 

Similar to Week3 v2 (1)

BAIT1003 Chapter 2
BAIT1003 Chapter 2BAIT1003 Chapter 2
BAIT1003 Chapter 2limsh
 
11. Computer Systems Hardware 1
11. Computer Systems   Hardware 111. Computer Systems   Hardware 1
11. Computer Systems Hardware 1New Era University
 
Lecture 2 - Computer Hardware & Operating Systems
Lecture 2 - Computer Hardware & Operating SystemsLecture 2 - Computer Hardware & Operating Systems
Lecture 2 - Computer Hardware & Operating SystemsJack Hyman
 
Components of System Unit
Components of System UnitComponents of System Unit
Components of System UnitAfaq Siddiqui
 
Component of system unit.ppt
Component of system unit.pptComponent of system unit.ppt
Component of system unit.pptAhsanRamzan7
 
Unit 1 four part pocessor and memory
Unit 1 four part pocessor and memoryUnit 1 four part pocessor and memory
Unit 1 four part pocessor and memoryNeha Kurale
 
ITBIS105 6
ITBIS105 6ITBIS105 6
ITBIS105 6Suad 00
 
Computer basics and i.o devices
Computer basics and i.o devicesComputer basics and i.o devices
Computer basics and i.o deviceskitturashmikittu
 
Introduction to Computer Hardware slides ppt
Introduction to Computer Hardware slides pptIntroduction to Computer Hardware slides ppt
Introduction to Computer Hardware slides pptOsama Yousaf
 
Computer System Basics
Computer System BasicsComputer System Basics
Computer System Basicspathumbee
 
Hardware and software of computer
Hardware and software of computerHardware and software of computer
Hardware and software of computerSurath Khadka
 
Int 2 computer structure 2010
Int 2 computer structure 2010Int 2 computer structure 2010
Int 2 computer structure 2010iarthur
 
Components of the System Unit.pdf
Components of the System Unit.pdfComponents of the System Unit.pdf
Components of the System Unit.pdfODINARARCH
 
computer System UNit Every thing
computer System UNit Every thingcomputer System UNit Every thing
computer System UNit Every thingAbdul Rehman
 

Similar to Week3 v2 (1) (20)

BAIT1003 Chapter 2
BAIT1003 Chapter 2BAIT1003 Chapter 2
BAIT1003 Chapter 2
 
11. Computer Systems Hardware 1
11. Computer Systems   Hardware 111. Computer Systems   Hardware 1
11. Computer Systems Hardware 1
 
Lecture 2 - Computer Hardware & Operating Systems
Lecture 2 - Computer Hardware & Operating SystemsLecture 2 - Computer Hardware & Operating Systems
Lecture 2 - Computer Hardware & Operating Systems
 
Components of System Unit
Components of System UnitComponents of System Unit
Components of System Unit
 
Component of system unit.ppt
Component of system unit.pptComponent of system unit.ppt
Component of system unit.ppt
 
Multimedia Technology
Multimedia TechnologyMultimedia Technology
Multimedia Technology
 
Unit 1 four part pocessor and memory
Unit 1 four part pocessor and memoryUnit 1 four part pocessor and memory
Unit 1 four part pocessor and memory
 
system unit.ppt
system unit.pptsystem unit.ppt
system unit.ppt
 
ITBIS105 6
ITBIS105 6ITBIS105 6
ITBIS105 6
 
Computer basics and i.o devices
Computer basics and i.o devicesComputer basics and i.o devices
Computer basics and i.o devices
 
The system unit
The system unitThe system unit
The system unit
 
Introduction to Computer Hardware slides ppt
Introduction to Computer Hardware slides pptIntroduction to Computer Hardware slides ppt
Introduction to Computer Hardware slides ppt
 
History of computer hardware
History of computer hardwareHistory of computer hardware
History of computer hardware
 
Computer System Basics
Computer System BasicsComputer System Basics
Computer System Basics
 
18. the components of the system unit
18. the components of the system unit18. the components of the system unit
18. the components of the system unit
 
Hardware and software of computer
Hardware and software of computerHardware and software of computer
Hardware and software of computer
 
Processing
ProcessingProcessing
Processing
 
Int 2 computer structure 2010
Int 2 computer structure 2010Int 2 computer structure 2010
Int 2 computer structure 2010
 
Components of the System Unit.pdf
Components of the System Unit.pdfComponents of the System Unit.pdf
Components of the System Unit.pdf
 
computer System UNit Every thing
computer System UNit Every thingcomputer System UNit Every thing
computer System UNit Every thing
 

More from Irfan Ali Memon (20)

MaMarksheet
MaMarksheetMaMarksheet
MaMarksheet
 
IT Ait ict quiz_two
IT Ait ict quiz_twoIT Ait ict quiz_two
IT Ait ict quiz_two
 
Week14 final
Week14 finalWeek14 final
Week14 final
 
Week13 final
Week13 finalWeek13 final
Week13 final
 
Week12 final
Week12 finalWeek12 final
Week12 final
 
Week11 final
Week11 finalWeek11 final
Week11 final
 
Week10 final
Week10 finalWeek10 final
Week10 final
 
Week9 final
Week9 finalWeek9 final
Week9 final
 
Week8 final
Week8 finalWeek8 final
Week8 final
 
Week7 final
Week7 finalWeek7 final
Week7 final
 
Uc13.chapter.16
Uc13.chapter.16Uc13.chapter.16
Uc13.chapter.16
 
Uc13.chapter.14
Uc13.chapter.14Uc13.chapter.14
Uc13.chapter.14
 
Uc13.chapter.12
Uc13.chapter.12Uc13.chapter.12
Uc13.chapter.12
 
Uc13.chapter.11
Uc13.chapter.11Uc13.chapter.11
Uc13.chapter.11
 
Uc13.chapter.09
Uc13.chapter.09Uc13.chapter.09
Uc13.chapter.09
 
Uc13.chapter.08
Uc13.chapter.08Uc13.chapter.08
Uc13.chapter.08
 
Uc13.chapter.06
Uc13.chapter.06Uc13.chapter.06
Uc13.chapter.06
 
Uc13.chapter.04
Uc13.chapter.04Uc13.chapter.04
Uc13.chapter.04
 
Uc13.chapter.03
Uc13.chapter.03Uc13.chapter.03
Uc13.chapter.03
 
Uc13.chapter.02
Uc13.chapter.02Uc13.chapter.02
Uc13.chapter.02
 

Recently uploaded

Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsNathaniel Shimoni
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demoHarshalMandlekar2
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 

Recently uploaded (20)

Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 

Week3 v2 (1)

  • 1. Lecture 3 Data representation and processing Irfan Ali Memon Sukkur IBA
  • 2.
  • 4. Bits and bytes Binary digits---bits A byte comprises of 8 bits and represents 1 character
  • 5.
  • 6. Text codes Converts letters into binary format Is there a need of a standard code ASCII (American English symbols) Extended ASCII (Graphics and other symbols) Unicode (All languages on the planet)
  • 7.
  • 10. Synchronizes all computer operations Faster clock speed means the CPU can execute more instructions each second Units: MHz and GHz System Clock
  • 11. 1. Instruction while being decoded 2. Location from where instruction was fetched 3. Data while the ALU processes it 4. Results of a calculation CPU Registers Temporary storage location used by the CPU High speed memory in CPU that stores:
  • 12. 4 basic operations:  Fetch – obtain a program instruction or data item from memory  Decode - translate the instruction into commands  Execute - carry out the command  Store - write the result to memory Control Unit directs and coordinates most of the computer operations
  • 13. Arithmetic (addition, subtraction, multiplication, and division) Comparison (greater than, equal to, or less than) Logical (AND, OR, NOT) Arithmetic and Logic Unit
  • 14. CPU Control Unit Arithmetic/ Logic Unit (ALU) Arithmetic and Logic Unit Performs the execution part of the machine cycle
  • 15. 4 operations of the CPU (control unit) comprise a machine cycle; also called an instruction cycle e-time i-time Machine Cycle Instruction time– time to fetch and decode Execution time– time to execute and store
  • 16. A student enters a math problem into the memory of the computer Step 1: The control unit fetches the math problem from memory Step 2: The control unit decodes the math problem and sends it to the ALU Step 3: The ALU executes the math problem Step 4: The results of the math problem are stored in memory The result in memory displays on the screen of the monitor Example
  • 17. Volatile Memory Loses its contents when the computer's power is turned off volatile memory Loses its contents when the computer's power is turned off nonvolatile memory Does not lose its contents when the computer’s power is turned off Memory
  • 18. 2 basic types of RAM chips Dynamic RAM (DRAM) Also called main memory Most common type Static RAM (SRAM) Used for special applications such as cache Faster and more reliable than DRAM chips Synchronous DRAM (SDRAM) Double data rate SDRAM (DDR SDRAM or SDRAM II) Direct Rambus® DRAM (Direct RDRAM®) Variations: Memory
  • 19. 3 basic types of memory modules SIMM, DIMM, and RIMM single inline memory modules (SIMMs) Rambus® inline memory module (RIMM) dual inline memory modules (DIMMs) Memory
  • 20. Limited very fast memory Lower access time Stores frequently used instructions/ data to speed up processing Memory Cache Also called cache store or RAM cache
  • 21. • Not used on older computers Level 3 (L3) Only on newer computers with L2 advanced transfer cache Cache on motherboard Level 2 (L2) External cache Larger, but slower, capacity On older computers High-speed SRAM chips on motherboard On newer computers •Advanced transfer cache • built directly on the processor chip • Primary or internal cache • Built directly into the processor chip • Small capacity Level 1 (L1) Three levels of Cache
  • 22. BIOS (basic input/output system) Stored on ROM Non-volatileRead-only Read Only Memory (ROM) Fixed start-up instructions
  • 23. PROM (programmable read-only memory) Blank ROM on which you can place items permanently Firmware ROM chips manufactured with permanently written data, instructions, or information EEPROM (electrically erasable programmable read- only memory) A type of PROM containing microcode that a programmer can erase Types of ROM
  • 24.  Nonvolatile EEPROM memory that can be erased and reprogrammed  Stores data and programs on many handheld computers and devices Flash Memory
  • 25. Complementary metal-oxide semiconductor memory Stores configuration information about the computer • Disk drives • Keyboard • Monitor • Time/ date Uses a battery to retain the information when the computer is turned off CMOS Memory Flexible start-up instructions
  • 26. What are the different CPU Architectures
  • 27. CISC (complex instruction set computing)  Supports a large number of instructions  CPU executes complex instructions more quickly RISC (reduced instruction set computing)  Reduces instructions to only those used more frequently  CPU executes simple instructions more quickly RISC vs CISC Architecture
  • 28. Multiple processors simultaneously execute a program Requires special software to divide up a problem and bring the results back Parallel Processing
  • 29. How can different CPUs be compared Clock Speed MIPS FLOPS
  • 30. What factors affect CPU speed Registers Cache Memory System and I/O Bus Computer’s Clock
  • 31. Name common microprocessors Intel Pentium® Pentium® II with MMX™ Celeron™ Xeon™ Itanium™ Used in PCs AMD (Intel- compatible) Duron™ AMD-K6® Athlon™ with 3DNow! ™ Used in PCs Motorola PowerPC Used in Apples Alpha Used in workstations and high-end servers
  • 32. Difference between a microprocessor and microcontroller Microcontroller is a complete microprocessor system (CPU, RAM, ROM, I/O) on a chip Microprocessor requires other devices
  • 33. Which (microprocessor or microcontroller) are more common Microcontrollers (embedded systems) are much more common 55% of all CPUs sold are 8-bit uC
  • 34.