Lecture 1 Week 1
Download
Report
Transcript Lecture 1 Week 1
A+ Guide to Managing and
Maintaining Your PC, 7e
Chapter 1
Introducing Hardware
Objectives
• Learn that a computer requires both hardware and
software to work
• Learn about the many different hardware
components inside of and connected to a computer
A+ Guide to Managing and Maintaining Your PC, 7e
2
Hardware Needs Software to Work
• Hardware
– Computer’s physical components
• Monitor, keyboard, memory, hard drive
• Software
– Instruction set
• Directs hardware to accomplish a task
– Uses hardware for four basic functions
• Input, processing, storage, output
• Hardware components
– Require an electrical system
A+ Guide to Managing and Maintaining Your PC, 7e
3
Figure 1-1 Computer activity consists of input, processing, storage,
and output
Courtesy: Course Technology/Cengage Learning
A+ Guide to Managing and Maintaining Your PC, 7e
4
Hardware Needs Software to Work
(cont’d.)
• User interaction with computer
– User and software communicate with input device
– Hardware uses two states: on and off
Figure 1-2 All communication, storage, and processing of data inside
a computer are in binary form until presented as output to the user
Courtesy: Course Technology/Cengage Learning
A+ Guide to Managing and Maintaining Your PC, 7e
5
Hardware Needs Software to Work
(cont’d.)
• Binary number system
– Stores and reads two states
• Zero or one
– Bit: binary digit
• Value of zero or one
– Nibble: four bits
– Byte: eight bits
– Used for counting, calculation, storage operations
• American Standard Code for Information
Interchange (ASCII)
– Used for storing information
A+ Guide to Managing and Maintaining Your PC, 7e
6
Digital Computers
• Discrete elements of information are
represented in a digital system by physical
quantities called signals. Electrical signals such
as voltages and currents are most common.
Electronic devices called transistors
predominate in the circuitry that implements
these signals. The signals in most present-day
electronic digital systems use just two discrete
values and are therefore said to be binary.
Digital Computers
• The most striking property of the digital
computer is its generality. It can follow a
sequence of instructions, called a program, that
operates on given data. The user can specify
and change the program or the data according
to specific needs. As a result of this flexibility,
general-purpose digital computers can perform a
variety of information-processing tasks that
range over a very wide spectrum of applications.
The general-purpose digital computer is the best
known example of a digital system.
Digital Computers
• Characteristic of a digital system is its manipulation of
discrete elements of information. Any set that is
restricted to a finite number of elements contains
discrete information. Examples of discrete sets are the
10 decimal digits, the 26 letters of the alphabet, the 52
playing cards, and the 64 squares of a chessboard. Early
digital computers were used mostly for numeric
computations. In this case, the discrete elements used
were the digits. From such an application, the term
digital computer emerged.
Information Representation
• Since 0 and 1 are associated with the binary
number system, they are the preferred names for
the signal ranges. A binary digit is called a bit.
Information is represented in digital computers by
groups of bits.
Bits
•
•
•
•
•
•
•
•
•
Bit = Binary Digit
Binary means two (states):
1 or 0
True or False
On or Off
Yes or No
High or Low
Contrast with decimal digits:
0, 1, 2, 3, 4, 5, 6, 7, 8, 9
What can we do with truth values?
•
•
•
•
•
George Boole (1815–1864)
Indicate one of two choices
Boolean logic
e.g. Java: bool, Haskell: Bool
NOT, AND, OR and so on. . .
Characters
•
•
•
•
•
•
What can we do with a byte? Store a character!
American Standard Code for Information Interchange
ASCII (from 1963) defines 128 codes; requires 7 bits
Includes codes for mechanical teletypes, e.g. CR/LF
Being US-centric, does not include £, ß, ´e. . .
Extensions and variations:
– ISO 8859-1: Latin, Western European
– MacOS Cyrillic: Russian, Slavic languages
– Windows-1256: Arabic (limited; missing glyphs)
Digital Data Representation
• Bit: The smallest unit of data that a
binary computer can recognize (a single
1 or 0)
• Byte = 8 bits
• Byte terminology used to express
the size of documents and other
files, programs, etc.
• Prefixes are often used to express
larger quantities of bytes: kilobyte
(KB), megabyte (MB), gigabyte
(GB), etc.
Figure1: Bits and bytes
09/10/03
ACSC 170: Introduction
24
to Computers
Figure 1-3 All letters and numbers are stored in a computer
as a series of bits, each represented in the computer as on
or off
Courtesy: Course Technology/Cengage Learning
A+ Guide to Managing and Maintaining Your PC, 7e
25
PC Hardware Components
• Input/output (I/O) devices: external to the case
• Processing, storage devices: internal to the case
• Central processing unit (CPU)
– Also called: processor, microprocessor
– Reads input, processes data, writes data to storage
• Elements required by I/O, storage devices
– Method for CPU to communicate with the device
– Software to instruct, control the device
– Electricity to power the device
A+ Guide to Managing and Maintaining Your PC, 7e
26
Hardware Used for Input and Output
• I/O device communication with computer
components
– Wireless
– Cabled using a port
• Access point located in back or front of case
• Primary input devices
– Keyboard, mouse
• Requires electricity from inside case
• Primary output devices
– Monitor: visually displays primary computer output
– Printer: produces paper output (hard copy)
A+ Guide to Managing and Maintaining Your PC, 7e
27
Figure 1-4 Input/output devices connect to the computer case by
ports usually found on the back of the case
Courtesy: Course Technology/Cengage Learning
A+ Guide to Managing and Maintaining Your PC, 7e
28
Figure 1-5 The keyboard and the
mouse are the two most popular
input devices
Courtesy: Course
Technology/Cengage Learning
A+ Guide to Managing and Maintaining Your PC, 7e
Figure 1-6 The two most popular output
devices are the monitor and the printer
Courtesy: Course Technology/Cengage
Learning
29
Figure 1-7 Two video connectors and two connectors used
by a printer
Courtesy: Course Technology/Cengage Learning
A+ Guide to Managing and Maintaining Your PC, 7e
30
Hardware Inside the Computer Case
• Storage and processing occurs in the case
• Internal devices common to most computers
–
–
–
–
Motherboard containing CPU, memory, other parts
Hard drive, optical drive for permanent storage
Power supply with power cords supplying electricity
Adapter cards for internal and external
communication
– Cables to connect devices
• Adapter card installed in expansion slots
• Cable types
– Data (communication) and power
A+ Guide to Managing and Maintaining Your PC, 7e
31
Figure 1-8 Inside the computer case
Courtesy: Course Technology/Cengage Learning
A+ Guide to Managing and Maintaining Your PC, 7e
32
The Motherboard
• Largest, most important circuit board
– Main board or system board
– Contains the CPU, expansion slots, other devices
• Motherboard component categories
– Processing, temporary storage, communication, power
• All devices communicate with motherboard CPU
• Peripheral device links to motherboard via cable
• Motherboard ports may be outside of the case
– Keyboard, mouse, parallel, USB ports, sound ports
A+ Guide to Managing and Maintaining Your PC, 7e
33
Figure 1-9 All hardware components are either located on the
motherboard or directly or indirectly connected to it because they must all
communicate with the CPU
Courtesy: Course Technology/Cengage Learning
A+ Guide to Managing and Maintaining Your PC, 7e
34
Figure 1-10 A motherboard provides ports for common I/O devices
Courtesy: Course Technology/Cengage Learning
A+ Guide to Managing and Maintaining Your PC, 7e
35
Quick Quiz #1
•
•
•
•
•
•
•
•
•
1. The term ____________________ refers to the computer’s
physical components, such as the monitor, keyboard, memory
chips, and hard drive.
Answer: hardware
2. True or False: A byte consists of four bits.
Answer: False
3. A(n) ____________________ produces output often called hard
copy.
Answer: printer
4. The most important circuit board in the computer is the
____________________, also called the main board or system
board.
Answer: motherboard
5. A(n) ____________________ port is also called an IEEE 1394
port.
Answer: FireWire
The Processor and the Chipset
• CPU
– Chip inside the computer
– Performs most data processing
• Chipset
– Group of microchips controlling data flow
• Personal computer (PC)
– Focus of this text
• Major CPU, chipsets manufacturers
– Intel Corporation, AMD
A+ Guide to Managing and Maintaining Your PC, 7e
37
Figure 1-11 The processor is hidden underneath the fan and the
heat sink, which keep it cool
Courtesy: Course Technology/Cengage Learning
A+ Guide to Managing and Maintaining Your PC, 7e
38
Storage Devices
• Primary storage (main memory)
– Temporary storage used by the processor
• Secondary storage (permanent storage)
– Enables data to persist after machine turned off
– Examples: hard drive, CD, DVD, USB drive
• Primary-secondary memory relationship analogy
– Library book stacks: permanent storage
– Books moved to a desk: temporary storage
A+ Guide to Managing and Maintaining Your PC, 7e
39
Figure 1-12 Memory is a temporary place to hold
instructions and data while the CPU processes both
Courtesy: Course Technology/Cengage Learning
A+ Guide to Managing and Maintaining Your PC, 7e
40
Primary Storage
• Provided by random access memory (RAM)
– Located on motherboard, adapter cards
• RAM chips
–
–
–
–
Embedded on small board
Plugs into motherboard
Most common: dual inline memory module (DIMM)
Video memory: embedded on video card
• Volatile memory
• Non-volatile memory
A+ Guide to Managing and Maintaining Your PC, 7e
41
Figure 1-13 A DIMM holds RAM and is mounted directly
on a motherboard
Courtesy: Course Technology/Cengage Learning
A+ Guide to Managing and Maintaining Your PC, 7e
42
Secondary Storage
• Remote storage locations containing data and
instructions
– Cannot be directly processed by CPU
– Permanent
• Hard drives
– Main secondary computer storage device
– Magnetic hard drives
• Use Integrated Drive Electronics (IDE)
– Solid state drive (SSD)
• Use nonvolatile flash memory
A+ Guide to Managing and Maintaining Your PC, 7e
43
Figure 1-15 Hard drive with sealed
cover removed
Courtesy: Seagate Technologies LLC
Figure 1-16 Four SSD drives
Courtesy: Course Technology/Cengage
Learning
A+ Guide to Managing and Maintaining Your PC, 7e
44
Secondary Storage (cont’d.)
• Hard drives (cont’d.)
– ATA (AT Attachment) standard
• Specifies motherboard-hard drive interface
• Types: serial ATA (SATA), parallel ATA (PATA)
– Serial ATA standard
• External SATA (eSATA)
• Usually two to eight SATA and eSATA connectors
– Parallel ATA (PATA)
• Slower than SATA
• Two connectors on a motherboard for two data cables
• Accommodates up to four IDE devices
A+ Guide to Managing and Maintaining Your PC, 7e
45
Figure 1-18 Using a parallel ATA interface, a motherboard has two IDE
connectors, each of which can accommodate two devices; a hard drive
usually connects to the motherboard using the primary IDE connector
Courtesy: Course Technology/Cengage Learning
A+ Guide to Managing and Maintaining Your PC, 7e
46
Figure 1-19 Two IDE devices connected to a motherboard using both IDE
connections and two cables
Courtesy: Course Technology/Cengage Learning
A+ Guide to Managing and Maintaining Your PC, 7e
47
Figure 1-20 This system has a CD-ROM and a Zip drive sharing
the secondary IDE cable and a hard drive using the primary IDE cable
Courtesy: Course Technology/Cengage Learning
A+ Guide to Managing and Maintaining Your PC, 7e
48
Secondary Storage (cont’d.)
• Optical drives
– RW can write to a disk
– ROM (read-only memory) can only read a disc
Figure 1-22 This CD drive is an EIDE device and connects to the
motherboard by way of an IDE data cable
Courtesy: Course Technology/Cengage Learning
A+ Guide to Managing and Maintaining Your PC, 7e
49
Secondary Storage (cont’d.)
• USB flash drives and memory cards
– Popular, nonvolatile flash memory chips
– Compact; easy to use; currently hold up to 64 GB of
data
Figure 1-24 Most laptops have a memory card slot
that can accommodate an SD card
Courtesy: Course Technology/Cengage Learning
A+ Guide to Managing and Maintaining Your PC, 7e
50
Secondary Storage (cont’d.)
• Floppy drive
– Older secondary storage device
– 3.5-inch disk holding 1.44 MB of data
– Floppy drive connector
• Distinct from IDE connectors
• Floppy drive cable accommodates one or two drives
A+ Guide to Managing and Maintaining Your PC, 7e
51
Motherboard Components Used For
Communication Among Devices
• Traces
– Fine lines on top and bottom of the motherboard’s
surface
• Bus
– System of pathways, transmission protocols
• Data bus
– Carries the data
A+ Guide to Managing and Maintaining Your PC, 7e
52
Figure 1-27 On the bottom of the motherboard, you can
see bus lines terminating at the CPU socket
Courtesy: Course Technology/Cengage Learning
A+ Guide to Managing and Maintaining Your PC, 7e
53
Motherboard Components Used For
Communication Among Devices
(cont’d.)
• Binary data corresponds to voltage on the line
– Voltage, lack of voltage interpreted as binary digits
• Data bus sizes today
– 16, 32, 64, 128, 256 bits wide
– Some use error checking bit
Figure 1-28 A data bus has traces or lines that carry voltage interpreted by the CPU
and other devices as bits Courtesy: Course Technology/Cengage Learning
A+ Guide to Managing and Maintaining Your PC, 7e
54
Motherboard Components Used For
Communication Among Devices
(cont’d.)
• Data path size
– Width of a data bus
• Motherboard can have more than one bus
– Main motherboard bus
• Communicates with CPU, memory, chipset
• Also called system bus, front side bus (FSB), memory
bus, host bus, local bus, external bus
• System clock
– Dedicated to timing motherboard chip activities
– Quartz crystal generates oscillation
A+ Guide to Managing and Maintaining Your PC, 7e
55
Figure 1-29 The system clock is a pulsating electrical signal sent out by this
component that works much like a crystal in a wristwatch (one line, or circuit, on
the motherboard bus is dedicated to carrying this pulse)
Courtesy: Course Technology/Cengage Learning
A+ Guide to Managing and Maintaining Your PC, 7e
56
Motherboard Components Used For
Communication Among Devices
(cont’d.)
• Devices work according to beats (or cycles)
• Clock speed measured in hertz (cycles/second)
– One megahertz (MHz): one million cycles per second
– One gigahertz (GHz): one billion cycles per second
• Common ratings for motherboard buses
– 2600 MHz, 2000 MHz, 1600 MHz, 1333 MHz, 1066
MHz, 800 MHz, 533 MHz, or 400 MHz
• Range of CPU speeds: 166 MHz to 4 GHz
• Buses for expansion slots: PCI, AGP, ISA
A+ Guide to Managing and Maintaining Your PC, 7e
57
Figure 1-30 The lines of a bus terminate at an expansion slot where they
connect to pins that connect to lines on the expansion card inserted in the
slot
Courtesy: Course Technology/Cengage Learning
A+ Guide to Managing and Maintaining Your PC, 7e
58
Figure 1-31 The one AGP slot used for a video card is set farther from
the edge of the board than the PCI slots
Courtesy: Course Technology/Cengage Learning
A+ Guide to Managing and Maintaining Your PC, 7e
59
Expansion Cards
• Some names for circuits mounted in expansion slots
– Circuit cards, adapter boards, expansion cards, cards
• Cards that connect the CPU to an external device
–
–
–
–
Video: provides a port for the monitor
Sound: provides ports for speakers and microphones
Network: provides a port for a network cable
Modem: provides ports for phone lines
• Determine a card’s function by identifying its port
A+ Guide to Managing and Maintaining Your PC, 7e
60
Figure 1-32 This adapter card is a modem card and is
mounted in a PCI slot on the motherboard
Courtesy: Course Technology/Cengage Learning
A+ Guide to Managing and Maintaining Your PC, 7e
61
Figure 1-34 The easiest way to identify this video card is to look at the ports on the
end of the card
Courtesy: Course Technology/Cengage Learning
A+ Guide to Managing and Maintaining Your PC, 7e
62
The Electrical System
• Power supply
–
–
–
–
Most important electrical component
Converts AC voltage external source to DC voltage
Reduces voltage from 110-120 volts to 12 volts or less
Runs a fan to cool the inside of the computer case
• Temperatures > 185° F can cause component failure
• Motherboard has 1 or 2 connections to power supply
A+ Guide to Managing and Maintaining Your PC, 7e
63
Figure 1-36 The motherboard receives its power
from the power supply by way of a 20 or 24-pin
connector called the P1 connector
Courtesy: Course Technology/Cengage Learning
A+ Guide to Managing and Maintaining Your PC, 7e
64
Instructions Stored on the Motherboard
and Other Boards
• BIOS (basic input/output system)
– Data and instructions stored on ROM chips
– ROM BIOS chips: type of firmware
• Three purposes served by motherboard ROM BIOS
– System BIOS: manages simple devices
– Startup BIOS: starts the computer
– CMOS setup: changes motherboard settings
• CMOS RAM: includes date, time, port configurations
• Flash ROM
– ROM chips that can be overwritten
A+ Guide to Managing and Maintaining Your PC, 7e
65
Figure 1-37 This firmware chip contains flash ROM and CMOS RAM; CMOS
RAM is powered by the coin battery located near the chip
Courtesy: Course Technology/Cengage Learning
A+ Guide to Managing and Maintaining Your PC, 7e
66
Quick Quiz #2
•
•
•
•
•
•
•
•
•
•
1.The system of pathways used for communication and the
protocol and methods used for transmission are collectively called
the ____________________.
Answer: bus
2. The width of a data bus is called the data
____________________ size.
Answer: path
3. True or False: A motherboard can have several buses.
Answer: TRUE
4. True or False: The most important component of the computer’s
electrical system is the power supply.
Answer: True
5. The BIOS that is used to change some settings on the
motherboard is called ____________________ setup.
Answer: CMOS
Summary
• A computer comprises hardware and software
• Main functions
– Input, output, processing, storage
• Data stored in a binary format (one or zero, on or off)
• Input/output devices
– Keyboard, mouse, printer, monitor
• Motherboard (system board)
– Contains CPU, access to other circuit boards,
peripherals
A+ Guide to Managing and Maintaining Your PC, 7e
68
Summary (cont’d.)
• Primary storage (RAM): volatile
• Secondary storage: nonvolatile
• Parallel and serial ATA standards
– Enable secondary storage devices to interface with the
motherboard
• Computer bus
– System of communication pathways, protocols
• ROM BIOS
– Helps start PCs; manages simple devices; changes
some motherboard settings
A+ Guide to Managing and Maintaining Your PC, 7e
69
Quick Quiz #2
•
•
•
•
1.The system of pathways used for communication and the
protocol and methods used for transmission are collectively called
the ____________________.
2. The width of a data bus is called the data
____________________ size.
3. True or False: A motherboard can have several buses.
4. True or False: The most important component of the computer’s
electrical system is the power supply.