Professional Documents
Culture Documents
02 - Unit 2 (Hardware)
02 - Unit 2 (Hardware)
02 - Unit 2 (Hardware)
Hardware
- The System Unit: Processing and Memory
- Storage
- Input and Output
The System Unit:
Processing and Memory
101 CSC - 3
Unit 2 3
Digital Data Representation
• Bit: The smallest unit of data that a binary computer can
recognize (a single 1 or 0)
• Byte = 8 bits
• Kilobyte (KB)
• Megabyte (MB)
• Gigabyte (GB)
• Terabyte (TB)
• Petabyte (PB)
• Exabyte (EB)
• Zettabyte (ZB)
• Yottabyte (YB)
Chapter
Unit 2 2 4
Data Types
Unit 2 5
Coding Systems for Text-Based Data
• ASCII (American Standard Code for Information
Interchange): coding system traditionally used with PCs
(7 bits)
Unit 2 6
Coding Systems for Image
Image representation methods
• Bitmapped images:
Use map of pixels to represent images.
• Vector-based images:
Use mathematical formulas to represent images.
Unit 2 7
Coding Systems for Other Types of Data
Unit 2 8
Numbering Systems
• Numbering system: A way of representing numbers
1. Decimal
2. Binary
3. Octal
4. Hexadecimal
Unit 2 9
Numbering Systems
• Decimal numbering system
– Uses 10 symbols: (0,1,2,3,4,5,6,7,8,9).
– Example: (856)10
Unit 2
Numbering Systems
• Octal numbering system
-Uses 8 symbols: (0, 1, 2, 3, 4, 5, 6, 7).
-Example: (275)8
Chapter
Unit 2 2 11
Conversion (Binary to Decimal)
Binary system
Unit 2 12
Conversion (Binary to Decimal)
Binary to decimal conversion
Unit 2 13
Conversion (Decimal to Binary)
Decimal to binary conversion
Unit 2 14
Inside the System Unit
Unit 2
Inside the System Unit
Unit 2 16
Inside the System Unit
• Processors
• The primary processor is the central processing
unit (CPU)—also called the microprocessor
Unit 2 18
Typical CPU Components
1. Arithmetic/Logic Unit (ALU): is the section of a CPU core that
performs arithmetic (+, -, x, ÷) and logical operations (<, >, =)
2. Control Unit (CU): The control unit coordinates and controls the
operations and activities taking place within a CPU core
3. Prefetch unit: retrieve data and instructions before they are needed
for processing
5. Registers
Unit 2
Inside the System Unit
Memory
• RAM (Random Access Memory):
• used to store the essential parts of the operating system
while the computer is running, as well as the programs
and data that the computer is currently using
Unit 2 20
Memory (RAM)
Unit 2 21
Memory
• Registers:
• High-speed memory built into the CPU; used by the CPU
to store data and intermediary results temporarily during
processing
• Flash memory:
• consists of nonvolatile memory chips that can be used for
storage by the computer or the user
Unit 2 22
Storage
Unit 2 23
Storage System Characteristics
• Consist of a storage device and a storage medium
Unit 2 24
Storage System Characteristics
• Can be internal, external, or remote
• Are nonvolatile
Unit 2 25
Storage System Characteristics
– File: something stored on a storage medium, such as a
program, document, or image
• Storage technologies:
– Magnetic (conventional hard drives)
– Optical (optical discs)
– Electrons (flash memory media)
Unit 2 26
Hard Drives
• Hard drive: Used to store most programs and data
– Can be:
• Internal: located inside the system unit.
• External: connect to a computer via an external port such as a USB.
– Magnetic hard drives: use metal hard disks
Unit 2 27
Magnetic Hard Drives
• A magnetic hard drive: the traditional type of hard drive
contains one or more metal hard disks or platters
• Hard disks are divided into
− Tracks
− Sectors
− Clusters
− Cylinders
Unit 2 28
Internal, External, and
Portable Hard Drive Systems
Unit 2 29
Partitioning
Partitioning:
Unit 2 30
Optical Drives
• Optical discs: store data optically (using laser beams).
Unit 2 31
Optical Drives
• Can be:
– Read-only,
– Recordable or
– Rewritable
Unit 2 32
Optical Drives
Unit 2 33
Flash Memory Systems
• Chip-based storage medium
– No moving parts so more resistant to shock and
vibration, require less power, makes no sound
Unit 2 34
Flash Memory Systems
Unit 2 35
Flash Memory Cards
• Flash memory card:
A small card containing flash memory chips and metal
contacts.
Unit 2 36
USB Flash Drives
• Flash memory drives: Consist of flash memory media
and a reader in a single self-contained unit
Unit 2 37
OTHER TYPES OF STORAGE SYSTEMS
Unit 2 38
Input and Output
Unit 2 39
Input Devices
Input devices: hardware designed for inputting data into
the computer and for
Unit 2
Keyboards
• Keyboard: An input device containing keys, arranged in
a typewriter configuration, used to input letters, numbers,
and other symbols
– Can be wired or wireless
Unit 2 41
Pointing Devices
• Pointing device: An input device that moves an
onscreen pointer (arrow) to allow the user to select
objects on the screen
Unit 2 42
Mouse
• Mouse: A pointing device the user slides along a flat
surface to move a pointer around the screen and clicks
its buttons to make selections.
– Can be wireless
Unit 2 43
The Electronic Pen / Stylus
• Electronic pen: Device used to select objects, as well as
to draw or write electronically on the screen
Unit 2 44
Touch Screens
• Touch screen: Display device that is touched with the
finger to issue commands or otherwise generate input to
the connected PC
Unit 2 45
Other Pointing Devices
• Joysticks,
• Trackballs
• Touch pads
Unit 2 46
Scanners
• Scanner (optical scanner): Input device that reads
printed text and graphics and transfers them to a
computer in digital form.
• Types of scanners
– Flatbed ― Portable
– receipt ― 3D
Unit 2 47
Scanning Quality and Resolution
• Optical resolution: Quality of scanned images
– Measured in number of dots per inch (dpi)
Unit 2 48
Barcode Readers
• Barcode: is an optical code that represents data with bars
of varying widths or heights
UPC, ISBN
Unit 2 49
Optical Mark Readers (OMRs)
• Optical Mark Readers (OMRs): Input data from special
forms to score or tally exams, questionnaires, ballots
Unit 2 50
Biometric Readers
• Biometric data: Based on unique physiological
characteristics or personal trait.
– Fingerprint
– Hand or face geometry
– Iris of the eye
– Voice or signature
Unit 2 51
Digital Cameras
• Digital cameras: an input device that takes pictures and
records them as digital images.
Unit 2
Voice input
• Voice input: inputting spoken words and converting
them to digital form is typically performed via a
microphone or headset.
Unit 2
Output Devices
Unit 2
Display Devices
• Display device: Presents output visually
Unit 2 55
Flat-Panel Display Technologies
• Liquid crystal displays (LCDs): Use charged liquid
crystals between sheets of glass or plastic
Unit 2 56
Data projector
• Data projector: Display device that projects all computer
output to a wall or projection screen
Unit 2
Printers
• Printer. An output device that produces output on paper.
Unit 2 58
Printers
2. Ink-jet printer: Sprays droplets of ink to produce images
on paper
– Often the choice for home use
Unit 2 59
Special-Purpose Printers
• Photo printers
• Barcode printers
• Portable printers
• Plotters and wide-
format ink-jet
printers
• 3D printers
Unit 2 60
Audio Output
Unit 2