Download as pdf or txt
Download as pdf or txt
You are on page 1of 40

Chapter -2

Introduction to functions of
different Units

W. C. Deshapriya
1
Learning Outcomes

After completing this lesson, Students will be able to describe


the function of different units such as:
•The function of Input Unit.
•The function of Output Unit.
•The function of Memory Unit.
•The function of CPU Unit.

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

• Modifier keys (Control keys)


• Function keys
• Numeric keys
• Alpha-numeric (Typing) keys
• Cursor-movement keys (Navigation keys)
• Special purpose keys (sound control, brightness control..)

7
Keyboard:
• keyboard shortcuts for windows
• Windows logo key - Open the Start menu
• Alt + Tab - Switch between open programs or windows
• Alt + F4 - Close the active item, or exit the active program
• F1- Display Help for a program or Windows
• Esc- Cancel the current task

• Ctrl + S - Save the current file or document (works in most programs)


• Ctrl + Z - Undo an action
• Ctrl + A - Select all items in a document or window

8
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

9
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.

Optical Character Reader(OCR)


• A scanned text image will be translated into text that you can edit using an OCR
software.

10
Bar code readers:
• A barcode reader is an optical scanner that can read printed
barcodes.

11
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

12
Output Unit
• Output unit used to illustrate the information processed by the
system unit into words, sounds, images or movements that people
can understand.

Devices categories of Output unit :

• Basically we can categorize Output devices as


• Display devices – Monitor
• Printer devices - Printer
• Audio devices- speaker

13
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

• Clarity - indicated by its resolution. It is measured


in pixels which are individual dots that form
images on a monitor.
14
• Three main types of monitors:

• Cathode ray tube (CRT) monitor


• Flat panel monitor (Liquid Crystal Display (LCD) )
• LED monitor creates to low energy usage.

15
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.

16
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

17
Speakers, Headphone and Headset
• Speaker is the key output device of sound.
• A sound system includes speakers and a sound card.

18
Memory unit
• There are two types of storage as follows
• Primary storage memory
• Secondary storage memory

19
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

20
Processor registers
• Processor registers are inside the CPU.
• This is used to store the instruction and data when it
processed.

21
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".

22
Cache memory
• Cache memory is a special type of internal memory used by
many CPUs. It is like a memory register.

23
24
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.

• Read Only Memory or ROM is other memory that is fixed on a


chip that has start-up directions for your computer.

25
Magnetic storage
• Magnetic devices are coated with a magnetically sensitive
material.
• It uses magnetic charges to represent 1 and 0.

magnetic storage devices are as follows:


Floppy disk, Hard disk, Magnetic tape

26
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

Optical storage devices are as follows:


CD, DVD

27
• Types of CDs are as follows:
• CD-ROM - Compact Disc Read Only Memory
• CD-R - Compact Disc Recordable
• CD-RW - Compact Disc Re Writable

• Types of DVDs are as follows:


• DVD-ROM - Digital Versatile Disc Read Only Memory
• DVR-R - DVD Recordable
• DVD-RAM - DVD Random Access Memory
• DVD-RW - DVD Re Writable

28
Solid state storage devices
• It has integrated circuits (IC) to store the data.
• Stores data electronically. Therefore, reads and writes are fast.

solid state storage devices


are as follows:
Flash memory, Smart cards, Solid state disks (SSD)

29
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

30
Components of the CPU
• Control unit (CU)
• Arithmetic logic unit (ALU).
• Memory unit (MU)

31
Control unit :
• This will coordinate and manage all operations in the computer.
• It obtains the instructions from the memory
• communicates with input/output devices

32
Arithmetic logic unit (ALU)

• This will do the part of Arithmetic operations like addition, subtraction,


multiplication, and division and
• do the part of logic operations like comparing, selecting, matching, and
merging of data.

33
Memory unit :

• The memory in CPU called as register (CPU register)


• It is a small set of data holding places that are part of the
computer processor.
• The memory in CPU (CPU register) , stored all data and
instruction that are currently processing on CPU.

34
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.

• Fetch  decode  execute  write back (Store)

35
Fetch
• Read an instruction (program) from main memory.
• The location of main memory is determined by a program counter (PC)

Fetch

36
Decode
• In this step, the loaded instruction (program) split into two
parts;
• op- code (operator )
• Operand (data)

• The decoded value loaded in to the registry.

37
Execute
• Now the instruction will be executed on ALU
• The result will save on main memory.

38
Fetch  decode  execute  write back

CPU

RAM

39
Thanks!

40

You might also like