SlideShare a Scribd company logo
Digital Planet:
Tomorrow’s Technology and You
Chapter 2
Hardware Basics
Inside the Box
Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall
Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall
What Computers Do
Four basic operations:
 Receive input: Accept information from outside world
 Process information: Perform arithmetic or logical
operations on information
 Produce output: Communicate information to outside
world
 Store information: Store and retrieve information from
memory and storage devices
2
Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall
What Computers Do (cont.)
Hardware components
• Input devices
• Output devices
• Microprocessor (CPU)
• Memory and storage devices
• Primary storage - RAM
• Secondary storage – Disk Drives
• Peripherals
3
Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 4
How do computer circuits manipulate
data?
• ALL computers are electronic, digital devices
• Digital devices work with discrete data, such as
digits 1 and 0, or like a light switch – on or off
• These 1s and 0s are referred to as binary digits or
shortened to bits
• Computers use sequences of bits to digitally
represent numbers, letters, punctuation marks,
music, pictures, and videos
Practical Computer Literacy, 2nd edition
Chapter 1
Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall
Bit Basics
 Bit: From Binary digit
• Smallest unit of information computer can process
• Can have one of two values: 0 or 1
 Byte
• Collection of 8 bits
• Can represent 256
different messages
(256 = 28)
5
Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall
Bits as Numbers
 Denotes all numbers with combinations of 0s and 1s
 Decimal numbers automatically converted to binary
 Binary number processing hidden from user
6
Decimal Binary Decimal Binary
0 0000 5 0101
1 0001 6 0110
2 0010 7 0111
3 0011 8 1000
4 0100 9 1001
Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall
Bits as Codes
• Codes represent each letter,
digit, and special character
• ASCII: Most widely used
• Each character is a unique 8-bit
code
• 256 unique codes for 26 letters,
10 digits, special characters
• Unicode: Supports more than
100,000 unique characters
7
Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall
The CPU: The Real Computer
 CPU often called “processor”
 Performs transformations of input into output
 Interprets and executes instructions in programs
 Performs arithmetic and logical data manipulations
 Communicates with other parts of the computer system indirectly through
memory
Modern Microprocessor
• Complex collection of electronic circuits
• CPU housed with other chips on circuit board
• Circuit board containing computer’s CPU is called motherboard
8
Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall
Performance
 Some processors faster than others
 Performance is determined by:
• Speed of internal clock—measured in gigahertz (GHz)
• Architecture of processor
• Number of bits processor can process at one time
• Typically 32 or 64 bits—called word size
9
Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall
Performance (cont.)
 Multicore Processors
• Single chip contains
multiple CPUs (cores)
• Run simultaneously
• Divide work
• Most new PCs have
at least two cores.
• Quad core becoming
common
10
Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall
 Typical CPU is divided into several functional units:
• Control unit
• Arithmetic logic unit (ALU) includes registers
• Decode unit
• Bus unit
• Prefetch unit
 These units work together to complete the execution
of program instructions.
11
The CPU – How it works (p.52-53)
Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall
The Computer’s Memory
 Random access memory (RAM)
• Most common type of primary storage
• Stores program instructions and data temporarily
• Memory locations have unique addresses
• Volatile—disappears when power is turned off
• Called DIMMS. Rated by both size and speed.
12
Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall
The Computer’s Memory (cont.)
 Read-only memory (ROM)
• Information is etched on chip when manufactured
• Stores start-up instructions and other critical information
 Flash memory
• Can be written and erased repeatedly
• Used for digital cameras, cell phones, handheld computers
13
Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall
Slide 14
MEMORY CACHE
Cache used by the central processing unit of a
computer to reduce the average time to access
memory. The cache is a smaller, faster memory
which stores copies of the data from the most
frequently used main memory locations. When
the processor needs to read from or write to a
location in main memory, it first checks whether
a copy of that data is in the cache. If so, the
processor immediately reads from or writes to
the cache, which is much faster than reading
from or writing to main memory.
Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall
Buses
 Information travels between components on the
motherboard through wires called internal buses or
just buses. Typically have 32 or 64 wires (data paths)
 Buses: Bridges between processor and RAM. Bus
speed is one of the most important factors in
determining a computer’s performance!!
 Buses connect to:
• Storage devices in bays
• Expansion slots
• External buses and ports
15
Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall
Ports
 Computer has variety of ports to meet diverse needs
