You are on page 1of 28

INTRODUCTION

TO OPERATING
SYSTEM
PREPARED BY: EFEZA BINTI CHE
APANDEY
SESI I: 2021/2022
Open
Definition

Basic Function

Structure Of OS

Architecture Of OS

Product

Concepts

Components

Open
2
DEFINITION OF OPERATING
SYSTEM
✔ An operating system is the most important ✔ The goal of operating systems is:
software that runs on a computer ○ PRIMARY: to make the
✔ An operating system is an integrated set of computer system convenient to
programs that acts as an intermediary
use in an efficient manner.
between the user and computer hardware.
○ SECOND: to manage the
✔ It is considered the backbone of a computer, resource of a computer system.
managing both software and hardware resources.

Open
3
DEFINITION OF OPERATING
SYSTEM
✔ Operating systems are responsible for everything from the control and
allocation of memory to recognizing input from external devices and
transmitting output to computer displays.

✔ They also manage files on computer hard drives and control peripherals,
like printers and scanners.

✔ Without an operating system, a computer is useless.

Open
4
The Basic Function Of OS

Running
Managing User
Applicatio
Resources Interface
ns

Control
Utilities
Hardware

Open
5
The Basic Function Of OS
Managing Resources User Interface Running
Devices connected to a computer User interface is such a part of an Applications
system, such as memory, storage, I/O operating system that creates a
These programs load and runs
devices etc. are called resources of the platform for users and other
applications such as Word
computer. Operating system controls applications running on the
Processor, Database , Spreadsheet
these resources and enables efficient operating systems to communicate
use of available resources so that the with each other. User interface of
system never runs out of its resources. an operating system facilitates the
Operating system not only controls user to control other software and
these resources but also detect provides ease of use. User
malfunctioning of the resources, interface can be of 3 main types;
checks status and connects resources command controlled, menu driven
to each other. and graphical user interface.
Open
6
The Basic Function Of OS
Utilities Control Hardware
Operating system provides various utilities Operating system sits between the
to the user and other programs such as
programs and the Basic Input
defragmenting files, data compression,
data backup and recovery, anti-virus Output System (BIOS).
utilities etc.

Open
7
Operating System Structure
Monolithics : Layered : Microkernel : Network/ Distributed

Open
MONOLITHIC
 The components of monolithic operating system are organized haphazardly and any
module can call any other module without any reservation
 Applications in monolithic OS are separated from the operating system itself
 The operating system code runs in a privileged processor mode (referred to as kernel
mode), with access to system data and to the hardware; applications run in a non-
privileged processor mode (called as user mode), with a limited set of interfaces
available and with limited access to system data.

Open
9
MONOLITHIC

When a user-mode program calls a system service, the processor traps the call and then switches the calling thread to
kernel mode. Upon completion, thread switched back to the user mode, by the operating system and allows the caller
to continue.

It delivers better application performance, but extending such a system can be difficult work because modifying a
procedure can introduce bugs in seemingly unrelated of the system. The example of this structure like a MS-DOS.

Open
10
LAYERED
• The components of layered OS are organized into modules and layers them on top of
the other
• Each module provide a set of functions that other module can call
• Interface functions at any particular level can invoke services provided by lower
layers but not the other way around
• A layer does not need to know how these services are implemented, it needs to know
only what the service do.

Open
11
LAYEREDAdvantage of layered structure:
• Each layer is given access to only lower-level interfaces (Nth layer
can access services provided by N-1 th layer and provide services o
N+1 th layer
• Allow the OS to be debugged starting at the lowest layer
• Easier to enhance the OS, one entire layer can be replaced without
affecting other parts of the system

Disadvantage of layered structure:


• Delivers low application performance in comparison to monolithic
OS

Open
12
LAYERED

Open
13
MICROKERNEL/CLIENT-
SEVER MODEL
 Moves as much from kernel into “user” space
 The main function of the microkernel is to provide communication facility between the client
program and the various services that are also running in user space
 Communication takes place between user modules using message passing
 If the client program wishes to access a file, it must interact with the server
 The client program and the service never interact directly, they communicate indirectly by
exchanging messages with microkernel

Open
14
MICROKERNEL/CLIENT-
SEVER
Benefits:
MODEL
 Easier to extend microkernel
 Easier to port the operating system to new architecture
 More reliable (less code running in kernel mode)
 More secure
Example : Windows NT

Open
15
NETWORK/ DISTRIBUTED

Open
16
NETWORK/ DISTRIBUTED

Loosely-coupled operating system for heterogeneous multi-computers


(LAN and WAN).
Open
17
NOS: CHARACTERISTICS
Network Operating System
 extension of centralized operating systems
 offer local services to remote clients
 each processor has own operating system
 user owns a machine, but can access others (e.g. rlogin, telnet)
 no global naming of resources
 system has little fault tolerance
 e.g. UNIX, Windows NT, 2000

Open
18
DISTRIBUTED

DOS • Distributed Operating System

• Tightly-coupled operating system


Description for multi-processors and
homogeneous multicomputers

• Hide and manage


Main goal
hardware resources
Open
19
DISTRIBUTED

Tightly-coupled operating system for multi-processors and homogeneous

multi-computers .
Open
20
DOS: CHARACTERISTICS
 Distributed Operating Systems
 Allows a multiprocessor multicomputer network resources to be integrated as
a single system image
 Hide and manage hardware and software resources
 provide heterogeneity support
 control network in most effective way
 remote file and device access
 synchronization and deadlock avoidance
 resource allocation and protection
 global resource sharing
 deadlock avoidance
 communication security
 no examples in general use but many research systems: Amoeba, Chorus etc.

Open
21
COMPARISON

DOS NOS
Open
22
Take A
Break! Any questions?

!!
Open
23
Operating Systems
Architecture

Open
24
SINGLE CLUSTE
MULTIPROCESSO
PROCESSO RED
R
R
SYSTEM SYSTE
SYSTEM
M

Open
25
• A single processor system
contains only one
processor.

• Only one process can be


executed at a time and
then the process is selected
from the ready queue.

SINGLE PROCESSOR
Open
Open
SYSTEM 26
• A computer system in which two or
more CPUs

• System have long been used in


systems that need a lot of processing
power.

• All processors are considered peers


and run independently of one
another.

• Expensive and not needed office


users.by normal home or

MULTIPROCESSOR
SYSTEM
Open
27
CLUSTERED
SYSTEM

• Multiple-CPU system
• Gather together multiple CPUs to accomplish computational
work.
• Composed of two or more individual system (single processor
@multi processor system)

Open
28

You might also like