SISTEM KOMPUTER:
HARDWARE DAN SOFTWARE
Presented by: Ir. Suryani Alifah, MT, PhD
Klasifikasi Komputer dan Sistem
Komputer
• Komputer diklasifikasikan ke dalam dua jenis:
– Special-purpose computer
– General-purpose computer
• Special-Purpose Computer
– Merupakan computer yang didesain untuk fungsi
khusus.
– Misal untuk pengontrolan pada:
• microwave oven
• Mesin cuci
• Peralatan diagnosis medis
• General-Purpose Computer
– Yakni computer dimana pengguna dapat
menggunakannya untuk berbagai macam fungsi
yang dapat diubah-ubah
– Terdesia dalam berbagai ukuran maupun
kapabilitas
– Dapat diklasifikasikan sbb:
• 1. Microcomputers
a. Laptop computers
b. Desktop computers
c. Workstations
• 2. Minicomputers
• 3. Mainframe computers
• 4. Supercomputers
Microcomputer
• Ukuran Minicomputers
• Kompleksitas Microcomputer
Palmtop Computer
Calculator
Buses
Central Processing Primary Storage
Unit (CPU)
Perangkat Output
Output device
Perangkat Input
Perangkat Input
Komponen2 pada Unit Sistem
power supply drive bays
processor
Processor
Memory
Adapter cards
Sound card
Video card
Ports ports
Drive bays memory
Power supply
01000001 A
01001100 L
01001001 I
01000011 C
01000101 E
• Untuk merepresentasikan bilangan 0
sampai 9, huruf a sp z A dan Z,
diperlukan standar pengkodean
Step 4. Step 3.
After processing, the binary The signal for the capital letter D
code for the capital letter D is is converted to its ASCII binary
converted to an image, and code (01000100) and is stored in
displayed on the output device. memory for processing.
Memindahkan Informasi pada Komputer
– Informasi dipindahkan dalam byte atau multiple
byte yang disebut word
• Word merupakan unit dasar informasi
• Jumlah bit per word bervariasi sesuai dengan
komputernya
• Misal panjang word untuk computer IBM 32 bit dan 64 bit
3-21
Memindahkan Informasi pada Komputer
Bit yang membentuk suatu word
dipindahkan secara parallel dari
satu tempat ke tempat lainnya
Ribbon cables:
• Terdiri dari beberapa several
wires, digabungkan
• Satu wire untuk satu bit
• Wires untuk
mengkoordinasikan
perpindahan informasi
• Setiap wire mengirim informasi
dalam bentu tegangan voltage
pulse.
3-22
Memindahkan Informasi pada Komputer
3-23
Prosessor
Prosessor merupakan “otak" dari sistem computer
Prosessor Utama disebut Central Processing Unit
(CPU).
Co-processors membantu CPU dengan beberapa
fungsi pemrosesan. Misalnya:
Math co-processors menangani pemrosesan
matematika yang berat
Graphics coprocessors mempercepat tampilan
grafik ke layar monitor
Interaksi Komponen
CPU mengontrol seluruh sumber daya lainnya di dalam
sistem computer untuk menyelesaikan suatu pekerjaan
Komponen CPU
Instructions
Data
Information
Input Output
Devices
Data Memory Information
Devices
Instructions
Data
Information
Storage
Devices
Central Processing Unit (CPU)
Mengkoordinasikan
Control Unit tahap-tahap
pemrosesan
Area penyimpanan
Registers yang cepat dan
kecil untuk instruksi
dan data
Siklus Mesin pada Processor
Empat operasi pada CPU yang membentuk satu
siklus mesin/ 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
CPU dan Primary Storage
Central Processing Unit (CPU) Primary Storage
Data Bus
Address Bus
Control Bus
Jenis Bus pada CPU
– Data bus
• Melewatkan informasi dalam dua arah/bi-
directional.
– Address bus
• Mengirim sinyal untuk mencari alamat pada
memori utama dimana data harus disimpan
– Control bus
• Mengirim sinyal untuk menulis/membaca
data ke dan dari memori utana, perangkat
input maupun output
Arithmetic-Logic Unit dan
Control Unit
• Arithmetic logic unit (ALU) dan control
unit merupakan inti dari CPU
• ALU melaksanakan operasi-operasi logika
maupun aritmatika
• Menambah, mengurang, mengali dan
membagi dan menentukan apakah suatu
bilangan positif, negative atau nol
• 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.
Register
Up to 2.4 GHz
Dynamic
Faster and
Must be RAM more reliable
re-energized than DRAM
constantly
(DRAM)
chips
appears disappears
Track
Sector
is narrow
recording band stores up
that forms full to
circle on disk 512 bytes
of data
Formatting prepares disk for use and marks bad sectors as unusable
Magnetic Disks
• How does a hard disk work?
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
disc sectors
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
Cannot erase
disc’s contents
CD-RW (compact disc-rewritable)
— erasable disc you can write on
ce
multiple times
Must have
CD-RW software
and CD-RW drive
Optical Discs
•What is a DVD-ROM (digital
versatile disc-ROM or digital
video disc-ROM)?
High capacity disc capable of
storing 4.7 GB to 17 GB
Must have DVD-ROM drive or
DVD player to read DVD-ROM
Stores databases, music,
complex software, and movies
Optical Discs
• How does a DVD-ROM store data?
Two layers of pits are used, lower layer is
semitransparent so laser can read through
Some are double-sided
Blu-Ray discs currently have a storage capacity of
up to 27 GB
Magnetic Tape
• What is a PC Card?
Adds capabilities to computer
Credit-card-sized device commonly
used in notebook computers
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
Input Devices
• Type of Access
• Sequential - Obtained by proceeding through the
storage medium from the beginning until the
designated area is reached (as in magnetic tape).
• Random Access - Direct access (as in floppy and
hard disks).
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 is a touch
screen?
Often used with kiosks
Touch areas of screen with
finger
Keyboard and Pointing
Devices
• What is a stylus and a digital pen?
Looks like a ballpoint pen, but uses pressure to write
text and draw lines
Used with graphics tablets, flat electronic boards
Voice Input
• How does voice recognition work?
Step 1. A user dictates text into a microphone. Step 2. An analog-to-digital converter (ADC) translates
sound waves into digital measurements computer can
process. Measurements include pitch, volume, silences, and
phonemes. Phonemes are sound units such as aw and guh.
10010111010110101100001101
• What is a scanner?
Light-sensing device that
Pen or
reads printed text and Handheld
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?
Device that uses light source to read characters, marks,
and codes and then converts them into digital data
Optical character recognition
(OCR) reads characters in
OCR font
Optical mark recognition
(OMR) reads hand-drawn pencil
marks, such as small circles
Scanners and Reading
Devices
• What is a bar code reader?
Uses laser beams to read bar codes
Scanners and Reading
Devices
What is a magnetic-ink character recognition
(MICR) reader?
Can read text printed with magnetized ink
Banking industry almost exclusively uses MICR
for check processing
Biometric Input
• What is biometrics?
Authenticates person’s identity
by verifying personal
characteristic
Fingerprint scanner captures
curves and indentations of
fingerprint
Hand geometry system measures
shape and size of person’s hand
Biometric Input
• What are examples of biometric technology?
Voice verification system compares live
speech with stored voice pattern
Signature verification system recognizes
shape of signature
Iris recognition system reads
patterns in blood vessels in back
of eye
Biometric data is sometimes stored
on smart card, which stores
personal data on microprocessor
embedded in card
What is Output?
• What is output?
Data that has been processed into a useful form,
Output device is any hardware component that can convey
information to user
• What is a display
device?
Output device that visually conveys information
Information on display device sometimes
called soft copy
Monitor houses display device as separate
peripheral
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
video data to an analog signal.
Printers
portrait
• What is a printer?
Output device that
produces text and
graphics on paper
Result is hard copy, or
printout
Two orientations: portrait
and landscape
landscape
Speakers and Headsets
• What is an audio output device?
Computer component that produces music, speech, or
other sounds
Speakers and headsets are common devices
Speakers and Headsets
• What is voice output?
Computer talks to you through speakers on computer
Internet telephony allows you to have conversation
over Web
Output Devices
• Storage Requirements: How much storage
capacity is needed for…
– One keystroke on a keyboard. 1 byte (8 bits)
– One page single-spaced document. 4.0 K
– Nineteen pages formatted text. 75 K
– One second of high-fidelity sound. 95-110 K
– Complete word processing program. 8.4 MG
• Application Software
– Refers to programs that are developed to
solve some specific problems.
– 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
• System Software
– Refers to programs that make the computer
usable and accessible to the developers
and programmers of applications software.
– Examples of system software:
– Operating systems
– Language translator
– Linker
– Loader
– Preprocessors
How Programs Are Run
• The operating system presents an interface to the user
(e.g. Windows Desktop)
• The user double clicks on an icon to run a program (e.g.
Microsoft Word)
– The operating system copies the program (or at least the first part
of it) from the hard disk into main memory
– The CPU runs the instructions in the program, and presents the
initial Word screen
• Within Word, the user uses the menu to open a document
– The application software (Word) asks the Operating System to
open the file.
– The Operating System communicates with the hardware to open
the file on the hard disk.
User view of Computer Systems
Applications
e.g. Word, Netscape, etc
Operating System –
- the user interface
Software that
controls the
hardware devices
Program Instructions
Programs instructions are stored in secondary storage
(hard disks, CD-ROM, DVD).
To process data, the CPU requires a working area
Uses Main Memory
Also called: RAM (random access memory),
primary storage, and internal memory.
Before a program is run, instructions must first be copied
from the slow secondary storage into fast main memory
Provides the CPU with fast access to instructions to
execute.
Instructions