• Video port(s) to connect monitors
• Audio ports to connect speakers and/or headphones
• USB ports to connect keyboards, pointing devices,
printers, cameras, disk drives, portable storage
devices, and more
16
Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall
Which Computer to BUY??
Dell A1 3.3GHz Intel 6GB Ram
$599.99
• Windows 7
• 15 inch LCD Display
• 3 Year Warranty
• 750 GB Hard Drive
Dell A2 2.8GHz Intel 4GB Ram
$799.99
• Windows 7
• 15 inch LCD Display
• 3 Year Warranty
• 500 GB Hard Drive
17
Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall
Which Computer to BUY??
Dell A1 3.3GHz Intel 6GB Ram
• Windows 7
• 15 inch LCD Display
• 3 Year Warranty
• 750 GB Hard Drive (5400 rpm)
• 32 Bit Processor
• 32 Bit 400 MHz Bus
• 2 GB 2.5 GHz L2 Cache
Dell A2 2.8GHz Intel 4GB Ram
• Windows 7
• 15 inch LCD Display
• 3 Year Warranty
• 500 GB Hard Drive (7200 rpm)
• 64 Bit Processer
• 64 Bit 800 MHz Bus
• 3 GB 3.3 GHz L2 Cache
18
Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall
Green Computing
 When compared to other industries the computer
industry is relatively easy on the environment.
 The manufacture and use of computer hardware and
software does have a significant environmental
impact.
 You have some control over the environmental
impact of your computing activities.
19
Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall
Green Computing (cont.)
• Buy green equipment
• Take advantage of energy
saving features
• Turn off your computer
when you are away
• Save energy, not screens
• Avoid moving parts
20

More Related Content

Similar to ch02.ppt

Utc summer project by samuel coghlan white (best 1 evr)
Utc summer project by samuel coghlan white (best 1 evr)Utc summer project by samuel coghlan white (best 1 evr)
Utc summer project by samuel coghlan white (best 1 evr)
samthking25
 
Computer_Basics_computer_basics.pptx
Computer_Basics_computer_basics.pptxComputer_Basics_computer_basics.pptx
Computer_Basics_computer_basics.pptx
JiaJunWang17
 
Chapter 02 system unit csc & tts
Chapter 02 system unit csc & ttsChapter 02 system unit csc & tts
Chapter 02 system unit csc & ttsHisyam Rosly
 
Hardware and software of computer
Hardware and software of computerHardware and software of computer
Hardware and software of computer
Surath Khadka
 
Component of system unit.ppt
Component of system unit.pptComponent of system unit.ppt
Component of system unit.ppt
AhsanRamzan7
 
04 connector and components
04 connector and components04 connector and components
04 connector and components
Ashik Iqbal
 
IS100 Week 2
IS100 Week 2IS100 Week 2
IS100 Week 2
METU-Informatics
 
Lac one 01 Parts of computer.pptx
Lac one 01 Parts of computer.pptxLac one 01 Parts of computer.pptx
Lac one 01 Parts of computer.pptx
Hailsh
 
Internal components storage devices
Internal components storage devicesInternal components storage devices
Internal components storage devicesEdz Gapuz
 
Lecture 2 - Computer Hardware & Operating Systems
Lecture 2 - Computer Hardware & Operating SystemsLecture 2 - Computer Hardware & Operating Systems
Lecture 2 - Computer Hardware & Operating Systems
Jack Hyman
 
Parts of computer (Hardware)
Parts of computer (Hardware)Parts of computer (Hardware)
Parts of computer (Hardware)
Mac Mac
 
Unit 1 computing fundamental 2013
Unit 1 computing fundamental 2013Unit 1 computing fundamental 2013
Unit 1 computing fundamental 2013Yousuf Al Khanbashi
 
Core Hardware: Lecture 1
Core Hardware: Lecture 1Core Hardware: Lecture 1
Core Hardware: Lecture 1
Awinash Goswami
 
What is a computer
What is a computerWhat is a computer
What is a computer
shriramchaurasiya
 
I.T for Management: What is a computer and how does it work
I.T for Management: What is a computer and how does it work I.T for Management: What is a computer and how does it work
I.T for Management: What is a computer and how does it work
We Learn - A Continuous Learning Forum from Welingkar's Distance Learning Program.
 
What is computer and how it works
What is computer and how it worksWhat is computer and how it works
BAIT1003 Chapter 2
BAIT1003 Chapter 2BAIT1003 Chapter 2
BAIT1003 Chapter 2
limsh
 
information technology about hardware and software
information technology about hardware and softwareinformation technology about hardware and software
information technology about hardware and software
solavwryait
 

Similar to ch02.ppt (20)

Utc summer project by samuel coghlan white (best 1 evr)
Utc summer project by samuel coghlan white (best 1 evr)Utc summer project by samuel coghlan white (best 1 evr)
Utc summer project by samuel coghlan white (best 1 evr)
 
