S.2 Computer
S.2 Computer
Computer system
Computer users
1
S2 - Computer Hardware Notes 22 Mar, 2020
Computer software
(programs)
The
Compute
r system
• These are the digital step by step
instructions that tell the computer system
Hardw Softwar Users Data
are e
Input
outpu Proces
communication
System
softwar Applicatio
e.g. Data
entry
operators,
how to operate and how to process data.
t s e n software graphic
designers etc.
Presentation,
• These include both the system software and
Word desktop
processors Spreadsheets
application software.
publishing etc.
• System software are programs for the • Application software are programs for the
computer's use, to help it manage its own computer to perform tasks for the user, such
tasks and devices. Eg the operating system as creating documents. For example, a word
and utility programs processor, presentation software and
spreadsheet software.
2
S2 - Computer Hardware Notes 22 Mar, 2020
Computer hardware
3
S2 - Computer Hardware Notes 22 Mar, 2020
4
S2 - Computer Hardware Notes 22 Mar, 2020
Input devices
Task
5
S2 - Computer Hardware Notes 22 Mar, 2020
Pointing devices
Input devices are of the following categories: Devices that are used to input data and commands
• Pointing input devices into the computer system using a pointing
• The Keyboard mechanism that controls the movement of the pointer
• Speech recognition input devices The user gives commands and responses by physical
• Audio input devices movements of the cursor like pointing, clicking, and
6
S2 - Computer Hardware Notes 22 Mar, 2020
Pointing Devices
Stylus used on a smartphone A virtual keyboard on an iPad
Joystick
Light Pen
A graphics tablet with a pen Track pad on an Apple MacBook Pro
7
S2 - Computer Hardware Notes 22 Mar, 2020
Types of mouse
• Optical-mechanical (optomechanical)
mouse.
8
S2 - Computer Hardware Notes 22 Mar, 2020
9
S2 - Computer Hardware Notes 22 Mar, 2020
• Used to navigate the document when used • It provides a natural sense of movement . E.g. while
drawing because to move the cursor in a particular
in combination with the scrollbar of the
direction requires moving the mouse in the same
window direction.
• Used to move selected text or icons by the • It requires little training to use
10
S2 - Computer Hardware Notes 22 Mar, 2020
Joystick
• It requires a flat surface next the PC • an input device consisting of a stick that
• Mechanical mice get clogged with dust and pivots on a base and reports its angle or
• Excessive use can lead to repetitive strain Joysticks are often used to control video
injury games
1. Stick,
The Keyboard
2. base,
3. trigger,
4. extra buttons, • The keyboard is a device that has a set of
5. autofire switch,
keys used to enter commands and
6. throttle,
7. hat switch (POV hat), characters into the computer system.
8. suction cup.
11
S2 - Computer Hardware Notes 22 Mar, 2020
Sections of alphanumeric
keyboards
The keys are arranged into sections: • Function keys- top row. Pressing these keys will
• Alphabet keys instruct the operating system to perform a certain
• Function keys command.
• Command keys (insert, delete, home, end, page while the middle three rows are for the letters of the
up/down) alphabet and punctuation marks and other symbols.
12
S2 - Computer Hardware Notes 22 Mar, 2020
Special keys
• Enter/return: Moves the start of the typing • Shift and Alt keys: used to change
to the beginning of the next line/moves the (alternate) the function of other keys.
insertion point to the next line. • If pressed down together with other keys to
13
S2 - Computer Hardware Notes 22 Mar, 2020
Keyboard shortcuts
If the ALT key is pressed activates the Keyboard shortcuts are combinations of two
keyboard to work in place of the mouse for
the user navigate the menu bar and other or more keys that, when pressed concurrently
commands eg by using the direction keys perform a task that would require a mouse or
and the enter key, and other keys such as F
other pointing device.
for file, and N for insert etc.
ALT+F4: Closes the current window Alt + F: File menu options in current program.
Alt + Tab: Switch between open items Ctrl + enter: page break at the cursor
position
14
S2 - Computer Hardware Notes 22 Mar, 2020
Types of keyboards
• Not suitable for drawing/creating diagrams The alphanumeric keyboard contains letters,
• Difficult to use by the dis abled people numbers and symbols in particular layouts also
known as QWERTY keyboard (based on the
• Excessive use can lead to health issues eg RSI
sequence of letters at the top left).
15
S2 - Computer Hardware Notes 22 Mar, 2020
Braille Keyboard
Braille
16
S2 - Computer Hardware Notes 22 Mar, 2020
Braille Printers
Concept Keyboards
17
S2 - Computer Hardware Notes 22 Mar, 2020
Concept keys are commonly used: • where there is a limited set of things to
among young children. select and it needs to be done fast e.g. fast
By people who would find using an ordinary food store, pub, and other recreation events
keyboard difficult.
• Where very little training is needed to
in locations where an ordinary keyboard might
operate them
be damaged e.g. by spillage or dust.
18
S2 - Computer Hardware Notes 22 Mar, 2020
a) A digital pen
This is an input device which captures the
handwriting or brush strokes of a user, and
converts handwritten analogue information
created into digital format. E.g. the one used
with a digitiser
19
S2 - Computer Hardware Notes 22 Mar, 2020
The use of special equipment like scanners • it reduces cost of data entry
and digital cameras to collect data at the • it reduces possibility of human errors.
source, generated and send directly to the
computer system for processing.
20
S2 - Computer Hardware Notes 22 Mar, 2020
These are devices that optically scan printed 1)Flatbed scanner: it scans a document,
text, handwriting, or an object (3D) to digital image or object placed on a glass window for
format in order to input them into the scanning.
computer system.
Flatbed scanner
21
S2 - Computer Hardware Notes 22 Mar, 2020
Drum scanner
4) Magnetic Ink Character Recognition MICR is mainly used in banks to read cheques.
(MICR). This is an input device that identifies Bank cheques have the following information
encoded in magnetic ink:
special ink and characters in a document by
• The cheque number
magnetising the ink and then translates the
• The bank branch number
information into readable characters.
• and The customer’s account number
22
S2 - Computer Hardware Notes 22 Mar, 2020
23
S2 - Computer Hardware Notes 22 Mar, 2020
Barcode reader
24
S2 - Computer Hardware Notes 22 Mar, 2020
Barcode types
9) Biometric scanner. This a device used to
QR codes (Quick Response Code) identify physical characteristics of parts of the
UPC (Universal Product Code) codes body that uniquely identify an individual
(biometrics).
• Examples of parts of the body to be scanned
include the eye retina, facial features, and
figure prints.
25
S2 - Computer Hardware Notes 22 Mar, 2020
Finger scanning
26
S2 - Computer Hardware Notes 22 Mar, 2020
Sound cards
27
S2 - Computer Hardware Notes 22 Mar, 2020
28
S2 - Computer Hardware Notes 22 Mar, 2020
Digital cameras
These are devices that capture images and • The resolution of the camera is measured in pixels.
• A Pixel is the smallest discrete component of an
store them as a digital file in memory within
image or picture on a computer screen.
the camera and can be transferred to a
• The larger the number of pixels the camera has, the
computer system for editing. clearer the image and the greater the detail
captured.
29
S2 - Computer Hardware Notes 22 Mar, 2020
Remote control
Sensors
• Infra red remotes work within a relatively These are devices used to detect events or changes in
the physical environment such as light, heat, chemical
small distance of about 10 metres.
and motion, and convert the information to electrical
• It requires a line of sight to work. signals before passing it to a computer system that
analyses, stores and manipulates it using a control
program.
30
S2 - Computer Hardware Notes 22 Mar, 2020
Sensor
31
S2 - Computer Hardware Notes 22 Mar, 2020
32
S2 - Computer Hardware Notes 22 Mar, 2020
4) Portable data terminals (PDT) – these can The computer System Unit
be carried around by users but remotely
connect to a central computer via a wireless
This is a collection of many electronic
transmission facility used to effect payment
components that collectively process data.
of bills to service providers and other
The system unit is normally housed in a
electronic fund transfers.
rectangular box (chassis)
The chassis that houses the System unit components Uses of the Chassis (system
casing)
• It protects the internal parts of the system unit
against direct dust, water, and other falling
objects.
• It provides attachments for holding different
units together,
• It houses the different components as a single
component.
33
S2 - Computer Hardware Notes 22 Mar, 2020
34
S2 - Computer Hardware Notes 22 Mar, 2020
35
S2 - Computer Hardware Notes 22 Mar, 2020
36
S2 - Computer Hardware Notes 22 Mar, 2020
This is the time the device takes to locate a These are open areas inside the system unit casing
set a side to firmly hold additional equipment
single piece of information on a disk and
installed inside it.
makes it available to the CPU for processing.
e.g.
CD/DVD bays,
Floppy disk bay,
and hard disk bay.
37
S2 - Computer Hardware Notes 22 Mar, 2020
38
S2 - Computer Hardware Notes 22 Mar, 2020
Types of Bus
39
S2 - Computer Hardware Notes 22 Mar, 2020
• This is an internal path between the The system bus, is a combination of three
computer’s Central Processing Unit (CPU) separate kinds of buses: the data bus, the
and main memory, Its speed and width address bus, and the control bus.
depends on the type of CPU installed on the
system board
40
S2 - Computer Hardware Notes 22 Mar, 2020
• The size of the data bus determines the This is used by the CPU to transmit data to or
amount of data that can be transmitted from internal memory locations.
simultaneously. The wider the data bus the Each line carries one bit so the number of
more the amount of data it transmits. lines (wires) in the address bus determines
the amount of primary memory that can be
directly addressed
• This is the pathway for control signals External bus (or Expansion bus (I/O buses)
generated by the control unit of the CPU to allows the CPU to indirectly communicate
the appropriate computer system with other devices of the computer system
components e.g. From the CPU to hard disk. via the I/O controller.
41
S2 - Computer Hardware Notes 22 Mar, 2020
42
S2 - Computer Hardware Notes 22 Mar, 2020
1. PCI:
PCI slot
PCI card
PCI-e Card
43
S2 - Computer Hardware Notes 22 Mar, 2020
AGP slot
4. PCMCIA or PC Card
44
S2 - Computer Hardware Notes 22 Mar, 2020
Sound Card
Memory chip
45
S2 - Computer Hardware Notes 22 Mar, 2020
• BIOS software has the computer start-up • BIOS that have been recorded on a flash
information which is the first code run by a memory chip, which can be updated
PC when powered on (boot firmware). enabling BIOS upgrade if necessary.
46
S2 - Computer Hardware Notes 22 Mar, 2020
CMOS CHIP
CMOS battery
47
S2 - Computer Hardware Notes 22 Mar, 2020
CMOS Configuration
System information
48
S2 - Computer Hardware Notes 22 Mar, 2020
49
S2 - Computer Hardware Notes 22 Mar, 2020
50
S2 - Computer Hardware Notes 22 Mar, 2020
The major CPU manufacturers are: • CPU type is described based on some of the
Intel Corporation, Advanced Micro Devices following: manufacturer, family name, code
(AMD), ARM, Motorola Corporation and IBM. name and processor generation.
51
S2 - Computer Hardware Notes 22 Mar, 2020
i7
• These include:
3) The Registers
52
S2 - Computer Hardware Notes 22 Mar, 2020
53
S2 - Computer Hardware Notes 22 Mar, 2020
Registers
1. The registers. This is the immediate access • Registers have a specific storage capacity
store that holds data and programs based on computer bus size, for example, a
needed by the CPU during processing to 32- bit computer has a register of 32 bits in
avoid wasting time fetching the data from length.
RAM
Types of Registers
The number and type of registers in a CPU (2) Instruction registers or current instruction register
(CIR). This stores the instruction currently being
vary according to the CPU design The most
executed by the CPU which are being executed.
commonly used registers are:
(3) The memory data register (MDR).
(1) Program counter (PC). This stores the
This holds data that has just been read from or about
memory location of the next instruction that to be written to main memory.
will be needed by the CPU.
54
S2 - Computer Hardware Notes 22 Mar, 2020
CPU Cache
(4) Memory buffer registers (MBR). The data • A CPU cache is a smaller, fast memory which
read from the memory location is stored in stores copies of the data frequently used
these registers. from main memory locations to save time
the CPU would take to access data from the
main memory.
• This memory is integrated directly with the • This enables the CPU to bypass the system
CPU chip or placed on a separate chip that bus during data transfer so as to increase
has a separate bus interconnect with the the CPU’s overall access speed. The CPU can
CPU. access cache much more quickly than RAM.
55
S2 - Computer Hardware Notes 22 Mar, 2020
System clock
This is the internal clock that generates a signal • The unit of measure of the clock speed
to match and set the speed of all operations of (clock rate) is hertz. E.g. megahertz (MHz,
the CPU and the movement of data around the millions of cycles per second) or gigahertz
other components of the computer. (GHz, 1000 million cycles per second).
Each phase in the processing cycle takes one
pulse of the clock to be executed.
56
S2 - Computer Hardware Notes 22 Mar, 2020
Fetch
57
S2 - Computer Hardware Notes 22 Mar, 2020
Decode Execute
• Decode means translating the program • This is the stage where the CPU carries out
instructions into commands that the arithmetic, comparison and logical
computer can process. operations. Execute is the actual processing
• The Control Unit of CPU then passes the of the computer commands.
decoded instructions to the ALU to perform
mathematical or logic functions on them.
58
S2 - Computer Hardware Notes 22 Mar, 2020
This is the frequency at which the processor The word size is the number of bits that the CPU
can process at a time measured in bits; e.g, 32-
executes instructions or processes
bit or 64-bit word sizes. A CPU with 32-bit word
data(completes a processing cycle). size can manipulate 32 bits at a time. The
higher the word size, the more data a computer
can process at a given time.
• 7. The size and number of registers. The • Due to its processing activity, The processor
produces heat, and, if it gets overheated, it can
larger the register, the greater the
become damaged and unstable.
processing power
• Devices that are used to keep a system cool
include CPU fans, case fans, coolers, heat
sinks,liquid cooling systems, and dust-
preventing tools.
59
S2 - Computer Hardware Notes 22 Mar, 2020
Types of computer
processing
Computer system collect and process data in
a number of ways including batch, online,
multiprocessing and other processing
systems
60
S2 - Computer Hardware Notes 22 Mar, 2020
Multiprocessing/parallel
processing
• This is a computer processing technique This is where there is no delay between the
where the CPU is able to execute more than input and output operations. Data processing
appears to take place, or actually takes place
one instruction at a time by beginning to
immediately upon data entry or receipt of a
execute another instruction before the command.
first/preceding instruction has been The user and data must be handled online.
completed. This increases processing speed
61
S2 - Computer Hardware Notes 22 Mar, 2020
• Usually expensive to acquire and maintain. ATM transactions, Traffic control, Heart rate
monitoring, Computer games, Controlling
Robots etc.
Batch processing
This is where data are collected in a bunch Once a batch job starts, it continues until it is
and accumulated before processing it all at done or until an error occurs. There is no
once at a later time when it is necessary or interaction with the user while the program is
efficient to do so. being run.
62
S2 - Computer Hardware Notes 22 Mar, 2020
• There is no need of special hardware to • It is not possible to correct errors during the
support data input. processing.
• Batch processing can take place off-line • Sorting data is time consuming.
which reduces cost.
• Can easily and quickly handle large amount
of data processing at lower processing cost.
63
S2 - Computer Hardware Notes 22 Mar, 2020
Multitasking/Multiprogrammin
g
The apparent simultaneous performance of • An example of multi-tasking is typing in a
two or more tasks by a computer's central word processor while at the same time
processing unit. listening to music played from a CD-ROM.
A multi-tasking system handles a number of • Both batch and interactive jobs may be run
different jobs at the same time. in a multi-tasking environment.
Multitasking
Time-sharing processing
(multi-user processing)
This is the processing method where users
share time on the same computer. the CPU
allocates slices of time to the different users
on the computer system, who independently
run different or the same programs.
64
S2 - Computer Hardware Notes 22 Mar, 2020
Interactive processing
• It provides many users the opportunity to • Interactive processing is one that involves a two-way
communication between the user and computer system,
use the system. involving continual exchange of responses between the
• All users get the equal amount of computer and the user during processing.
• Examples include electronic fund transfer systems,
processing time.
tickets reservation systems, and point-of-sales systems.
• It is possible to interact with the running
program.
65
S2 - Computer Hardware Notes 22 Mar, 2020
66