Académique Documents
Professionnel Documents
Culture Documents
2
COMPUTERS IN YOUR FUTURE 2009
Lesson 1
What You Will Learn Chapter 2
Inside the System Unit
NEXT
Department of Computer Science 3
SLIDE
Describing Hardware Performance
OFF ON
OR = 1 bit
0 1
= 1 Byte
OR 0 0 1 1 0 1 0 0
= 1 Byte
0 1 0 0 0 0 0 1
NEXT
Department of Computer Science 4
SLIDE
Millions, Billions, and More
8 bits = 1 Byte
1024 Bytes = 1 Kilobyte (KB)
1,048,576 Bytes = 1 Megabyte (MB)
1,043,741,824 Bytes = 1 Gigabyte (GB)
1,099,511,627,776 Bytes = 1 Terabyte (TB)
NEXT
Department of Computer Science 5
SLIDE
Millions, Billions, and More
NEXT
Department of Computer Science 6
SLIDE
The System Unit
Personal Digital
Assistant
NEXT
Department of Computer Science 8
SLIDE
Inside the System Unit
NEXT
Department of Computer Science I SLIDE
9
The Motherboard
Click on terms to
Microprocessor view larger images
Keyboard / and information
Mouse Ports
Video Port
AGP Slot
NEXT
Department of Computer Science I SLIDE
11
CPUs at Work
Control Unit– Manages four basic operations (fetch,
decode, execute, and write-back).
The machine cycle or processing cycle:
• Instruction Cycle
Fetch- Gets next program instruction from the
computer’s memory.
Decode- Figures out what the program is telling the
computer to do.
• Execution Cycle
Execute- Performs the requested action.
Write-back (Store)- Writes (stores) the results to a
register or to memory.
Arithmetic-Logic Unit (ALU)– Performs basic
arithmetic or logic operations.
Adds, subtracts, multiplies, and divides
Compares data to determine which one is larger or smaller.
NEXT
Department of Computer Science I SLIDE
12
The Processing Cycle Click to
animate.
Click one
time only
Memory
NEXT
Department of Computer Science 13
SLIDE
Microprocessor Performance
Data bus width– The number of pathways within the CPU that
transfer data (8, 16, 32, or 64)
Word size– The maximum number of bits of data that the CPU
can process at a time (8 bits, 16 bits, 32 bits, or 64 bits)
Operations per cycle (clock speed)– The number of clock
cycles per second measured in Megahertz (MHz) or Gigahertz
(GHz).
Superscalar– Carrying out more than one instruction per
clock cycle.
Pipelining– Feeding a new instruction into the CPU at every
step of the processing cycle.
NEXT
Department of Computer Science 14
SLIDE
Parallel Processing
NEXT
Department of Computer Science 15
SLIDE
Popular CPUs
Intel Advanced
Micro Devices
Pentium IV
Pentium III (AMD)
Pentium MMX
NEXT
Department of Computer Science 16
SLIDE
Memory
Flash
RAM ROM
NEXT
Department of Computer Science 17
SLIDE
Memory Modules
Memory modules are narrow printed circuit boards
that hold memory chips.
Three types of modules:
Single Inline Memory Module (SIMM)– 30- or 72-pin
connectors. Available in 1 MB, 4 MB, 16 MB, and 32 MB
versions.
Dual Inline Memory Module (DIMM)– 168- or 184-pin
connector. Available in 8 MB, 16 MB, 32 MB, 64 MB, 128 MB,
256 MB, and 512 MB versions.
Rambus Inline Memory Module (RIMM)–Look like DIMMs
but are not interchangeable with DIMMs.
NEXT
Department of Computer Science I SLIDE
18
Memory Modules
DIMM
RIMM
NOTEBOOK
DIMM
SIMM
NEXT
Department of Computer Science 19
SLIDE
Memory Categories
Volatile memory– Contents of memory are erased
when power supply is turned off. It is temporary
storage.
RAM– Random access memory holds data in locations
called memory addresses.
Cache memory– Memory that the processor uses to store
frequently used instructions and data.
Virtual memory– The computer uses the hard disk as an
extension of RAM.
NEXT
Department of Computer Science 20
SLIDE
Random Access Memory / RAM
NEXT
Department of Computer Science 21
SLIDE
Types of RAM
NEXT
Department of Computer Science I SLIDE
22
HOW RAM WORKS
CLICK TO BEGIN
MONITOR WEB
ANIMATION
KEYBOARD RAM
CPU
NEXT
Department
Department
of Computer
of Computer
Science
Science 23
SLIDE
Virtual Memory
FULL
NEXT
Department of Computer Science 24
SLIDE
BIOS and CMOS
BIOS– Basic input/output system is stored in ROM.
Its instructions provide the boot sequence when starting the
computer.
The boot sequence includes:
• POST– Power-on self-test checks memory and configures
video and other hardware.
• Locating the disk drive with the boot sector which contains the
operating system.
NEXT
Department of Computer Science 25
SLIDE
Cache Memory
Primary cache (Level 1 or L1)– Located within the
CPU chip, it is the memory the microprocessor uses
to store frequently used instructions and data.
Secondary cache (Level 2 or L2; Backside Cache)–
Located near the CPU, it is the memory between the
CPU and RAM.
It is faster than RAM.
NEXT
Department of Computer Science 26
SLIDE
Chipset
NEXT
Department of Computer Science 27
SLIDE
Input/Output (I/O) Buses
Expansion slots
Expansion card
NEXT
Department of Computer Science 28
SLIDE
Types of I/O Buses
Drive bays
On/off switch
Reset button
BACK
Indicator lights
FRONT
Power switch– Is located on the back. It turns power on/off to the
computer.
Receptacles– Also called connectors or ports, are located on the back to
plug in peripheral devices, keyboard, mouse, and monitor.
Front panel– Contains drive bays, various buttons, and lights.
NEXT
Department of Computer Science 30
SLIDE
Types of Ports
Click on a port below to view information about it.
Click again to remove the text.
Sound
PS/2
Universal
Serial
Parallel
VGA
Game port
connector–
port–
card
port–
(mouse
(keyboard
Serial
Data
connectors–
A Data
connector
Bus
Aflows
port)–
flows
15
port)–
(USB)–
pin
inSpecial
through
for
Also
aconnector
Special
series
high
Allows
called
serial
eight
speed
of
serial
up
used
pulses,
jacks,
port
to
wires
access
port
127
for
to
they
one
allowing
monitors
connect
to
devices
for
connect
accept
after
graphics-
another
to
the
mouse.
stereo
be
transfer
one
keyboard.
connected
bit
of
intensive
mini-plugs.
eight
at a time;
bits
interaction.
at
Microphone,
of
slow
a data
time.
data
simultaneously;
transfer
line-in,rate.
line-out,
faster
andthan
speaker
serial connectors
ports.
are used.
NEXT
Department of Computer Science 31
SLIDE
The difference between serial and parallel ports
SERIAL PARALLEL
NEXT
Department of Computer Science 32
SLIDE
How a Computer Represents Data
Analog Digital
OFF
ON
NEXT
Department of Computer Science 33
SLIDE
Character Codes
Numerical data, that computers use;
translated into characters readable by
humans.
American Standard Code for Information
Interchange (ASCII)– Eight bits; used by
minicomputers and personal computers
Extended Binary Coded Decimal Interchange
Code (EBCDIC)– Eight bits; used by
mainframe computers
Unicode– Uses 16 bits; over 65,000
combinations
=4
0 0 1 1 0 1 0 0
=A
0 1 0 0 0 0 0 1
NEXT
Department of Computer Science 34
SLIDE
Microprocessor (CPU)- Central processing
unit interprets and carries out instructions
given by software.
CPU socket
CPU
RAM slots
RAM module
NEXT 39
Department of Computer Science
SLIDE
Lesson 1 Summary contd…
7.7. There
Thereare
arevarious
varioustypes
typesofofRAM.
RAM.They
Theyinclude
includedynamic
dynamicRAM
RAM
(DRAM),
(DRAM),synchronous
synchronousDRAM
DRAM(SDRAM),
(SDRAM),Rambus
RambusDRAM
DRAM
(RDRAM), and double data rate (DDR)SDRAM.
(RDRAM), and double data rate (DDR)SDRAM.
8.8. Peripheral
Peripheraldevices
devicesconnect
connecttotothe
thecomputer
computeron
onthe
theoutside
outside
ofofthe
thecase.
case.
9.9. Computers
Computershave
haveports
portssuch
suchasasserial
serialports,
ports,parallel
parallelports,
ports,
SCSI
SCSIports,
ports,USB
USBports,
ports,FireWire
FireWireports,
ports,and
andIrDA
IrDAports
portstoto
connect
connectinput/output
input/outputdevices.
devices.
10.
10.Analog
Analogcomputers
computersmeasure
measureand
anddigital
digitalcomputers
computerscount.
count.
NEXT 40
Department of Computer Science
SLIDE
We are done!!