Ics - 2
Ics - 2
Computer Science
Course Code: Comp211
CHAPTER – TWO
Introduction to Computer Systems
What is a computer system and how it works
to process data ?
System is a group of components, consisting of
subsystems or procedures that work in a coordination
fashion to achieve some objective.
Computer system refers to the computer and all the
components interconnected to it.
Basically, the computer system is categorized into two
components:
Computer Hardware
Computer Software
11/22/2024 2
Computer Hardware
Computer hardware is the physical part of the
computer that you see, you use to and the parts you
can touch.
The hardware part of a computer system is composed
of a number of interacting physical parts based on the
need of the information flow.
11/22/2024 3
Cont’d
11/22/2024 4
Information flow in the Computer Hardware
11/22/2024 5
Input Devices
It is used to enter data into the computer so that it can be
processed.
It converts information from a form suitable to human
beings to understandable by the computer.
Examples of input devices: -
Keyboard (which is the most widely used input devices)
Scanner: it translates images of text, drawings
and photos into digital form.
Light pen(a photo cell to choose a displayed response to
request further information)…etc.
Mouse, Camera, Microphone, etc.
11/22/2024 6
Output Devices
Used to get data out of a computer so that it can be
examined, analyzed or distributed to others.
Convert the result of the only-machine understandable
form to a form understandable by human beings.
Examples of Output devices: -
The Visual Display Unit (VDU) or monitor or screen
Printers (dot matrix, DESY wheel, laser printers)
Plotters
Voice (audio) response unit
Disk drives
11/22/2024 7
Central Processing Unit (CPU)
It is the brain of the computer.
It co-ordinate and control the computer activity.
It performs logical and arithmetical operations.
It is the most costly and main component of the computer
system
The different parts are inter connected by a cable like
device called BUS, which is used to facilitate
communications between the parts.
Buses are used to transfer data, address and control code
(signal).
It has three parts (CU,ALU&R)
11/22/2024 8
1. The Control Unit
11/22/2024 21
Cont’d
Operating System (OS)
OS coordinates the activity between the user and the
Computer.
OS has three major functions. Controlling Operations,
Input/output Management & Command Processing.
Controlling operations (control programs): - Coordinates,
or supervises the activity of the computer system.
It decides where programs and data should be stored in the
computer memory.
It handles communications among the computer components,
applications software and the user.
It controls the saving and retrieving of files to and from disks
in the disk drive.
11/22/2024 22
Cont’d
Input/output Management: The I/O manager coordinates
the computers communication with outside world, flow of
data to the display screen and other output devices (printers/
plotters) and from the keyboard or other input devices
It handles the flow of data to and from the disk drives.
Command Processing (Command Interpreter): It
interprets the commands or what you enter using the keyboard
or other input devices.
If you write an internal command it carries out the function of
that command if it is external command or other executable
file it searches for the corresponding file in the default
(current disk) or the user specified disk, loads the file into
memory and transfers control to that program.
11/22/2024 23
Cont’d
Types of Operating Systems
OSs can be classified by: - The number of programs they can
handle at a time, and the number of users they serve at once at
one or different stations.
Single Tasking OSs: With single tasking OSs only one
program can be run on a computer at a time.
In order to run another program, one must remove the first
program loaded in the computers main memory and load
the other one (i.e. It can’t handle two or more programs at a
time).
These types of OSs are single user or can serve only one
user at a time.
11/22/2024 24
Cont’d
Multi User OS: It supports a number of work stations
connected to a central system.
A number of users can use the resources of one high
capacity computer by the help of terminals.
Real Time OS: Often used as a control device in a dedicated
application such as controlling, scientific experiments,
medical imaging systems, industrial control systems, and
some display systems.
A real time is a system that is capable of processing data so
quickly that the results are available to influence the
activity currently taking place.
Example: - air plane seat reservations.
11/22/2024 25
Cont’d
Language Software
Language software’s are software’s which are used by
programmers to develop application software’s and
translate programs to machine code.
It is a generic name consisting of various programs that
serve as editors & translators to develop programs in a
number of programming languages.
It includes Translators, General Purpose Routines and
Utilities, and High-Level Languages.
11/22/2024 26
Cont’d
Translator: is a program that converts one or more languages
to another language.
There are three types of translators, those are Assemblers,
Compiler & interpreters.
Assemblers: is a program that translates assembly
languages into machine code.
Compiler: is a program that translates a high-level
language into machine code. (Pascal, Fortran Cobol)
Interpreter: is a program that translates each instruction
of High-Level Language & executes the instruction
before translating the next instruction.
11/22/2024 27
Cont’d
The general-purpose routine and utilities: include
programs which are used to handle file processing,
editing and debugging.
High level language software: is software which has
their own compilers to detect syntax errors of the user’s
program code.
Example: COBOL, FORTRAN, PASCAL. Etc.
11/22/2024 28
Application Software
It is software that is designed to perform tasks for the specific
area or many areas.
They are usually called application packages as they may
include a number of programs along with operating
instruction, documentation and so forth.
It consists of programs that help the end-user to perform
specific, productive tasks, such as word processing or image
manipulation.
Basically, there are four categories of application SW.
Those are Productivity SW, Home / Personal SW,
Education / Reference SW, and Entertainment SW
11/22/2024 29
Cont’d
Productivity SW: The purpose of this SW is to make the users
more productive at performing general tasks.
E.g. word processing, spread sheets, presentation,
accounting, presentation, database managers, etc.
Home / Personal SW: The purpose of this SW is mainly for
domestic and personal use.
E.g. cook books, medical guide, gardening, etc.
Education / Reference SW: The purpose of this SW is mainly
to learn any subject or to refer for additional information.
For example: Encyclopedia, Dictionaries, etc.
Entertainment SW: The purpose of this SW is for
entertainment and time passing. For example: - games.
11/22/2024 30
Utility Programs
Utility Programs are generally used to support, enhance
or expand existing programs in a Computer System.
Examples of utility programs are
Backup: - To duplicate the data or information for safety.
Data Recovery: - To restore data that is physically
damaged or corrupted.
Virus Protection: - Antivirus software which will
eliminate viruses from affected files or protect files from
being infected from viruses.
Data Compression: - Used to compress huge files and
save memory storage.
11/22/2024 31
?
Thank You!
11/22/2024 32
Quiz (5%)
1. Registers are paths or conduits that connect the ALU to
the Main Memory. (True or False) (1 point)
2. ___ is a types of Language software which are used to
handle file processing, editing and debugging. (1
point)
3. List all the Purpose of CPU? (1 point)
4. Describe translator and types of translators? (2 point)
11/22/2024 33
Answer
1. True
2. General-purpose routine and utilities
3. Purpose of CPU: Fetch Instruction, Interpret
Instruction, Fetch Data, Process Data, Write Data
Translator: is a program that converts one or more languages to
another language.
There are three types of translators: Assemblers Compiler &
interpreters.
Assemblers: is a program that translates assembly languages into machine
code.
Compiler: is a program that translates a high-level language into machine
code. (Pascal, Fortran Cobol)
Interpreter: is a program that translates each instruction of high-level
language & executes the instruction before translating the next instruction.
11/22/2024 34