Computer_Basics_computer_basics.pptx
Computer_Basics_computer_basics.pptxComputer_Basics_computer_basics.pptx
Computer_Basics_computer_basics.pptx
 
Chapter 02 system unit csc & tts
Chapter 02 system unit csc & ttsChapter 02 system unit csc & tts
Chapter 02 system unit csc & tts
 
Hardware and software of computer
Hardware and software of computerHardware and software of computer
Hardware and software of computer
 
Component of system unit.ppt
Component of system unit.pptComponent of system unit.ppt
Component of system unit.ppt
 
04 connector and components
04 connector and components04 connector and components
04 connector and components
 
IS100 Week 2
IS100 Week 2IS100 Week 2
IS100 Week 2
 
Lac one 01 Parts of computer.pptx
Lac one 01 Parts of computer.pptxLac one 01 Parts of computer.pptx
Lac one 01 Parts of computer.pptx
 
The system unit ch # 4
The system unit ch # 4The system unit ch # 4
The system unit ch # 4
 
Internal components storage devices
Internal components storage devicesInternal components storage devices
Internal components storage devices
 
Lecture 2 - Computer Hardware & Operating Systems
Lecture 2 - Computer Hardware & Operating SystemsLecture 2 - Computer Hardware & Operating Systems
Lecture 2 - Computer Hardware & Operating Systems
 
Parts of computer (Hardware)
Parts of computer (Hardware)Parts of computer (Hardware)
Parts of computer (Hardware)
 
Unit 1 computing fundamental 2013
Unit 1 computing fundamental 2013Unit 1 computing fundamental 2013
Unit 1 computing fundamental 2013
 
Core Hardware: Lecture 1
Core Hardware: Lecture 1Core Hardware: Lecture 1
Core Hardware: Lecture 1
 
What is a computer
What is a computerWhat is a computer
What is a computer
 
Microprocessor
MicroprocessorMicroprocessor
Microprocessor
 
I.T for Management: What is a computer and how does it work
I.T for Management: What is a computer and how does it work I.T for Management: What is a computer and how does it work
I.T for Management: What is a computer and how does it work
 
What is computer and how it works
What is computer and how it worksWhat is computer and how it works
What is computer and how it works
 
BAIT1003 Chapter 2
BAIT1003 Chapter 2BAIT1003 Chapter 2
BAIT1003 Chapter 2
 
information technology about hardware and software
information technology about hardware and softwareinformation technology about hardware and software
information technology about hardware and software
 

Recently uploaded

GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
Matthew Sinclair
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance
 
Free Complete Python - A step towards Data Science
Free Complete Python - A step towards Data ScienceFree Complete Python - A step towards Data Science
Free Complete Python - A step towards Data Science
RinaMondal9
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Paige Cruz
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
Neo4j
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
Pierluigi Pugliese
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
BookNet Canada
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems S.M.S.A.
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
Neo4j
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
Ralf Eggert
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
Adtran
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
Neo4j
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
DianaGray10
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Nexer Digital
 

Recently uploaded (20)

GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 
Free Complete Python - A step towards Data Science
Free Complete Python - A step towards Data ScienceFree Complete Python - A step towards Data Science
Free Complete Python - A step towards Data Science
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
 

