Title: How Computers Work
1Chapter 1
2You Will Learn
- That a computer requires both hardware and
software to work - About hardware components inside and connected to
a computer - How the CPU works and how it communicates with
other devices
3Hardware Needs Softwareto Work
- Hardware
- Physical components of the computer (monitor,
keyboard, memory chips, hard drive) - Software
- Set of instructions that directs hardware to
accomplish a task
4(No Transcript)
5Functions of the Microcomputer
- Input
- Processing
- Output
- Storage
6Communication Between Hardware and Software
7Binary Number System
8PC Hardware Components
- Input and output devices outside computer case
- Processing and storage components inside the
case - Hardware devices require three elements to
operate - Method for CPU to communicate with it
- Software to instruct and control it
- Electricity to power it
9Hardware Used forInput and Output
- Connects to computer case by ports
- Most popular input devices
- Keyboard
- Mouse
- Most popular output devices
- Monitor
- Printer
10Ports
11Input Devices
12Output Devices
13Hardware Inside the Case
- Motherboard (contains CPU, memory, etc.)
- A floppy drive, hard drive, and CD-ROM drive
(permanent storage) - Power supply with cords supplying electricity to
all devices inside the case - Cables connecting devices to circuit boards and
the motherboard
continued
14Hardware Inside the Case
- Circuit boards (used by CPU to communicate with
devices inside/outside the case) - Contain microchips manufactured in one of two
ways - As CMOS (complementary metal-oxide semiconductor)
chips - As TTL (transistor-transistor logic) chips
15(No Transcript)
16The Motherboard
- Largest, most important circuit board in the
computer - Contains the CPU
- All communications between CPU and other devices
must pass through the motherboard - Also called the main board or system board
17The Motherboard
18Ports Provided by a Motherboard
19Major Components on All Motherboards
- For processing
- CPU
- Chip set that supports the CPU
- For temporary storage
- RAM
- Cache memory
- Electrical system
- Power supply connections
- For CPU communication with other devices
- Traces
- Expansion slots
- System clock
- Programming and setup data
- Flash ROM
- CMOS setup chip
20The CPU
- The microprocessor
- Performs most of actual data processing
21The Chip Set
- Controls flow of data and instructions to and
from the CPU - Provides careful timing of activities
22CPU and Chip Set Manufacturers
- IBM-compatible PCs
- Intel Corporation
- AMD
- VIA
- SiS
- Cyrix
- Macintosh (Apple Computer, Inc.)
- Motorola Corporation
23Storage Devices
- Temporary (primary storage, or memory)
- Temporarily holds data and instructions while
processing them - Faster to access than permanent storage
- Permanent (secondary storage)
24Primary and Secondary Storage
25Primary Storage Devices
- Memory, or RAM, located on the motherboard and on
other circuit boards - Volatile versus nonvolatile (or ROM) memory
- Common types of boards that hold memory chips
- SIMMs (single inline memory modules)
- DIMMs (dual inline memory modules)
- RIMMs (memory modules manufactured by Rambus,
Inc.)
26RAM Chips
27Types of RAM Modules
28Secondary Storage Devices
- Hard disks
- Floppy disks
- Zip drives
- CD-ROMs
29Hard Drive
- Uses EIDE (Enhanced Integrated Drive Electronics)
technology can accommodate up to four EIDE
devices on one system - IDE provides two connectors on a motherboard for
two data cables
30Motherboard with Two IDE Connectors
31A Typical System
32(No Transcript)
33Hard Drives Power Supply
34Floppy Drive
35Floppy Drive
36CD-ROM Drive
37Motherboard Components Used for Communication
Among Devices
- The bus
- System of pathways used for communication and the
protocol and methods used for transmission - Includes a data bus, address bus, and control bus
- Motherboard has several buses
- System bus
- PCI bus
- AGP bus
- ISA bus
38Bus Lines
39Data Bus
40System Clock
- Synchronizes activity on the motherboard
- Sends continuous pulses over the bus that are
used by different components to control the pace
of activity - Frequency of activity is measured in MHz, or 1
million cycles per second
41System Clock
42Bus Lines
- Lines of a bus, including data, instruction, and
power lines, often extend to the expansion slots - Types of expansion slots
- PCI (Peripheral Component Interconnect)
- For high-speed input/output devices)
- AGP (Accelerated Graphics Port)
- For a video card
- ISA (Industry Standard Architecture)
- Used by older and/or slower devices)
43Bus Lines
44Types of Expansion Slots
45Interface (Expansion) Cards
- Enable the CPU to connect to an external device
or to a network
46Interface (Expansion) Cards
47(No Transcript)
48Full View of a Video Card
49The Electrical System
- Power supply
- Most important component of computers electrical
system - Converts/reduces electricity to voltage the
computer can handle - Runs a fan directly from electrical output
voltage to cool inside of computer case
50Electrical System
51Electrical System
52Instructions and Data Stored on the Motherboard
- ROM BIOS
- Holds software needed to start up PC and begin
loading an OS - Most are flash ROM
- CMOS chip
- Stores setup (configuration) information
- Setup information can also be set by means of
jumpers and DIP (dual inline package) switches - Powered by a battery on motherboard when power is
off
53ROM BIOS Chip
54ROM BIOS Chip
55CMOS Chip
56Jumpers
57DIP Switches
58How a CPU Works and Communicates with Other
Devices
- Responsible for most processing
- Depends on chip set, system clock, and buses to
move data to and from I/O devices, memory, and
secondary storage - Only two states on and off
59Components of a CPU
- Input/output (I/O) unit
- Manages data and instructions entering and
leaving the CPU - One or more arithmetic logic units (ALU)
- Does all comparisons and calculations
- Control unit
- Manages all activities inside CPU itself
60Components of a CPU
61How the CPU Works
- Registers hold data and instructions while it
processes them - Memory cache holds data and instructions just
before they are processed - Internal bus runs at different speed than
external bus
62How the CPU Uses Memory
- CPU accesses memory by way of the data bus
63How CPU and Devices Use System Bus to Communicate
- System bus components
- Data bus
- Address Bus
- Control bus
64The Address Bus
65The Control Bus
- System clock control line
- Provides timing for motherboard components
- Interrupt request (IRQ) lines
- Used by devices to get CPUs attention assigned
at setup - Read/write control lines
- How to use address on address bus (read or write
operation) - I/O control lines
- How to use address lines (memory addresses or I/O
addresses)
66Interrupt Request (IRQ) Lines
67I/O Control Lines
68Understanding Binary
- With computers, everything is binary every
process is a series of zeros and ones - Decimal and hexadecimal notations are two
shorthand ways of displaying binary numbers
69(No Transcript)
70Understanding Binary
- Hexadecimal notation (hex)
- Shorthand way to display long binary numbers
easier for humans to understand - Built on multiples of sixteen
- ASCII (American Standard Code for Information
Interchange) standard - Has assigned an 8-bit code for letters, symbols,
and other characters
71Computer Terminology
72Chapter Summary
- Hardware needs software to work
- PC hardware components
- How a CPU works and communicates with other
devices - Understanding binary