Title: How Computers Work
1Chapter 1
2You Will Learn
- That a computer requires both hardware and
software to work - About the many different 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
4Hardware Needs Softwareto Work
5Functions of the Microcomputer
6Binary Number System
- Technology of storing and reading only two
values on and off - Bits and bytes
- Originated in the 1940s by John Atanasoff
7Binary Number System
8Binary Number System
9PC Hardware Components
- Input/output devices outside computer case
- Processing and storage components inside the
case - Elements required by hardware devices to operate
- Method for CPU to communicate with it
- Software to instruct and control it
- Electricity to power it
10Hardware Used forInput and Output
- Connects to computer case by ports
- Most popular input devices
- Keyboard
- Mouse
- Most popular output devices
- Monitor
- Printer
11Ports
12Input Devices
13Output Devices
14Hardware Inside the Case
- Motherboard (contains CPU, memory, etc.)
- Floppy drive, hard drive, and CD-ROM drive
(permanent storage) - Power supply with cords supplying electricity to
all devices inside the case
continued
15Hardware Inside the Case
- Circuit boards (used by CPU to communicate with
devices inside/outside the case) - Contain microchips, which are most often
manufactured using CMOS (complementary
metal-oxide semiconductor) technology - Cables that connect devices to circuit boards and
the motherboard - Data cables
- Power cables (or power cords)
16Peripheral Devices
- Communicate with CPU but are not located directly
on the motherboard - Some are linked by expansion cards in expansion
slots on the motherboard
17(No Transcript)
18The Motherboard
- Largest, most important circuit board in the
computer - Contains the CPU, with which all devices must
communicate - Installed directly on the motherboard
- Linked by a cable connected to a port on the
motherboard - Indirectly linked by expansion cards
- Also called the main board or system board
19The Motherboard
20Ports on a Motherboard
21Major Components on All Motherboards
- For processing
- CPU
- Chip set
- For temporary storage
- RAM
- Cache memory
- Electrical system
- Power supply connections
- For communication with other devices
- Traces
- Expansion slots
- System clock
- Programming and setup data
- Flash ROM
- CMOS setup chip
22The CPU
- Most important chip (the microprocessor)
- Performs most of actual data processing
23The Chip Set
- Controls flow of data and instructions to and
from the CPU - Provides careful timing of activities
24The Chip Set
25CPU and Chip Set Manufacturers
- IBM-compatible PCs
- Intel Corporation
- AMD
- VIA
- SiS
- Cyrix
- Macintosh (Apple Computer, Inc.)
- Motorola Corporation
26Storage Devices
- Temporary (primary storage, or memory)
- Temporarily holds data and instructions while
processing them - Faster to access than permanent storage
- Permanent (secondary storage)
- Data and instructions must be copied into primary
storage (RAM) for processing
27Primary and Secondary Storage
28Primary Storage Devices
- Memory, or RAM, located on motherboard and 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.)
29RAM Chips
30Types of RAM Modules
31Secondary Storage Devices
- Hard disks
- Floppy disks
- Zip drives
- CD-ROMs
- DVDs
32Hard Drive
- Uses EIDE (Enhanced Integrated Drive Electronics)
technology - Motherboard can accommodate up to four IDE
devices on one system - IDE provides two connectors on a motherboard for
two data cables
33Motherboard with Connectors
34A Typical System
35(No Transcript)
36Hard Drives Power Supply
37Floppy Drive Cable
38Floppy Drive Connection
39CD-ROM Drive
40Motherboard 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
41Bus Lines
42Data Bus
43System 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
44System Clock
45Bus 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)
46Bus Lines
47Types of Expansion Slots
48Interface (Expansion) Cards
- Enable CPU to connect to external device or to a
network
49Interface (Expansion) Cards
50(No Transcript)
51Full View of a Video Card
52The 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
53Electrical System
54Electrical System
55Instructions 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
56ROM BIOS Chip
57ROM BIOS Chip
58CMOS Chip
59Using Jumpers
60DIP Switches
61How 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
62Components of a CPU
- Input/output (I/O) unit
- Manages data/instructions entering/leaving CPU
- One or more arithmetic logic units (ALU)
- Does all comparisons and calculations
- Control unit
- Manages all activities inside CPU itself
63Components of a CPU
64How 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
65How the CPU Uses Memory
- CPU accesses memory by way of the data bus
66How CPU and Devices Use System Bus to Communicate
67The Address Bus
68The Control Bus
- System clock control line
- Provides timing for motherboard components
- Interrupt request (IRQ) lines
- Used by devices to get CPUs attention assigned
at startup - 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)
69Interrupt Request (IRQ) Lines
70I/O Control Lines
71Understanding 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
72(No Transcript)
73Understanding 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
74Computer Terminology
75Chapter Summary
- An introduction to the inside of the computer
- Initial insight into how hardware components of a
computer system work - How a CPU works and communicates with other
devices - Understanding binary