1 Introduction To Computers: Components of A Computer System
1 Introduction To Computers: Components of A Computer System
Introduction to Computers
Components of a computer system
Chapter 6 Computing 3rd Edition – Geoffrey Knot & Nick Waites
Functional Components
• Input
• Main Memory
• Central Processing Unit (CPU)
• Output
• Backing Storage
• Peripherals
Logical Structure of Computer System
Input
Hardware Classification
Chapter 3 Principles of Information Systems 6th Edition – Ralph M. Stair,
George W. Reynolds
Hardware Components
Processing Device
Control Arithmetic
Input Unit Logic Unit
Output
Devices Register Storage Area Devices
Memory
(primary storage)
Secondary
Storage
Hardware Components in Action
Processing Device
Registers
(1) Fetch (4) Store
Memory
Processing & Memory Devices
Processing Characteristics and Functions
Memory Types
Volatile Non-volatile
RAM ROM
Dynamic Static
PROM EPROM
SDRAM DRAM EDO Cache
Types of RAM
• Dynamic RAM (DRAM) consumes less power
• Needs to be refreshed
• Cheaper but slower than Static RAM (SRAM)
• Types:
– EDO (Extended Data Out)
– DRAM (Dynamic RAM)
– SDRAM (Synchronous DRAM)
Cache Memory
• SRAM
• Consumes high power – content
retained as long as the power
maintained
• Fast but expensive
• Located near to CPU
• CPU can access cache memory faster
than main memory
Types of ROM
• Magnetic tapes
• Magnetic disks
• Optical disks
• Magneto-optical (MO) disks
• Digital versatile disks (DVDs)
Magnetic Tapes
• A long strip of polyester film coated with a
magnetizable recording material
• Serial access
• Most widely utilized media for off-line data
storage and backup protection
Magnetic Disks
• Coated with iron oxide
• Hard Disks – steel platters
• Floppy Disks – Mylar film
Optical Disks
• Similar in concept to a ROM
• A rigid disk of plastic onto which data is
recorded by special lasers that
physically burn crevices in the disk
• CD-ROM (compact disk read-only
memory)
Magneto-optical (MO) disks
• A hybrid between magnetic disks and
optical disks
• Uses laser beam to change the
molecular configuration of a magnetic
substrate on the disk
• The disk can be erased by
demagnetizing the substrate
• Removable
• Huge storage capacity
Digital Versatile Disk
• DVDs look like CDs
• Have a much greater storage capacity
• Can transfer data at a much faster rate
Additional Devices and Media
• Memory cards
• Flash memory
• Expandable storage
Memory Cards
• Credit-card sized device that can be
installed in an adapter or slot in a PC
• PC memory card functions as though it
were a fixed hard disk drive
• Usually called as PCMCIA card because
their standards are created by Personal
Computer Memory Card International
Association
Memory Cards
• Provide extensive storage capacity
• Portable
• Less failure prone than hard disks
• Some are used for communications
(e.g. Ethernet card)
Flash Memory
• Silicon computer chip (also called as
flash chip)
• Non-volatile
• Slower than main memory but faster
than hard disk
• Cheaper than main memory but more
expensive hard disk
Flash Memory
• Sometimes used as an alternative to
main memory in notebook computers
• Requires no power to maintain its
contents – power is only required to
read from and to write to memory
• Wears out after approx. 10000 erasures
• E.g. – Memory stick in digital camera,
chip in MyKad, ATM card, Hand phone
SIM card and etc.
Expandable Storage
• Expandable storage devices (e.g. zip
drives and CD-RW drives) allow users to
add additional storage capacity by
simply plugging in a removable disk or
cartridge
• Expandable storage devices can be
internal or external
• Ideal for backups
• It’s a combination of hard disk capacity
and diskette portability
Input and Output Devices
Input Devices
• Voice-recognition devices
– Used in security systems
– To give commands to machines in factory
• Magnetic Ink Character Recognition
(MICR) Device – bank cheques
• Optical data readers
– optical mark recognition (OMR) – MCQ
– optical character recognition (OCR)
• Point-of-sale (POS) devices – terminals
with scanners like barcode scanners
Output Devices
• Display monitors
• Printers
– Dot matrix
– Ink Jet
– Laser Jet
• Plotters – produce graphical information (maps,
charts, drawings and etc.)
• Liquid Crystal Displays (LCDs)
• Virtual Reality Headset – project output in the form of
3D color images
Lecture 4
Introduction to Computers
• Assembly languages
– use symbols and codes instead of binary digits to
represent program instructions
• Assemblers – translates into machine code
LOAD BASEPAY
ADD OVERPAY
STORE GROSSPAY
Third-Generation Languages
Stage 2 Execute
• 4GLs
• Programs tell the CPU the desired results, not
how to get them
• Examples: SQL, SAS, Powerhouse, Delphi,
Forte, Essbase, PowerBuilder and many more
• E.g. in SQL
PRINT EMPLOYEE NUMBER IF GROSS PAY > 1000
Fifth-Generation Languages
• 5GLs
• Uses a visual or graphical development
interface to create source language that is
usually compiled with a 3GL or 4GL compiler
• Examples: Visual Basic, APL, PC COBOL, and
Visual C++, Prolog, LISP and etc.
Object-Oriented Programming Languages