0% found this document useful (0 votes)
39 views

L2 Introduction To Functions of Different Units

The document describes the main units of a computer system: input, output, memory, and central processing units. It provides details on the functions of each unit and examples of common devices that fall under each unit. The input unit is used to provide input to the computer through various devices like keyboards, mice, scanners, etc. The output unit is used to display or communicate the processed data through monitors, printers, speakers. The memory unit temporarily stores data and instructions and consists of primary memory like RAM and cache and secondary memory like hard disks. The central processing unit contains the control unit and ALU to process instructions and perform calculations.

Uploaded by

Jayan Sama
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
39 views

L2 Introduction To Functions of Different Units

The document describes the main units of a computer system: input, output, memory, and central processing units. It provides details on the functions of each unit and examples of common devices that fall under each unit. The input unit is used to provide input to the computer through various devices like keyboards, mice, scanners, etc. The output unit is used to display or communicate the processed data through monitors, printers, speakers. The memory unit temporarily stores data and instructions and consists of primary memory like RAM and cache and secondary memory like hard disks. The central processing unit contains the control unit and ALU to process instructions and perform calculations.

Uploaded by

Jayan Sama
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 39

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

Optical Character Reader(OCR)


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

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.

Devices categories of Output unit :

• Basically we can categorize Output devices as


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

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

• Clarity - indicated by its resolution. It is measured


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

• Cathode ray tube (CRT) monitor


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

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

• Compare and construct differences between registers, cache


memory and main memory?

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.

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


chip that has start-up directions for your computer.

24
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

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

Optical storage devices are as follows:


CD, DVD

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

• 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

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.

solid state storage devices


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

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 :

• It coordinates the sequence of data flow between a processor’s and


memory units.
• It controls data flow inside the processor also.
• It obtains the instructions from the memory
• communicates with input/output devices

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

32
Memory unit :

• The memory inside CPU is 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/or
instruction that are currently processing on CPU.

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.

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

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)

• The decoded value loaded in to the registry.

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

You might also like