L2 Introduction To Functions of Different Units
L2 Introduction To Functions of Different Units
Introduction to functions of
different Units
W. C. Deshapriya
1
Learning Outcomes
2
Different type of Units
Computer is not a single unit. It consists set of units
A computer consists of four main units:
Input unit.
Output unit
Memory unit
Central Processing Unit
3
Input Unit
Input unit is a set of hardware that is used to provide input to
the computer.
It translate words, sounds, images and actions which people
understand, into symbols that the system unit can process.
4
Devices categories of Input unit :
1. Text input device : – keyboard, bar code reader
2. Image/Video input device : – scanner, digital camera, webcam
3. Audio input device :– microphone, digital audio player
4. Pointing device: –mouse, touch screen, digital pen, Track pads
5. Controlling device : – joystick, gaming keyboard, digital remote
5
Text input
Keyboard:
• Keyboard is used to input letters, numbers which data is entered by manually
typing in certain keys.
• A keyboard normally has 101 or 105 keys.
• It is possible to give some commands to the computer using the keyboard
• Ex: type a command CTRL+ALT+DEL in Windows system→ Open task manager to switch
users, lock machine in a Microsoft.
6
Key Groups in a keyboard
There are 6th groups of keys in a keyboard
7
Mouse:
Mouse is the most common pointing device in a computer.
Mainly a mouse is used for clicking, double-clicking,
dragging, and right-clicking.
Type of the mouse:
1. Trackballs
2. Trackpads
3. Pointing stick
8
Scanner :
• Scanner used to reproduce printed text or images in a computer.
• Scanners record the light strength and colour of the scanned document
and display it on the screen.
9
Bar code readers:
• A barcode reader is an optical scanner that can read printed
barcodes.
10
Digital Pen Touch screen
• It captures the handwriting of a user
and converts handwritten information • It allows the user to place a
fingertip directly on the computer
into digital data screen
Handwritten→ text
11
Output Unit
• Output unit used to illustrate the information processed by the
system unit into words, sounds, images or movements that people
can understand.
12
Monitor
• Display device used to illustrate an image on the screen
according to electrical signals getting from the computer.
• Pixels - The smallest unit in a graphic image on a display
• Resolution -The number of pixels that form the two sides of the display rectangle
• Size - indicated by the distance between opposite corners, usually in inches
E.g.: 15, 17, 19 and 21 inches
14
Projector
• A multimedia projector is a compact, high resolution,
full-color projector capable of projecting text, images,
video and audio content
▪ It is generally used in classrooms and auditoriums for slide
presentations.
15
Printer
• This device is used to get the processed information on paper
(to hard copies).
• Several types of printers are there, as follows:
• Ink-Jet printer
• Laser printer
• dot-Matrix
16
Speakers, Headphone and Headset
• Speaker is the key output device of sound.
• A sound system includes speakers and a sound card.
17
Memory unit
• There are two types of storage as follows
• Primary storage memory
• Secondary storage memory
18
Primary Storage
• Primary storage memory is directly connected to the
CPU.
• There are 3 types of primary storage as follows:
• Processor registers
• Main memory (RAM)
• Cache memory
19
Processor registers
• Processor registers are inside the CPU.
• This is used to store the instruction and data when it
processed.
20
Main memory
• Main memory has the programs that are currently being run
and the operating programs of data.
• It is directly connected to the CPU via a "memory bus" and a
"data bus".
21
Cache memory
• Cache memory is a special type of internal memory used by
many CPUs. It is like a memory registers but outside of CPU.
22
Activity 01
23
Secondary storage devices
• It is a kind of a computer memory that is not directly accessible to
the CPU.
• Secondary memory is External memory and it has higher storage
capacity.
24
Magnetic storage
• Magnetic devices are coated with a magnetically sensitive
material.
• It uses magnetic charges to represent 1 and 0.
25
Optical storage device
• In optical storage, a laser beam are used to read data on plastic
or metallic disk.
• The 1 and 0 are represented by flat areas called lands, and pits
26
• Types of CDs are as follows:
• CD-ROM - Compact Disc Read Only Memory
• CD-R - Compact Disc Recordable
• CD-RW - Compact Disc Re Writable
27
Solid state storage devices
• It has integrated circuits (IC) to store the data.
• Stores data electronically as 1,0. Therefore, data reads and
writes very quickly.
28
Central Processing Unit
• The central processing unit (CPU) contains electronic circuits
that used to processes instructions .
• The CPU interprets instructions to the computer and
performs the logical and arithmetic operations.
• It is the “brain” of the computer.
• CPU can perform
• Calculations
• Comparisons
• make logical decisions
29
Components of the CPU
• Control unit (CU)
• Arithmetic logic unit (ALU)
• Memory unit (MU)
30
Control unit :
31
Arithmetic logic unit (ALU):
32
Memory unit :
33
Operation of CPU
• The fundamental operation of the CPUs is to execute a sequence of
stored instructions, called a program executing.
• There are four steps in executing cycle.
34
Fetch
• Read an instruction (program) from main memory.
• The location of main memory is determined by a program counter (PC)
Fetch
35
Decode
• In this step, the loaded instruction (program) split into two
parts;
• op- code (operator )
• Operand (data)
36
Execute
• Now the instruction will be executed on ALU
• The result will save on main memory or Register.
37
Fetch → decode → execute → write back
CPU
RAM
38
Thanks!
39