ch02.ppt

  • 1. Digital Planet: Tomorrow’s Technology and You Chapter 2 Hardware Basics Inside the Box Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall
  • 2. Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall What Computers Do Four basic operations:  Receive input: Accept information from outside world  Process information: Perform arithmetic or logical operations on information  Produce output: Communicate information to outside world  Store information: Store and retrieve information from memory and storage devices 2
  • 3. Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall What Computers Do (cont.) Hardware components • Input devices • Output devices • Microprocessor (CPU) • Memory and storage devices • Primary storage - RAM • Secondary storage – Disk Drives • Peripherals 3
  • 4. Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 4 How do computer circuits manipulate data? • ALL computers are electronic, digital devices • Digital devices work with discrete data, such as digits 1 and 0, or like a light switch – on or off • These 1s and 0s are referred to as binary digits or shortened to bits • Computers use sequences of bits to digitally represent numbers, letters, punctuation marks, music, pictures, and videos Practical Computer Literacy, 2nd edition Chapter 1
  • 5. Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall Bit Basics  Bit: From Binary digit • Smallest unit of information computer can process • Can have one of two values: 0 or 1  Byte • Collection of 8 bits • Can represent 256 different messages (256 = 28) 5
  • 6. Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall Bits as Numbers  Denotes all numbers with combinations of 0s and 1s  Decimal numbers automatically converted to binary  Binary number processing hidden from user 6 Decimal Binary Decimal Binary 0 0000 5 0101 1 0001 6 0110 2 0010 7 0111 3 0011 8 1000 4 0100 9 1001
  • 7. Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall Bits as Codes • Codes represent each letter, digit, and special character • ASCII: Most widely used • Each character is a unique 8-bit code • 256 unique codes for 26 letters, 10 digits, special characters • Unicode: Supports more than 100,000 unique characters 7
  • 8. Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall The CPU: The Real Computer  CPU often called “processor”  Performs transformations of input into output  Interprets and executes instructions in programs  Performs arithmetic and logical data manipulations  Communicates with other parts of the computer system indirectly through memory Modern Microprocessor • Complex collection of electronic circuits • CPU housed with other chips on circuit board • Circuit board containing computer’s CPU is called motherboard 8
  • 9. Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall Performance  Some processors faster than others  Performance is determined by: • Speed of internal clock—measured in gigahertz (GHz) • Architecture of processor • Number of bits processor can process at one time • Typically 32 or 64 bits—called word size 9
  • 10. Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall Performance (cont.)  Multicore Processors • Single chip contains multiple CPUs (cores) • Run simultaneously • Divide work • Most new PCs have at least two cores. • Quad core becoming common 10
  • 11. Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall  Typical CPU is divided into several functional units: • Control unit • Arithmetic logic unit (ALU) includes registers • Decode unit • Bus unit • Prefetch unit  These units work together to complete the execution of program instructions. 11 The CPU – How it works (p.52-53)
  • 12. Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall The Computer’s Memory  Random access memory (RAM) • Most common type of primary storage • Stores program instructions and data temporarily • Memory locations have unique addresses • Volatile—disappears when power is turned off • Called DIMMS. Rated by both size and speed. 12
  • 13. Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall The Computer’s Memory (cont.)  Read-only memory (ROM) • Information is etched on chip when manufactured • Stores start-up instructions and other critical information  Flash memory • Can be written and erased repeatedly • Used for digital cameras, cell phones, handheld computers 13
  • 14. Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall Slide 14 MEMORY CACHE Cache used by the central processing unit of a computer to reduce the average time to access memory. The cache is a smaller, faster memory which stores copies of the data from the most frequently used main memory locations. When the processor needs to read from or write to a location in main memory, it first checks whether a copy of that data is in the cache. If so, the processor immediately reads from or writes to the cache, which is much faster than reading from or writing to main memory.
  • 15. Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall Buses  Information travels between components on the motherboard through wires called internal buses or just buses. Typically have 32 or 64 wires (data paths)  Buses: Bridges between processor and RAM. Bus speed is one of the most important factors in determining a computer’s performance!!  Buses connect to: • Storage devices in bays • Expansion slots • External buses and ports 15
  • 16. Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall Ports  Computer has variety of ports to meet diverse needs • Video port(s) to connect monitors • Audio ports to connect speakers and/or headphones • USB ports to connect keyboards, pointing devices, printers, cameras, disk drives, portable storage devices, and more 16
  • 17. Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall Which Computer to BUY?? Dell A1 3.3GHz Intel 6GB Ram $599.99 • Windows 7 • 15 inch LCD Display • 3 Year Warranty • 750 GB Hard Drive Dell A2 2.8GHz Intel 4GB Ram $799.99 • Windows 7 • 15 inch LCD Display • 3 Year Warranty • 500 GB Hard Drive 17
  • 18. Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall Which Computer to BUY?? Dell A1 3.3GHz Intel 6GB Ram • Windows 7 • 15 inch LCD Display • 3 Year Warranty • 750 GB Hard Drive (5400 rpm) • 32 Bit Processor • 32 Bit 400 MHz Bus • 2 GB 2.5 GHz L2 Cache Dell A2 2.8GHz Intel 4GB Ram • Windows 7 • 15 inch LCD Display • 3 Year Warranty • 500 GB Hard Drive (7200 rpm) • 64 Bit Processer • 64 Bit 800 MHz Bus • 3 GB 3.3 GHz L2 Cache 18
  • 19. Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall Green Computing  When compared to other industries the computer industry is relatively easy on the environment.  The manufacture and use of computer hardware and software does have a significant environmental impact.  You have some control over the environmental impact of your computing activities. 19
  • 20. Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall Green Computing (cont.) • Buy green equipment • Take advantage of energy saving features • Turn off your computer when you are away • Save energy, not screens • Avoid moving parts 20