Overview of Computer Systems and Architecture
Overview of Computer Systems and Architecture
1. Physical Size
2. Nature of data handled/ fuctional
3. Manufacturer????
a) Analogue computers
FCE165/FGE 177
XEA 104 19 11/2/2020
19
20
Computer =device
Computer system=h/w,s/w and liveware
???
h/w,s/w,liveware,firmware,wetware,grayware,share
ware,malware,freeware???
arithmetic &
data
logic functions
memory
I/O subsystem
External External
input data results
ALU
Control
unit A B
Internal bus
IR PC MAR MDR
Memory
Channels (buses)
FCE165/FGE 177
XEA 104 27 11/2/2020
27
To execute an instruction the CU goes through the
following sequence:
a) Fetch cycle:
Fetches the next instruction.
a) Execute cycle:
Execute the instruction
a) Memory cycle:
Copy data into and out of memory
FCE165/FGE 177
XEA 104 29 11/2/2020
29
2. ARITHMETIC AND LOGIC UNIT (ALU)
• It is an electronic device with built-in logic for
executing basic arithmetic operations and logic
functions.
• It is directed by CU.
FCE165/FGE 177
XEA 104 30 11/2/2020
30
3. CHANNELS-(INTERCONNECTION STRUCTURES)
FCE165/FGE 177
XEA 104 31 11/2/2020
31
• The channels must support the following types of
transfers:
FCE165/FGE 177
XEA 104 32 11/2/2020
32
a) Data Bus:
FCE165/FGE 177
XEA 104 33 11/2/2020
33
b) Address Bus:
FCE165/FGE 177
XEA 104 34 11/2/2020
34
c) Control Bus:
FCE165/FGE 177
XEA 104 35 11/2/2020
35
4. REGISTERS
Examples of Registers:
FCE165/FGE 177
XEA 104 36 11/2/2020
36
a]Memory Data Register (MDR)
FCE165/FGE 177
XEA 104 37 11/2/2020
37
b] Memory Address Register (MAR)
FCE165/FGE 177
XEA 104 38 11/2/2020
38
C] Instruction register (IR)
FCE165/FGE 177
XEA 104 39 11/2/2020
39
d)Accumulator Register (AR)
FCE165/FGE 177
XEA 104 40 11/2/2020
40
e) Program Counter (PC)
FCE165/FGE 177
XEA 104 41 11/2/2020
41
COMPUTER MEMORY
FCE165/FGE 177
XEA 104 42 11/2/2020
42
Memory
Data in memory is stored as binary digits (BITS)
e.g. 011100101010
1 BYTE = 8 bits
Nibble is 4bits
FCE165/FGE 177
11/2/2020 XEA 104 43 11/2/2020
43
We measure the size of memory by telling how
many bytes it can hold.
FCE165/FGE 177
XEA 104 45 11/2/2020
45
MEMORY
FCE165/FGE 177
XEA 104 46 11/2/2020
46
MAIN MEMORY
FCE165/FGE 177
XEA 104 48 11/2/2020
48
TYPES OF RAM
1. STATIC RAM-flip-flop=contents stable as long as
power is available
2. DYNAMIC RAM-charge, need frequent
refreshing to maintain charge higher density than
static, less expensive than S-RAM, need extra cct
for refreshing
FCE165/FGE 177
XEA 104 49 11/2/2020
49
ROM-READ ONLY MEMORY
It holds data and instructions which are executed
when the computer is switched on (BIOS-for
booting)
Contents cannot be altered read only/permanent]
Information fro manufacturer
Non volatile
Can be read BUT NOT re-written
FCE165/FGE 177
XEA 104 50 11/2/2020
50
Other types of ROM
a) PROM-Programmable ROM
This is the memory that can be written onto
only once and can be used in microprocessor-
based applications: Video tapes, measuring
scales (beam balances)
b)EPROM-Erasable PROM
It is programmable over and over by
ROM programmer devices.
FCE165/FGE 177
XEA 104 51 11/2/2020
51
Types of ROM –To explain in class
EAPROM?????
EEPROM?????
Flash-ROM
FCE165/FGE 177
XEA 104 52 11/2/2020
52
Special purpose memories
Buffer-i/o temporary btn communications devices
Cache memory=high speed, SRAM
Register like accumulators, IR, AD ,SR>>>>refer
notes
FCE165/FGE 177
XEA 104 53 11/2/2020
53
BACKING STORAGE
It is used to store data and instructions not needed
for immediate processing. It is much slower to
retrieve data from backing storage compared to
main/primary storage.
It is less expensive than main memory i.e. to store
a character. They are therefore ideal for longer
storage.
There4 :non-volatile, mass storage, reusability
Can be :fixed or removable
Devices used for backing storage.
1. Magnetic tape
2. Magnetic Disc
3. Optical storage etc
FCE165/FGE 177
XEA 104 54 11/2/2020
54
1. Magnetic Disc
FCE165/FGE 177
XEA 104 55 11/2/2020
55
[Link] tapes
Like music cassette
Sequentially accessed
Portable, cheap, reusable, high capacity
Slow access [sequential], damaged easily [dust,
heat, touch]
FCE165/FGE 177
XEA 104 56 11/2/2020
56
Types of Magnetic Discs
- Floppy Disc – 3.5”, 5.25” or 8.25” discs
- Zip disk, jaz disk
- Winchester [Hard Disk ]– Permanently fixed on
microcomputers>>>> refer notes
- Exchangeable Hard Disc – Used on mainframes
and can be removed
FCE165/FGE 177
XEA 104 57 11/2/2020
57
Floppy
Cheap, small, portable
Short life, slow, limited storage, damaged easily.
FCE165/FGE 177
XEA 104 58 11/2/2020
58
HD [read more on slides given]
Cheap, reliable, longer, capacity is more, faster
Head crash, fixed, sensitive to: dust, magnets,
humidity
FCE165/FGE 177
XEA 104 59 11/2/2020
59
3. Optical Storage
Two types of optical discs
FCE165/FGE 177
XEA 104 61 11/2/2020
61
INPUT/OUTPUT (I/O) DEVICES
FCE165/FGE 177
XEA 104 62 11/2/2020
62
1. Input Devices
FCE165/FGE 177
XEA 104 63 11/2/2020
63
The Keyboard=type data into computer
Mouse=enter and issue instructions/commands
Light pens=hand held pen. has light sensitive point
Joystick
Stylus=for PDAs
Scanners=Optical and magnetic scanners
Point-of-sale (POS) terminals
Bar code readers
Track ball=sphere rotate to control cursor position
Credit cards
Digital devices eg touch screen, digital cameras,
digitizers
Kimball Tag
Optical Mark readers (OMR)
Optical Character Reader (OCR)
Magnetic Ink Character Reader (MICR)
FCE165/FGE 177
XEA 104 64 11/2/2020
64
The Keyboard-pg24 F1
• QWERTY keyboard layout
• Type data to computer
• Resemble typewriter
• Approx 105 keys i.e
1. Functional keys F1,F2,F3……
2. Cursor position keys and exit keys
3. Numeric keys 0……9
4. Alphanumeric keys-for normal operation
5. Special keys-caps lock, shift ,alt,ctrl,ESC etc
FCE165/FGE 177
XEA 104 65 11/2/2020
65
66
Traditional keyboards-rigid
Flexible keyboards-portable/folded
Ergonomic keyboard-comfort/alleviate wrist strain
Keypad-miniature used on PDAs,laptops,cellphones
Braille keyboards=for blind
FCE165/FGE 177
XEA 104 67 11/2/2020
67
68
Standard/traditional-ball underneath+3buttons
Optical-no moving parts,uses tiny digital
camera,takes 1500pictures/s
Cordless mouse/wireless=battery powerd,used
radion/infrared waves
Trackball=like traditional mouse but ball at top
FCE165/FGE 177
XEA 104 70 11/2/2020
70
71
FCE165/FGE 177
XEA 104 72 11/2/2020
72
POS
Numeric keypad +few control+fuctional
In supermarkets
Credit card, kimball tag, bar code attached to POS
to reduce data entry
FCE165/FGE 177
XEA 104 73 11/2/2020
73
Credit card
ATM
Has strip of magnetic tape+coded information
Inserted
Magnetic data picked
Details recorded
Account updated accordingly
FCE165/FGE 177
XEA 104 74 11/2/2020
74
scanner
• Convert data to digital
• Text
• Graphic
• Images
• For large amount of documents need to be converted to
electronic.
• Eg bible contents
FCE165/FGE 177
XEA 104 75 11/2/2020
75
OMR
Use mark sensing to scan and translate marks
Detect presence or absence of a mark on a paper
Light shown and reflected=infrared beam
Exam marking=KCPE, research questionnaire
,traffic survey, payroll data entry,lottery tickets to
select correct no combinations
Avoid spurious marks, folds
FCE165/FGE 177
XEA 104 76 11/2/2020
76
OMR ADVANTAGES
• Error free [low]
• Data capture at source hence minimize manual
work
• Conspicuous error noted easily
DISADVANTAGES
• Relatively slow
• Not widely used in business
• Verification of marked data is difficult
FCE165/FGE 177
XEA 104 77 11/2/2020
77
OCR=eg flat-bed
• Detect mark, recognize its shape, Identify
characters=pictures +real objects
• Reflected light based on shape of character
• Can detect minor differences
• Machine to print xters for accuracy
• 1500 xters per sec
• Used to process turnaround documents produced
as output and reused as input to computers=KPLC
bill
FCE165/FGE 177
XEA 104 78 11/2/2020
78
OBR
79
Barcodes/ UPC
UPC=manufa details,country,prod code
Not price=keeps changing
FCE165/FGE 177
XEA 104 80 11/2/2020
80
MICR ADVANTAGES
• Fast
• Accurate
• Automatic
• Both machine and human readable
• Reduce forgery [hard to forge]
• DISADVANTAGES
• Only 14 xters limit
• Easily damaged due depend on magnetism
FCE165/FGE 177
XEA 104 81 11/2/2020
81
Magnetic stripe recognition
Thin magnetic tape
Found on back of a plastic card eg ATM card
Magnetic stripe is to recognize data in such card
FCE165/FGE 177
XEA 104 82 11/2/2020
82
Advantages of MSR
• Simple to produce
• Not easily damaged
• Store large numbers of xters
DISADVANTAGES
• Data can be changed or erased by magnetic field
APPLICATIONS
• Credit cards
• Bank cards
• As a phone card
• As tags on clothes
FCE165/FGE 177
XEA 104 83 11/2/2020
83
Speech recognition devices
• Use microphone
• ADVANTAGES
• Very fast
• Can be used in remote via telephone
• DISADVANTAGES
• Homophones [some words sound same]
• Recognition is slow
• Limited vocabularies
• Background noise
• Speaker variability
FCE165/FGE 177
XEA 104 84 11/2/2020
84
APPLICATION OF SPEECH DEVICES
Security and access control
Voice activated toys and sensors
Automated material handling/controlling in
buildings, airport
Speech input to order robots
FCE165/FGE 177
XEA 104 85 11/2/2020
85
Factors when choosing input devices
Cost
Volume
Accuracy
Reliability
Mode of operation
Appropriateness
FCE165/FGE 177
XEA 104 86 11/2/2020
86
2. Output Devices
The use of output devices is to provide the
user with the results from the computer. The
common output devices used today are:
- Visual Display Units (VDUs) – for softcopy
output
- Printers-Produce Hardcopy Output
- Plotters
FCE165/FGE 177
XEA 104 87 11/2/2020
87
Output devices
1. PRINTERS
For hard copy (printout)
Character printer/dot matrix-low speed, mimic the typewriter
when printing (one xter at a time), noisiness, no picture
support), low quality, cheap to buy.
FCE165/FGE 177
XEA 104 88 11/2/2020
88
PRINTERS
Hard copy
Categorized based on speed =line printers, page
printers
and how they print xters=impact and non-impact
printers
FCE165/FGE 177
XEA 104 89 11/2/2020
89
Factors in choosing printers
Capital cost
Maintenance cost
Work to do=volume of printing
Nature of reports needed
Speed
Quality of print
FCE165/FGE 177
XEA 104 90 11/2/2020
90
Impact
Slow
Use ink ribbons
Inexpensive
Noisy
Examples :dot matrix, daisy wheel, drum printer,
chain printer, golf ball printer
FCE165/FGE 177
XEA 104 91 11/2/2020
91
Non impact
Faster
Use thermal or electrostatic
Costly
Quiet
examples: thermal, inkjet, electrostatic, laser
FCE165/FGE 177
XEA 104 92 11/2/2020
92
Laser printer
Replaces dot matrix
Just like photocopier
Use laser beam
Build entire image in RAM be4 starting to print
Have their own RAM and processor for synchronizing the
computer speed
High quality output
Quiet in operation
Much faster
32ppm
Color printer are expensive
FCE165/FGE 177
XEA 104 93 11/2/2020
93
Ink jet printers/bubble jet
FCE165/FGE 177
XEA 104 94 11/2/2020
94
VDU
Display information
User can monitor work progress
Soft copy
Types=monochrome and colour monitors
FCE165/FGE 177
XEA 104 95 11/2/2020
95
Types of VDU
1. CRT=Bulky [not portable], inexpensive, a lot of
power consumed
2. FLAT PANEL DISPLAYS=LCD,TFT
TFT has high quality [text and graphics]
LCD=tiny liquid crystals
Others are gas plasma, electronic luminescent
FCE165/FGE 177
XEA 104 96 11/2/2020
96
Video card/graphic adapter
Circuit board that connects monitor to a computer
for computer too show images and text on screen
Eg are :MDA,HGC,CGA.
FCE165/FGE 177
XEA 104 97 11/2/2020
97
ADVANATGES OF VDU
Paperless
User can monitor work progress
DISA
Consume more power
Soft copy
People can see your work
Affects eyes
FCE165/FGE 177
XEA 104 98 11/2/2020
98
[Link]
Hard copy
Special printer for large architectural or
engineering drawings printing
Use pens to plot
A1 papers
>>>>>>> students to name other output devices
FCE165/FGE 177
XEA 104 99 11/2/2020
99
Types of plotters
Flat bed
drum
FCE165/FGE 177
XEA 104 100 11/2/2020
100
Computer output on microform
COM
Images and text on photographic film to be viewed
later on microfilm reader
Types are: microfilm, microfiche
FCE165/FGE 177
XEA 104 101 11/2/2020
101
Applications
Libraries for book catalogues
Companies to store personal and customers
records
FCE165/FGE 177
XEA 104 102 11/2/2020
102
Advantages
• Faster than printing
• Saves space and stationary
• Portable
• Security [need machine to read not naked eyes]
• Larger lifespan
• DISA
• Expensive
• Eye strain
• Need machines to read [extra expenses]
FCE165/FGE 177
XEA 104 103 11/2/2020
103
Sound output
Learning aids
Lifts
Emergency messages
For blind
FCE165/FGE 177
XEA 104 104 11/2/2020
104
NEXT
COMPUTER SOFTWARE
FCE165/FGE 177
XEA 104 105 11/2/2020
105
Abstract View of System Components
FCE165/FGE 177
XEA 104 106 11/2/2020
106
A computer system showing:-hardware, system
programs and application programs.
FCE165/FGE 177
XEA 104 107 11/2/2020
107
COMPUTER SOFTWARE
This is a complete range of computer programs
that convert a general purpose computer system
into one capable of performing a multiple of
specific functions.
The S/W are flexible and changeable.
FCE165/FGE 177
XEA 104 108 11/2/2020
108
SOFTWARE (S/W)
Computer Software is broadly divided into two
categories:
1. Systems SW=OS,NOS,BIOS,UTILITY SW
2. Application SW=ms word, dbase,
spreadsheet, auto CAD, PageMaker
FCE165/FGE 177
XEA 104 109 11/2/2020
109
A. System Software
• Which manages the operation of computer itself.
This consists of:-
1. Operating Systems,
2. Assemblers,
3. Compilers, and
4. System Utilities
FCE165/FGE 177
XEA 104 110 11/2/2020
110
B. Applications Software
Which handles end-user’s needs.
This can be:-
off-shelf packages and
In-house developed programs.
FCE165/FGE 177
XEA 104 111 11/2/2020
111
TYPES OF APPLICATION S/W
1. Special-purpose applications=these are
customized programs written by the user or a
software house under contract to perform a
specific job.
FCE165/FGE 177
XEA 104 112 11/2/2020
112
TYPES OF APPLICATION S/W
2. General purpose application=these are prewritten
programs purchased “off-the-shelf” by the user.
• They are:-
• word processors,
• spreadsheets,
• databases, and
• graphic packages.
FCE165/FGE 177
XEA 104 113 11/2/2020
113
General purpose application
Advantages :-
Low price since sold in large numbers
For large variety of applications
Easy to use hence suitable for all category of pple.
Provided with manuals and documentation
FCE165/FGE 177
XEA 104 114 11/2/2020
114
General purpose application
Disadvantages:-
If not used frequently one can forget commands
Can not solve advanced cases
Database, spreadsheet still requires know how
FCE165/FGE 177
XEA 104 115 11/2/2020
115
Operating Systems (OS)
An operating system’s job is to manage computer
resources (memory, files, I/O devices and
processor). It
- Allocates a resource to a request or job
- Reclaims a resource once it is freed from the
current process.
- Keeps track of a resource
- Enforces a policy on who or which job should get
what resource
OS also acts as an interface between a user and
computer hardware.
• Examples: MS-DOS, WINDOWS, UNIX, NOVELL
NETWARE
FCE165/FGE 177
XEA 104 116 11/2/2020
116
OS
Job scheduling
Resource control
Memory management
Error handling
Interrupt handling
i/o handling
FCE165/FGE 177
XEA 104 117 11/2/2020
117
Types of OS
SINGLE USERS=ms DOS,WINDOWS2000,2007
MULIT-USERSUNIX,NOVEL
SINGLE –TASKING=MS DOS
MULTITHREADING=XP,VISTA
FCE165/FGE 177
XEA 104 118 11/2/2020
118
IN CHOOSING OS
Cost
Availability
User friendly
Purpose
HW configuration
FCE165/FGE 177
XEA 104 119 11/2/2020
119
Use of OS to manage disk
Formatting
Disk defragmentation
Disk portioning
Backing up data
Scanning virus
Scanning storage devices
FCE165/FGE 177
XEA 104 120 11/2/2020
120
Use of OS in managing files/folders
Renaming files/folders
Sorting files/folders
Moving files/folders
Searching files/folders
Copying files/folders
FCE165/FGE 177
XEA 104 121 11/2/2020
121
Application Software Packages
1. Off-the-shelf/standard
These are ready-made programs. Are
pre-developed programs available at vendor
shops for immediate use.
FCE165/FGE 177
XEA 104 123 11/2/2020
123
2. In-house
Also called bespoke
Are those that are designed, developed and
customized using some appropriate
programming languages to meet specific
user requirements.>>in banks airlines
FCE165/FGE 177
XEA 104 124 11/2/2020
124
word processor
• Is tool that you use for producing documents like:-
Business and general correspondence
CV/resume
Research papers legal documents
Weekly newsletters
FCE165/FGE 177
XEA 104 125 11/2/2020
125
Features: word processor
1. Word-processors and Text processors
- Availability of different fonts, character sizes
and styles (e.g. bold, italic, etc).
- Text Editing features such as Copy and
Paste, Find, Search and Replace etc.
- Text and page formatting features e.g.
justification, indentation
- Printing features
- Spell-checkers, Thesaurus and Bookmarks
FCE165/FGE 177
XEA 104 127 11/2/2020
127
Spreadsheets
A worksheet is a tool that is used for maintaining
predominantly numeric data in tabular form
simplifying numerous calculations and presenting
data graphically.
FCE165/FGE 177
XEA 104 128 11/2/2020
128
3. Spreadsheets
• Common features:
- The ability to create, edit, save and retrieve
worksheets
- Built-in functions and formulae for adding,
multiplication, basic statistical functions (e.g.
Minimize, maximize average)
- Data sorting and filtering capability
- Printing of entire or portions of worksheets
- Charting facility to draw line graphs, bar
charts, pie charts etc
FCE165/FGE 177
XEA 104 130 11/2/2020
130
Spreadsheets
Learners to name at least 5 advantages of
Spreadsheets.
FCE165/FGE 177
XEA 104 131 11/2/2020
131
3. Database Management Systems
Efficiently store information in an ordered
manner for timely and quick retrieval.
FCE165/FGE 177
XEA 104 132 11/2/2020
132
Ms-Access
Is a database tool used to store, maintain and use a
collection of information that is organized to serve
a specific purpose.
FCE165/FGE 177
XEA 104 133 11/2/2020
133
Ms-Access
Areas :-
Employee personal information
Patient information in hospital
Flight information
Customer details
Students details
etc
FCE165/FGE 177
XEA 104 134 11/2/2020
134
Ms-Access
Benefits of Ms-Access
Fast retrieval of information
Easy to maintain accurate and up to-date data
Easy to analyze and make summary reports
Easy to protect data from unauthorized personnel.
FCE165/FGE 177
XEA 104 135 11/2/2020
135
When selecting H/W
Portability
Warranty
Cost
User needs
Compatibility
Upgrading
Speed
Storage capacity
FCE165/FGE 177
XEA 104 136 11/2/2020
136
When selecting S/W
User needs
Documentation
Authenticity
Cost portability
User friendly
FCE165/FGE 177
XEA 104 137 11/2/2020
137
FCE165/FGE 177
11/2/2020 138 11/2/2020
138