CSC 101 - LECTURE 2 - Component - of - Computers - Hardware - Software
CSC 101 - LECTURE 2 - Component - of - Computers - Hardware - Software
Processor
power supply drive bays
Memory
Adapter cards
Sound card processor
Video card
Ports ports memory
Drive bays
Power supply
sound card
video card
The System Unit
What is the motherboard?
Main circuit
board in system
unit
Contains adapter
cards, processor
chips, and
memory chips
Also called
system board
The CPU
– manipulates raw data into more useful form and controls
the other parts of the computer system.
Primary storage
– temporarily stores data and program instructions during
processing.
Secondary storage
– devices store data and programs when they are not being
used in processing.
Input devices
– convert data and instructions into electronic form for input
into the computer.
Output devices
– convert electronic data produced by the computer system
and display them in a form that people can understand.
Communication devices
– provide connections between the computer and
communications networks.
Buses
– are circuitry paths for transmitting data and signals
among the parts of the computer system.
The CPU and Primary Storage
The CPU is the part of the computer system where
the manipulation of symbols, numbers, and letters
occurs, and it controls the other parts of the
computer system.
The CPU
Processor
What is the central processing unit (CPU)?
computer
Arithmetic logic unit
Input Output
Devices
Data Memory Information
Devices
(ALU) performs
arithmetic, comparison,
Instructions
and logical operations Data
Information
Also called the processor
Storage
Devices
Processor
What is a machine cycle?
Four operations of the CPU comprise a machine cycle
Step 1. Fetch
Obtain program instruction
or data item from memory
Memory
Step 2.
Step 4. Store Decode
Write result to memory Translate
instruction into
Processor commands
ALU Control Unit
Step 3. Execute
Carry out command
The CPU and Primary Storage
Central Processing Unit (CPU) Primary Storage
Data Bus
Address
Bus
Control
Bus
Three kinds of busses linked between the CPU,
primary storage and the other devices in the
computer system:
– Data bus
• Pass information in bi-directional.
– Address bus
• Transmits signals for locating a given address in primary
storage, indicating where data should be placed.
– Control bus
• Transmits signal specifying whether to read or write data to or
from primary storage address, input device or output device.
The characteristics of the CPU and primary
storage are very important in determining a
computer’s speed and capabilities
The Arithmetic-Logic Unit and
Control Unit
An arithmetic logic unit (ALU) and control unit
is one of the core components of all central
processing units.
The ALU performs the computer’s principal
logical and arithmetic operations.
It adds, subtracts, multiples, and divides,
determining whether a number is positive,
negative, or zero.
ALU must be able to determine when one quantity
is greater than or less than another and when two
quantities are equal.
The control unit coordinates and controls the other
parts of the computer system.
It reads a stored program, one instruction at a time
and directs other components of the computer
system to perform the program’s required tasks.
Processor
Which processor should you select?
The faster the processor, the more expensive the computer
Intel Processor Desired Clock Speed
Up to 2.4 GHz
Do not have to
Most
be re-energized
common
as often as
type
DRAM
Static
RAM
Dynamic Faster and
Must be (SRAM)
RAM more reliable
re-energized (DRAM) than DRAM
constantly
chips
– High-capacity storage
– Consists of several
inflexible, circular
platters that store items
electronically
– Components enclosed in
airtight, sealed case for
protection
Magnetic Disks
What are tracks and
sectors?
Track Sector
is narrow stores up to
recording 512 bytes
band of data
that forms
full
circle on
disk
Step 3.
When software requests a
disk access, read/write
heads determine current
Step 2. or new location of data.
Small motor spins
platters while
computer is running.
Step 4.
Head actuator positions
read/write head arms over
Step 1. correct location on platters
Circuit board controls to read or write data.
movement of head actuator
and a small motor.
Optical Disk
disc label
Typically stored in
single track
Track divided
into evenly
sized sectors
that store
items
single track
spirals to edge
of disc
disc sectors
WORM (write once/read memory) or CD-R
(compact disk-recordable) optical disk systems
allow users to record data only once on an optical
disk.
New CD-RW (CD-Rewritable) technology has
been developed to allow users to create rewritable
optical disks.
Digital-video disks (DVDs) also called digital
versatile disks are optical disks the same size as
CD-ROMs but of even higher capacity (minimum
of 4.7 gigabytes of data).
Optical Discs
What is a CD-ROM?
Compact disc read-only memory
Cannot erase or modify contents
Typically holds 650 MB to 1 GB
Commonly used to distribute multimedia and complex software
Optical Discs
What are CD-Rs and CD-RWs?
Must have
CD recorder
or CD-R drive
CD-R (compact disc-recordable)
— disc you can write on once
c
Cannot erase
disc’s contents
CD-RW (compact disc-rewritable)
— erasable disc you can write on
ce
What is a PC Card?
Adds capabilities to computer
Credit-card-sized device commonly
used in notebook computers
Input and Output Devices
Input devices
– Input devices gather data and convert them into electronic
form for use by the computer.
– Keyboard
• The principal method of data entry for entering text and numerical
data into a computer
– Pointing Devices
• A computer mouse is handheld device with point-and-click
capabilities that is usually connected to the computer by a cable.
• Touch screens allows users to enter limited amounts of data by
touching the surface of a sensitized video display monitor with
finger or a pointer.
Source Data Automation
– Captures data in computer-readable form at the time
and place they are created.
– Optical Character Recognition (OCR) devices
translate specially designed mark, characters, and codes
into digital form.
– Magnetic ink character recognition (MICR)
technology is used primarily in check processing for the
banking industry, which the bottom of typical check
contains characters identifying the bank, checking
account, and check number that are preprinted using a
special magnetic ink.
– A MICR reader translates these characters into digital form
for the computer.
– Handwriting-recognition devices such as pen-based
tablets, notebooks, and notepad are promising new input
technologies.
– These pen-based input devices convert the motion made by
an electronic stylus pressing on a touch-sensitive tablet
screen into digital form.
– Digital scanners translate image such as pictures or
documents into digital form.
– Voice input devices convert spoken words into digital form
for processing by the computer.
– Sensors are devices collect data directly from the
environment for input into a computer system.
What Is Input?
What is input?
Data or instructions entered into memory of computer
Input device is any hardware component that
allows users to enter data and instructions
What Is Input?
What are the two types of input?
Data
Unprocessed text,
numbers, images,
audio, and video
Instructions
Programs
Commands
User responses
The Keyboard
How is the keyboard
divided?
Typing area
Numeric keypad
Function keys, special
keys that issue
commands
Pointing Devices
What is a mouse?
Pointing device that fits under palm of hand
Pointing device controls mouse buttons
wheel
movement of pointer, also button
called mouse pointer
Mechanical mouse
ball
has rubber or metal
ball on underside
mouse pad
Other Pointing Devices
What is a trackball?
Stationary pointing device
with a ball on its top or side
To move pointer, rotate ball
with thumb, fingers, or palm
of hand
Other Pointing Devices
What are a touchpad and a
pointing stick?
Joystick is vertical
lever mounted
on a base
Wheel is
steering-wheel-type
input device
Pedal simulates
car brakes and
accelerator
Other Pointing Devices
What is a light pen?
Handheld input device
that can detect light
Press light pen against
screen surface and then
press button on pen
Other Pointing Devices
What is a touch screen?
10010111010110101100001101
What is a scanner?
graphics
Used for image processing,
converting paper documents Sheet-fed
Drum
Scanners and Reading Devices
How does a flatbed
scanner work?
Step 1. Document to be scanned is
placed face down on the glass window.
Step 2. Bright light moves underneath
scanned document.
Step 3. Image of the document is
reflected into a series of mirrors.
Step 4. Light is
converted to analog
electrical current that
is converted to
digital signal by an
analog-to-digital
Step 6. Users can print image,
converter (ADC).
e-mail it, include it in a document,
or place it on a Web page.
Step 5. Digital information is sent to
memory in the computer to be used by
illustration, desktop publishing, or
other software; or it is stored on disk.
Scanners and Reading Devices
What is an optical reader?
p. 302
CRT Monitors
What is a CRT monitor?
Contains cathode-ray
tube (CRT)
Screen coated with tiny
dots of phosphor material
Each dot consists of a red,
blue, and green phosphor
Common sizes are 15, 17,
19, 21, and 22 inches
Viewable size is diagonal
measurement of actual
viewing area
CRT Monitors
How does video travel from the processor to a CRT
monitor?
Video card (also called a graphics card) converts digital
output from computer into analog video signal
Step 5. Electron guns
Step 1. The fire the three color signals
processor sends Step 3. The to the front of the CRT.
digital video data analog signal is
to the video card. sent through a
cable to the CRT Step 4. The
monitor. CRT monitor
separates the
analog signal
into red, green,
and blue signals.
Step 6. An image is
displayed on the screen when
the electrons hit phosphor
Step 2. The video card’s dots on the back of the screen.
digital-to-analog converter
(DAC) converts the digital
Printers
What is a printer? portrait
IBM OS/2
Macintosh OS
SCO Unix
Linux
Other Proprietary OS
4. 99
Application Software
– programs that are developed to solve some specific
problems.
– A set of instructions designed to perform a specific task
such as word processing, accounting, cataloguing, library
management, animation, etc.
– There are two types of application software:
– application program to solve special classes of problems
– Application programs that you can write to solve your own
problems.
– Examples of application software:
– word processing
– database programs
– spreadsheets
– graphic programs
General purpose office software
Word processing: Example, MS Word
Spreadsheets: Example, Excel
Database management systems: Example,
MS Access, Oracle
Presentation/Graphics: Example, Power
Point, Corel
4. 101
special purpose software