Unit 1
Unit 1
M.A. Zahed
Lecturer
Unit I: Introduction to OS
What is an Operating System?
manage I/O
• Provides uniform interface between controller
and kernel
Storage-Device Hierarchy
Protection and Security
Protection – mechanism for controlling
access of processes or users to
resources defined by the OS
Security – defense of the system
against internal and external attacks
• Huge range, including denial-of-service,
worms, viruses, identity theft, theft of
service
Views in OS
Views of OS
Users View
-If user is working on single autonomous
PC, then performance is mostly taken into
consideration. OS is designed to give ease
of use and gain performance. In this case
optimum resource utilization will not be
given so much attention
Views of OS
Users View
Bank statements.
Multiprogrammed OS
Multiprogrammed OS
Multiprogrammed OS
Multiprogrammed OS
Multiprogrammed OS
Advantages
Increased CPU utilization
Loosely coupled.
Types of distributed OS
Multiprocessor System
It offers support for multiple processors
having access to a shared memory.
The data structures are required by OS to
deal with hardware and are placed in
RAM.
Multiple processors can access these
data. So protection against simultaneous
access is needed to ensure consistency.
Multiprocessor System
Its main aim is to achieve high
performance. The key goal is to hide the
presence of number of CPUs from the
application/user.
All communication is made by
manipulation data at shared memory
location, and it is required to protect data
against concurrent access.
Multiprocessor System
Mobile OS
It is used for phone tablets and mobile
like devices.
Personal digital assistants (PDA), palm and
pocket PCs are handheld systems.
Concerning their less memory and
relatively slow processor capacity, it is a
job of OS to manage all of them
efficiently.
Android OS
It combines open source code with
closed third party applications.