SlideShare a Scribd company logo
Operating System
Gevita
Chinnaiah
19/6/2023
Chapter 1 : Operating System
 What is an Operating System
 Computer System Structure
 Four Components of a Computer
System
 Functions of Operating System
 Types of Operating Systems
 Operating System Services
 Operating System Properties
 Exercise
What is an Operating System?
 A program that acts as an intermediary
between a user of a computer and the
computer hardware
 It is a program that manages hardware
resources.
 It provides services to application
programs.
Operating system goals:
◦ Execute user programs and make solving
user problems easier
◦ Make the computer system convenient to use
◦ Use the computer hardware in an efficient
manner
Computer System Structure
Computer system can be divided into four
components
 Hardware – provides basic computing resources
◦ CPU, memory, I/O devices
 Operating system
◦ Controls and coordinates use of hardware among
various applications and users
 Application programs – define the ways in which
the system resources are used to solve the
computing problems of the users
◦ Word processors, compilers, web browsers, database
systems, video games
 Users
◦ People, machines, other computers
Four Components of a
Computer System
Functions of Operating
System
Memory Management
 Main memory provides a fast storage that
can be access directly by the CPU.
◦ Keeps tracks of primary memory i.e. what
part of it are in use by whom, what part are
not in use.
◦ In multiprogramming, OS decides which
process will get memory when and how
much.
◦ Allocates the memory when the process
requests it to do so.
◦ De-allocates the memory when the process
no longer needs it or has been terminated.
Functions of Operating
System (Cont.)
Processor Management
 In multiprogramming environment, OS
decides which process gets the
processor when and how much time.
◦ Keeps tracks of processor and status of
process. Program responsible for this task
is known as traffic controller.
◦ Allocates the processor (CPU) to a
process.
◦ De-allocates processor when processor is
no longer required.
Functions of Operating
System (Cont.)
Device Management
 OS manages device communication via
their respective drivers.
◦ Keeps tracks of all devices. Program
responsible for this task is known as the I/O
controller.
◦ Decides which process gets the device when
and for how much time.
◦ Allocates the device in the efficient way.
◦ De-allocates devices.
Functions of Operating
System (Cont.)
File Management
 A file system is normally organized into
directories for easy navigation and
usage. These directories may contain
files and other directions.
◦ Keeps track of information, location, uses,
status etc. The collective facilities are often
known as file system.
◦ Decides who gets the resources.
◦ Allocates the resources.
◦ De-allocates the resources.
Functions of Operating
System (Cont.)
Other Important Activities
 Security
◦ By means of password and similar other techniques, preventing
unauthorized access to programs and data.
 Control over system performance
◦ Recording delays between request for a service and response from
the system.
 Job accounting
◦ Keeping track of time and resources used by various jobs and users.
 Error detecting aids
◦ Production of dumps, traces, error messages and other debugging
and error detecting aids.
 Coordination between other software and users
◦ Coordination and assignment of compilers, interpreters, assemblers
and other software to the various users of the computer systems.
Types of Operating
Systems
Is There More Than One Type
of OS?
•Generally, there are four types,
based on the type of computer
they control and the sort of
applications they support.
1. Desktop Operating
Systems
Types of Operating
Systems
2. Server Operating Systems
are specifically tailored to run on
servers, which are powerful
computers that serve multiple clients.
Types of Operating Systems
3. Embedded Operating Systems
RTOS are used to control machinery,
scientific instruments, and industrial
systems.
There is typically very little user-
interface capability.
Types of Operating Systems
4. Mobile operating systems
are designed for smartphones, tablets,
and other mobile devices.
Popular mobile operating systems include
Android (developed by Google), iOS
(developed by Apple), and Windows 10
Mobile.
Batch Operating System
 Users of a batch operating system don't
have direct contact with the computer.
 Advantages:
◦ It can be used by more than one person at
the same time.
◦ Cut down on how long it takes for the system
to run all the programs.
 Disadvantages:
◦ If a job doesn't work, the other jobs will have
to wait for a time that isn't known.
◦ Batch systems aren't always cheap.
◦ Hard to fix bugs in.
Multi-processor Operating
System
 If you have more than one CPU, you may
want to consider an OS designed for
multiprocessors. Multi-processor systems
typically use this operating system.
 Advantages:
◦ It's what makes it possible for the computer to
process several tasks at once.
◦ Games, scientific calculations, and financial
simulations are just a few examples of tasks that
can benefit from access to the whole processing
power.
 Disadvantages:
◦ They cost more because they need more CPUs
and memory units.
Multiprogramming Operating
System
 A single processor computer can run more than one
programs at the same time.
 Advantages:
◦ Reduced reaction time is one of its benefits.
◦ The ability to perform multiple tasks within the same
program at once could be useful.
◦ Multiple people can utilize the multiprogramming system
simultaneously.
◦ Unlike longer-term projects, short-term tasks can be
completed quickly.
◦ This has the potential to speed up the completion of
temporary projects.
◦ Increased CPU utilization and zero downtime are the
results.
◦ Smart use of resources is evident.
Multiprogramming Operating
System (Cont.)
 Disadvantages:
◦ It's incredibly intricate and complex.
◦ Computer processor scheduling is
essential.
◦ Operating systems require
memory management since all tasks are
kept in system memory.
◦ Managing everything is the more difficult
task.
◦ Long wait times for permanent positions
are to be expected if there are several
Distributed Operating System
 A distributed OS can run on a group of
computers at the same time.
 Distributed systems are used to spread data
and applications
 Distributed systems are also used by
computer networks to coordinate the parts of
their hardware and software that are shared
 Multiple computers share a single data link in
this type of network
 Each system has its own computing power
and storage space, which are not linked to
each other.
Distributed Operating System
(Cont.)
 Advantages:
◦ It is safer because if one computer fails, it won't affect
the other computers or the whole system.
◦ All computers can work on their own.
◦ Since resources are shared, the overall cost is lower.
◦ As more resources are shared, the system runs more
quickly.
◦ The load on the host system is lower.
◦ It is easy to add computers to the system.
 Disadvantages:
◦ High Setup cost.
◦ The whole system will fail if the server fails.
◦ Such a system uses software with a lot of moving
parts.
Time sharing Operating
System
 A time-sharing operating system is a
programs that allows numerous
concurrent users with a shared user
interface.
 It enables concurrent access to the same
resources, such as files and applications,
by several users who are simultaneously
logged in.
 his operating system is most prevalent in
businesses, particularly those with many
concurrent users
 Time-sharing operating systems allow
users to complete their tasks
concurrently.
Time sharing Operating
System (Cont.)
 Advantages:
◦ It delivers a speedy response.
◦ Reduces idle CPU time.
◦ Each task is assigned a set duration of time.
◦ Less likelihood of duplicate software.
◦ Improves response time.
◦ Friendly and user-friendly.
 Disadvantages:
◦ It utilizes numerous resources.
◦ Requires hardware with high specifications.
◦ It has a dependability concern.
◦ A problem with the security and integrity of user data and
programs.
◦ Probability of data transmission issues.
Network Operating System
 A network operating system, sometimes known as
NOS, is software that links several computers and
devices to a network and enables those devices to
share the network's resources.
 Advantages:
◦ It is easy to add new technology and hardware upgrades to
the system.
◦ The server can be accessed from different places and
different kinds of computers.
◦ The server in the middle is very stable.
◦ The server is in charge of security.
 Disadvantages:
◦ Most things have to do with the central location.
◦ It costs a lot of money to buy and run servers.
◦ It needs to be looked after and updated regularly.
Mobile Operating System
 Mobile operating systems are a subset of
operating systems (OS) developed specifically to
run on mobile devices such as smart phones ,
tablets , and wearable technology include smart
watches and smart glasses.
 Advantages:
◦ The ability to do multiple tasks.
◦ Stability and assurance of protection
◦ Utilizing mobility software to provide a great
experience for users.
◦ Capability of living up to the standards set by users.
◦ Secure mobile data access.
◦ Improve departmental communications.
◦ Aid for the labor force
Mobile Operating System
(Cont.)
 Disadvantages:
◦ Apps keep running even when you're not
using them.
◦ Things are hard for developers.
◦ Smartphones with low specs run slowly.
◦ Defence From Viruses. ...
◦ There are a lot of ads in apps.
◦ It doesn't help older people.
◦ You need a Google account.
◦ Software that has bad content.
Multi-tasking Operating
System
 Operating systems that support multi-tasking are built
with the intention of allowing numerous applications to
execute at the same time.
 Operating systems that support multitasking make it
possible for numerous people to collaborate
simultaneously on the same document or programs
 Advantages:
◦ Better response.
◦ Each task gets an equal opportunity.
◦ CPU idle time decreases which boosts the performance.
 Disadvantages:
◦ Since a single processor will be running multiple tasks, the
CPU will be busy and may get hot.
◦ Memory Boundation : During multitasking, the main
memory (RAM) has to hold more than one process, so
there could be a memory limit.
Client/Server Operating
System
 Client/server network operating systems
refer to networks with two types of
nodes, namely servers and clients.
 Both the server and client computers in a
client/server system must have particular
software installed in order to
communicate safely across a network
connection.
 The servers are the computers that
deliver network services.
 Client/server networks are typically
employed in corporate and government
applications.
Client/Server Operating
System (Cont.)
 Advantages:
◦ Allows companies to boost computing resources without buying
new hardware.
◦ Client-server systems can swiftly adapt to changing business
needs.
◦ Dedicated server solutions are less stable and harder to
maintain.
◦ Cheaper operations.
◦ More stable and manageable than dedicated server systems
 Disadvantages:
◦ These operating systems require more sophisticated
management and networking technology, longer start up times,
and increased attack susceptibility.
◦ Less secure than systems with dedicated servers.
◦ More difficult to scale than standalone server systems.
Real time Operating System
 A real-time operating system is an OS
for real-time applications that need to
process data and events in a very
specific amount of time
 Hard real-time systems
◦ Hard real-time systems guarantee that
critical tasks complete on time
 Soft real-time systems
◦ Soft real time systems are less restrictive
Real time Operating System
(Cont.)
 Advantages:
◦ Utilization of technology and resources to
their fullest extent.
◦ This system is nearly error-free.
 Disadvantages:
◦ Real-time Operating System employs very
complicated algorithms.
◦ Limited duties.
◦ Use Significant System resources.
Operating System Services
 An Operating System provides
services to both the users and to the
programs.
◦ It provides programs, an environment to
execute.
◦ It provides users, services to execute the
programs in a convenient manner.
Operating System Services
(Cont.)
 Program execution
◦ Loads a program into memory.
◦ Executes the program.
◦ Handles program's execution.
◦ Provides a mechanism for process
synchronization.
◦ Provides a mechanism for process
communication.
◦ Provides a mechanism for deadlock
handling.
Operating System Services
(Cont.)
 I/O Operation
◦ I/O operation means read or write
operation with any file or any specific I/O
device.
◦ Program may require any I/O device while
running.
◦ Operating system provides the access to
the required I/O device when required.
Operating System Services
(Cont.)
 File system manipulation
◦ Program needs to read a file or write a file.
◦ The operating system gives the permission to the
program for operation on file.
◦ Permission varies from read-only, read-write,
denied and so on.
◦ Operating System provides an interface to the
user to create/delete files.
◦ Operating System provides an interface to the
user to create/delete directories.
◦ Operating System provides an interface to create
the backup of file system.
Operating System Services
(Cont.)
 Communication
◦ Two processes often require data to be
transferred between them.
◦ The both processes can be on the one
computer or on different computer but are
connected through computer network.
◦ Communication may be implemented by
two methods either by Shared Memory or
by Message Passing.
Operating System Services
(Cont.)
 Error handling
◦ OS constantly remains aware of possible
errors.
◦ OS takes the appropriate action to ensure
correct and consistent computing.
Operating System Services
(Cont.)
 Resource Management
◦ OS manages all kind of resources using
schedulers.
◦ CPU scheduling algorithms are used for
better utilization of CPU.
Operating System Services
(Cont.)
 Protection
◦ OS ensures that all access to system
resources is controlled.
◦ OS ensures that external I/O devices are
protected from invalid access attempts.
◦ OS provides authentication feature for
each user by means of a password.
Operating System Properties
 Batch processing
◦ OS defines a job which has predefined
sequence of commands, programs and data
as a single unit.
◦ OS keeps a number a jobs in memory and
executes them without any manual
information.
◦ Jobs are processed in the order of
submission i.e. first come first served fashion.
◦ When job completes its execution, its
memory is released and the output for the job
gets copied into an output spool for later
printing or processing.
Operating System Properties
(Cont.)
 Multitasking
◦ The user gives instructions to the operating system or
to a program directly, and receives an immediate
response.
◦ Operating System handles multitasking in the way
that it can handle multiple operations / executes
multiple programs at a time.
◦ Multitasking Operating Systems are also known as
Time-sharing systems.
◦ These Operating Systems were developed to provide
interactive use of a computer system at a reasonable
cost.
◦ A time-shared operating system uses concept of CPU
scheduling and multiprogramming to provide each
user with a small portion of a time-shared CPU.
◦ Each user has at least one separate program in
memory.
Operating System Properties
(Cont.)
◦ A program that is loaded into memory and is executing is
commonly referred to as a process.
◦ When a process executes, it typically executes for only a
very short time before it either finishes or needs to perform
I/O.
◦ Since interactive I/O typically runs at people speeds, it may
take a long time to complete. During this time a CPU can
be utilized by another process.
◦ Operating system allows the users to share the computer
simultaneously. Since each action or command in a time-
shared system tends to be short, only a little CPU time is
needed for each user.
◦ As the system switches CPU rapidly from one
user/program to the next, each user is given the impression
that he/she has his/her own CPU, whereas actually one
CPU is being shared among many users.
Operating System Properties
(Cont.)
 Multiprogramming
◦ The operating system keeps several jobs in
memory at a time.
◦ This set of jobs is a subset of the jobs kept in
the job pool.
◦ The operating system picks and begins to
execute one of the job in the memory.
◦ Multiprogramming operating system monitors
the state of all active programs and system
resources using memory management
programs to ensures that the CPU is never
idle unless there are no jobs
Operating System Properties
(Cont.)
 Interactivity
◦ OS provides user an interface to interact
with system.
◦ OS managers input devices to take inputs
from the user. For example, keyboard.
◦ OS manages output devices to show
outputs to the user. For example, Monitor.
◦ OS Response time needs to be short
since the user submits and waits for the
result.
Operating System Properties
(Cont.)
 Real Time System
◦ In such systems, Operating Systems
typically read from and react to sensor
data.
◦ The Operating system must guarantee
response to events within fixed periods of
time to ensure correct performance.
Operating System Properties
(Cont.)
 Distributed Environment
◦ OS Distributes computation logics among
several physical processors.
◦ The processors do not share memory or a
clock.
◦ Instead, each processor has its own local
memory.
◦ OS manages the communications
between the processors. They
communicate with each other through
various communication lines.
Thank you

More Related Content

Similar to Operating System chapter 1.pptx

OS introduction.pptx
OS introduction.pptxOS introduction.pptx
OS introduction.pptx
DivyaKS18
 
Ch1 - OS.pdf
Ch1 - OS.pdfCh1 - OS.pdf
Ch1 - OS.pdf
OmarKamil1
 
4 Module - Operating Systems Configuration and Use by Mark John Lado
4 Module - Operating Systems Configuration and Use by Mark John Lado4 Module - Operating Systems Configuration and Use by Mark John Lado
4 Module - Operating Systems Configuration and Use by Mark John Lado
Mark John Lado, MIT
 
Introduction to operating systems
 Introduction to operating systems Introduction to operating systems
Introduction to operating systems
Kumbirai Junior Muzavazi
 
Os ch1
Os ch1Os ch1
ch1.ppt
ch1.pptch1.ppt
ch1.ppt
VandanaGaria
 
os unit 1 (2).pptx. introduction to operating systems
os unit 1 (2).pptx. introduction to operating systemsos unit 1 (2).pptx. introduction to operating systems
os unit 1 (2).pptx. introduction to operating systems
ssuser6aef00
 
Advanced computer architecture lesson 1 and 2
Advanced computer architecture lesson 1 and 2Advanced computer architecture lesson 1 and 2
Advanced computer architecture lesson 1 and 2
Ismail Mukiibi
 
OS.pptx
OS.pptxOS.pptx
OS.pptx
NG911
 
OPERATING SYSTEM.pdf
OPERATING SYSTEM.pdfOPERATING SYSTEM.pdf
OPERATING SYSTEM.pdf
DhananjayKumar769617
 
OPERATING SYSTEM.pdf
OPERATING SYSTEM.pdfOPERATING SYSTEM.pdf
OPERATING SYSTEM.pdf
RohitKumar11651
 
Unit 1_Operating system
Unit 1_Operating system Unit 1_Operating system
Unit 1_Operating system
JayeshGadhave1
 
Os unit i
Os unit iOs unit i
Os unit i
SandhyaTatekalva
 
Operating System DOS and Windows
Operating System DOS and WindowsOperating System DOS and Windows
Operating System DOS and Windows
YasirKhan357
 
Fundamental Operating System Concepts.pptx
Fundamental Operating System Concepts.pptxFundamental Operating System Concepts.pptx
Fundamental Operating System Concepts.pptx
Uttara University
 
lecture 1 (Introduction to Operating System.)
lecture 1 (Introduction to Operating System.)lecture 1 (Introduction to Operating System.)
lecture 1 (Introduction to Operating System.)
WajeehaBaig
 
week-1-200310134908.pptx
week-1-200310134908.pptxweek-1-200310134908.pptx
week-1-200310134908.pptx
ssuser5c874e
 
Introduction to OS 1.ppt
Introduction to OS 1.pptIntroduction to OS 1.ppt
Introduction to OS 1.ppt
ShannykumarSingh
 
Operation Java games apps systems presentation
Operation Java games apps systems presentationOperation Java games apps systems presentation
Operation Java games apps systems presentation
nofove2839
 
Operating System-adi.pdf
Operating System-adi.pdfOperating System-adi.pdf
Operating System-adi.pdf
Prof. Dr. K. Adisesha
 

Similar to Operating System chapter 1.pptx (20)

OS introduction.pptx
OS introduction.pptxOS introduction.pptx
OS introduction.pptx
 
Ch1 - OS.pdf
Ch1 - OS.pdfCh1 - OS.pdf
Ch1 - OS.pdf
 
4 Module - Operating Systems Configuration and Use by Mark John Lado
4 Module - Operating Systems Configuration and Use by Mark John Lado4 Module - Operating Systems Configuration and Use by Mark John Lado
4 Module - Operating Systems Configuration and Use by Mark John Lado
 
Introduction to operating systems
 Introduction to operating systems Introduction to operating systems
Introduction to operating systems
 
Os ch1
Os ch1Os ch1
Os ch1
 
ch1.ppt
ch1.pptch1.ppt
ch1.ppt
 
os unit 1 (2).pptx. introduction to operating systems
os unit 1 (2).pptx. introduction to operating systemsos unit 1 (2).pptx. introduction to operating systems
os unit 1 (2).pptx. introduction to operating systems
 
Advanced computer architecture lesson 1 and 2
Advanced computer architecture lesson 1 and 2Advanced computer architecture lesson 1 and 2
Advanced computer architecture lesson 1 and 2
 
OS.pptx
OS.pptxOS.pptx
OS.pptx
 
OPERATING SYSTEM.pdf
OPERATING SYSTEM.pdfOPERATING SYSTEM.pdf
OPERATING SYSTEM.pdf
 
OPERATING SYSTEM.pdf
OPERATING SYSTEM.pdfOPERATING SYSTEM.pdf
OPERATING SYSTEM.pdf
 
Unit 1_Operating system
Unit 1_Operating system Unit 1_Operating system
Unit 1_Operating system
 
Os unit i
Os unit iOs unit i
Os unit i
 
Operating System DOS and Windows
Operating System DOS and WindowsOperating System DOS and Windows
Operating System DOS and Windows
 
Fundamental Operating System Concepts.pptx
Fundamental Operating System Concepts.pptxFundamental Operating System Concepts.pptx
Fundamental Operating System Concepts.pptx
 
lecture 1 (Introduction to Operating System.)
lecture 1 (Introduction to Operating System.)lecture 1 (Introduction to Operating System.)
lecture 1 (Introduction to Operating System.)
 
week-1-200310134908.pptx
week-1-200310134908.pptxweek-1-200310134908.pptx
week-1-200310134908.pptx
 
Introduction to OS 1.ppt
Introduction to OS 1.pptIntroduction to OS 1.ppt
Introduction to OS 1.ppt
 
Operation Java games apps systems presentation
Operation Java games apps systems presentationOperation Java games apps systems presentation
Operation Java games apps systems presentation
 
Operating System-adi.pdf
Operating System-adi.pdfOperating System-adi.pdf
Operating System-adi.pdf
 

More from GevitaChinnaiah

Software Programming with Python II.pptx
Software Programming with Python II.pptxSoftware Programming with Python II.pptx
Software Programming with Python II.pptx
GevitaChinnaiah
 
a basic java programming and data type.ppt
a basic java programming and data type.ppta basic java programming and data type.ppt
a basic java programming and data type.ppt
GevitaChinnaiah
 
Install an Operating System.pptx
Install an Operating System.pptxInstall an Operating System.pptx
Install an Operating System.pptx
GevitaChinnaiah
 
Solve Stop Code Memory Management on Windows.pptx
Solve Stop Code Memory Management on Windows.pptxSolve Stop Code Memory Management on Windows.pptx
Solve Stop Code Memory Management on Windows.pptx
GevitaChinnaiah
 
windows memory management.pptx
windows memory management.pptxwindows memory management.pptx
windows memory management.pptx
GevitaChinnaiah
 
Introduction to Database Management.pptx
Introduction to Database Management.pptxIntroduction to Database Management.pptx
Introduction to Database Management.pptx
GevitaChinnaiah
 
OPERATING SYSTEM CHAPTER 3.ppt
OPERATING SYSTEM CHAPTER 3.pptOPERATING SYSTEM CHAPTER 3.ppt
OPERATING SYSTEM CHAPTER 3.ppt
GevitaChinnaiah
 
Lecture 3 React Native with Database.pptx
Lecture 3 React Native with Database.pptxLecture 3 React Native with Database.pptx
Lecture 3 React Native with Database.pptx
GevitaChinnaiah
 
Database Management System (DBMS).pptx
Database Management System (DBMS).pptxDatabase Management System (DBMS).pptx
Database Management System (DBMS).pptx
GevitaChinnaiah
 
Lecture 2 Styling and Layout in React Native.pptx
Lecture 2 Styling and Layout in React Native.pptxLecture 2 Styling and Layout in React Native.pptx
Lecture 2 Styling and Layout in React Native.pptx
GevitaChinnaiah
 
Lecture 1 Introduction to React Native.pptx
Lecture 1 Introduction to React Native.pptxLecture 1 Introduction to React Native.pptx
Lecture 1 Introduction to React Native.pptx
GevitaChinnaiah
 
Understanding Applications.pptx
Understanding Applications.pptxUnderstanding Applications.pptx
Understanding Applications.pptx
GevitaChinnaiah
 
Operating System 2.pptx
Operating System 2.pptxOperating System 2.pptx
Operating System 2.pptx
GevitaChinnaiah
 
Operating System 1.pptx
Operating System 1.pptxOperating System 1.pptx
Operating System 1.pptx
GevitaChinnaiah
 
INTRODUCTION TO DATABASE AND QUERING.pptx
INTRODUCTION TO DATABASE AND QUERING.pptxINTRODUCTION TO DATABASE AND QUERING.pptx
INTRODUCTION TO DATABASE AND QUERING.pptx
GevitaChinnaiah
 

More from GevitaChinnaiah (15)

Software Programming with Python II.pptx
Software Programming with Python II.pptxSoftware Programming with Python II.pptx
Software Programming with Python II.pptx
 
a basic java programming and data type.ppt
a basic java programming and data type.ppta basic java programming and data type.ppt
a basic java programming and data type.ppt
 
Install an Operating System.pptx
Install an Operating System.pptxInstall an Operating System.pptx
Install an Operating System.pptx
 
Solve Stop Code Memory Management on Windows.pptx
Solve Stop Code Memory Management on Windows.pptxSolve Stop Code Memory Management on Windows.pptx
Solve Stop Code Memory Management on Windows.pptx
 
windows memory management.pptx
windows memory management.pptxwindows memory management.pptx
windows memory management.pptx
 
Introduction to Database Management.pptx
Introduction to Database Management.pptxIntroduction to Database Management.pptx
Introduction to Database Management.pptx
 
OPERATING SYSTEM CHAPTER 3.ppt
OPERATING SYSTEM CHAPTER 3.pptOPERATING SYSTEM CHAPTER 3.ppt
OPERATING SYSTEM CHAPTER 3.ppt
 
Lecture 3 React Native with Database.pptx
Lecture 3 React Native with Database.pptxLecture 3 React Native with Database.pptx
Lecture 3 React Native with Database.pptx
 
Database Management System (DBMS).pptx
Database Management System (DBMS).pptxDatabase Management System (DBMS).pptx
Database Management System (DBMS).pptx
 
Lecture 2 Styling and Layout in React Native.pptx
Lecture 2 Styling and Layout in React Native.pptxLecture 2 Styling and Layout in React Native.pptx
Lecture 2 Styling and Layout in React Native.pptx
 
Lecture 1 Introduction to React Native.pptx
Lecture 1 Introduction to React Native.pptxLecture 1 Introduction to React Native.pptx
Lecture 1 Introduction to React Native.pptx
 
Understanding Applications.pptx
Understanding Applications.pptxUnderstanding Applications.pptx
Understanding Applications.pptx
 
Operating System 2.pptx
Operating System 2.pptxOperating System 2.pptx
Operating System 2.pptx
 
Operating System 1.pptx
Operating System 1.pptxOperating System 1.pptx
Operating System 1.pptx
 
INTRODUCTION TO DATABASE AND QUERING.pptx
INTRODUCTION TO DATABASE AND QUERING.pptxINTRODUCTION TO DATABASE AND QUERING.pptx
INTRODUCTION TO DATABASE AND QUERING.pptx
 

Recently uploaded

Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
Balvir Singh
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative Thoughts
Col Mukteshwar Prasad
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
Nguyen Thanh Tu Collection
 
How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS Module
Celine George
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
Anna Sz.
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
beazzy04
 
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxMARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
bennyroshan06
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdfESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
Fundacja Rozwoju Społeczeństwa Przedsiębiorczego
 
Introduction to Quality Improvement Essentials
Introduction to Quality Improvement EssentialsIntroduction to Quality Improvement Essentials
Introduction to Quality Improvement Essentials
Excellence Foundation for South Sudan
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
Jheel Barad
 

Recently uploaded (20)

Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative Thoughts
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
 
How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS Module
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
 
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxMARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdfESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
 
Introduction to Quality Improvement Essentials
Introduction to Quality Improvement EssentialsIntroduction to Quality Improvement Essentials
Introduction to Quality Improvement Essentials
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 

Operating System chapter 1.pptx

  • 2. Chapter 1 : Operating System  What is an Operating System  Computer System Structure  Four Components of a Computer System  Functions of Operating System  Types of Operating Systems  Operating System Services  Operating System Properties  Exercise
  • 3. What is an Operating System?  A program that acts as an intermediary between a user of a computer and the computer hardware  It is a program that manages hardware resources.  It provides services to application programs. Operating system goals: ◦ Execute user programs and make solving user problems easier ◦ Make the computer system convenient to use ◦ Use the computer hardware in an efficient manner
  • 4. Computer System Structure Computer system can be divided into four components  Hardware – provides basic computing resources ◦ CPU, memory, I/O devices  Operating system ◦ Controls and coordinates use of hardware among various applications and users  Application programs – define the ways in which the system resources are used to solve the computing problems of the users ◦ Word processors, compilers, web browsers, database systems, video games  Users ◦ People, machines, other computers
  • 5. Four Components of a Computer System
  • 6. Functions of Operating System Memory Management  Main memory provides a fast storage that can be access directly by the CPU. ◦ Keeps tracks of primary memory i.e. what part of it are in use by whom, what part are not in use. ◦ In multiprogramming, OS decides which process will get memory when and how much. ◦ Allocates the memory when the process requests it to do so. ◦ De-allocates the memory when the process no longer needs it or has been terminated.
  • 7. Functions of Operating System (Cont.) Processor Management  In multiprogramming environment, OS decides which process gets the processor when and how much time. ◦ Keeps tracks of processor and status of process. Program responsible for this task is known as traffic controller. ◦ Allocates the processor (CPU) to a process. ◦ De-allocates processor when processor is no longer required.
  • 8. Functions of Operating System (Cont.) Device Management  OS manages device communication via their respective drivers. ◦ Keeps tracks of all devices. Program responsible for this task is known as the I/O controller. ◦ Decides which process gets the device when and for how much time. ◦ Allocates the device in the efficient way. ◦ De-allocates devices.
  • 9. Functions of Operating System (Cont.) File Management  A file system is normally organized into directories for easy navigation and usage. These directories may contain files and other directions. ◦ Keeps track of information, location, uses, status etc. The collective facilities are often known as file system. ◦ Decides who gets the resources. ◦ Allocates the resources. ◦ De-allocates the resources.
  • 10. Functions of Operating System (Cont.) Other Important Activities  Security ◦ By means of password and similar other techniques, preventing unauthorized access to programs and data.  Control over system performance ◦ Recording delays between request for a service and response from the system.  Job accounting ◦ Keeping track of time and resources used by various jobs and users.  Error detecting aids ◦ Production of dumps, traces, error messages and other debugging and error detecting aids.  Coordination between other software and users ◦ Coordination and assignment of compilers, interpreters, assemblers and other software to the various users of the computer systems.
  • 12. Is There More Than One Type of OS? •Generally, there are four types, based on the type of computer they control and the sort of applications they support. 1. Desktop Operating Systems
  • 13. Types of Operating Systems 2. Server Operating Systems are specifically tailored to run on servers, which are powerful computers that serve multiple clients.
  • 14. Types of Operating Systems 3. Embedded Operating Systems RTOS are used to control machinery, scientific instruments, and industrial systems. There is typically very little user- interface capability.
  • 15. Types of Operating Systems 4. Mobile operating systems are designed for smartphones, tablets, and other mobile devices. Popular mobile operating systems include Android (developed by Google), iOS (developed by Apple), and Windows 10 Mobile.
  • 16. Batch Operating System  Users of a batch operating system don't have direct contact with the computer.  Advantages: ◦ It can be used by more than one person at the same time. ◦ Cut down on how long it takes for the system to run all the programs.  Disadvantages: ◦ If a job doesn't work, the other jobs will have to wait for a time that isn't known. ◦ Batch systems aren't always cheap. ◦ Hard to fix bugs in.
  • 17. Multi-processor Operating System  If you have more than one CPU, you may want to consider an OS designed for multiprocessors. Multi-processor systems typically use this operating system.  Advantages: ◦ It's what makes it possible for the computer to process several tasks at once. ◦ Games, scientific calculations, and financial simulations are just a few examples of tasks that can benefit from access to the whole processing power.  Disadvantages: ◦ They cost more because they need more CPUs and memory units.
  • 18. Multiprogramming Operating System  A single processor computer can run more than one programs at the same time.  Advantages: ◦ Reduced reaction time is one of its benefits. ◦ The ability to perform multiple tasks within the same program at once could be useful. ◦ Multiple people can utilize the multiprogramming system simultaneously. ◦ Unlike longer-term projects, short-term tasks can be completed quickly. ◦ This has the potential to speed up the completion of temporary projects. ◦ Increased CPU utilization and zero downtime are the results. ◦ Smart use of resources is evident.
  • 19. Multiprogramming Operating System (Cont.)  Disadvantages: ◦ It's incredibly intricate and complex. ◦ Computer processor scheduling is essential. ◦ Operating systems require memory management since all tasks are kept in system memory. ◦ Managing everything is the more difficult task. ◦ Long wait times for permanent positions are to be expected if there are several
  • 20. Distributed Operating System  A distributed OS can run on a group of computers at the same time.  Distributed systems are used to spread data and applications  Distributed systems are also used by computer networks to coordinate the parts of their hardware and software that are shared  Multiple computers share a single data link in this type of network  Each system has its own computing power and storage space, which are not linked to each other.
  • 21. Distributed Operating System (Cont.)  Advantages: ◦ It is safer because if one computer fails, it won't affect the other computers or the whole system. ◦ All computers can work on their own. ◦ Since resources are shared, the overall cost is lower. ◦ As more resources are shared, the system runs more quickly. ◦ The load on the host system is lower. ◦ It is easy to add computers to the system.  Disadvantages: ◦ High Setup cost. ◦ The whole system will fail if the server fails. ◦ Such a system uses software with a lot of moving parts.
  • 22. Time sharing Operating System  A time-sharing operating system is a programs that allows numerous concurrent users with a shared user interface.  It enables concurrent access to the same resources, such as files and applications, by several users who are simultaneously logged in.  his operating system is most prevalent in businesses, particularly those with many concurrent users  Time-sharing operating systems allow users to complete their tasks concurrently.
  • 23. Time sharing Operating System (Cont.)  Advantages: ◦ It delivers a speedy response. ◦ Reduces idle CPU time. ◦ Each task is assigned a set duration of time. ◦ Less likelihood of duplicate software. ◦ Improves response time. ◦ Friendly and user-friendly.  Disadvantages: ◦ It utilizes numerous resources. ◦ Requires hardware with high specifications. ◦ It has a dependability concern. ◦ A problem with the security and integrity of user data and programs. ◦ Probability of data transmission issues.
  • 24. Network Operating System  A network operating system, sometimes known as NOS, is software that links several computers and devices to a network and enables those devices to share the network's resources.  Advantages: ◦ It is easy to add new technology and hardware upgrades to the system. ◦ The server can be accessed from different places and different kinds of computers. ◦ The server in the middle is very stable. ◦ The server is in charge of security.  Disadvantages: ◦ Most things have to do with the central location. ◦ It costs a lot of money to buy and run servers. ◦ It needs to be looked after and updated regularly.
  • 25. Mobile Operating System  Mobile operating systems are a subset of operating systems (OS) developed specifically to run on mobile devices such as smart phones , tablets , and wearable technology include smart watches and smart glasses.  Advantages: ◦ The ability to do multiple tasks. ◦ Stability and assurance of protection ◦ Utilizing mobility software to provide a great experience for users. ◦ Capability of living up to the standards set by users. ◦ Secure mobile data access. ◦ Improve departmental communications. ◦ Aid for the labor force
  • 26. Mobile Operating System (Cont.)  Disadvantages: ◦ Apps keep running even when you're not using them. ◦ Things are hard for developers. ◦ Smartphones with low specs run slowly. ◦ Defence From Viruses. ... ◦ There are a lot of ads in apps. ◦ It doesn't help older people. ◦ You need a Google account. ◦ Software that has bad content.
  • 27. Multi-tasking Operating System  Operating systems that support multi-tasking are built with the intention of allowing numerous applications to execute at the same time.  Operating systems that support multitasking make it possible for numerous people to collaborate simultaneously on the same document or programs  Advantages: ◦ Better response. ◦ Each task gets an equal opportunity. ◦ CPU idle time decreases which boosts the performance.  Disadvantages: ◦ Since a single processor will be running multiple tasks, the CPU will be busy and may get hot. ◦ Memory Boundation : During multitasking, the main memory (RAM) has to hold more than one process, so there could be a memory limit.
  • 28. Client/Server Operating System  Client/server network operating systems refer to networks with two types of nodes, namely servers and clients.  Both the server and client computers in a client/server system must have particular software installed in order to communicate safely across a network connection.  The servers are the computers that deliver network services.  Client/server networks are typically employed in corporate and government applications.
  • 29. Client/Server Operating System (Cont.)  Advantages: ◦ Allows companies to boost computing resources without buying new hardware. ◦ Client-server systems can swiftly adapt to changing business needs. ◦ Dedicated server solutions are less stable and harder to maintain. ◦ Cheaper operations. ◦ More stable and manageable than dedicated server systems  Disadvantages: ◦ These operating systems require more sophisticated management and networking technology, longer start up times, and increased attack susceptibility. ◦ Less secure than systems with dedicated servers. ◦ More difficult to scale than standalone server systems.
  • 30. Real time Operating System  A real-time operating system is an OS for real-time applications that need to process data and events in a very specific amount of time  Hard real-time systems ◦ Hard real-time systems guarantee that critical tasks complete on time  Soft real-time systems ◦ Soft real time systems are less restrictive
  • 31. Real time Operating System (Cont.)  Advantages: ◦ Utilization of technology and resources to their fullest extent. ◦ This system is nearly error-free.  Disadvantages: ◦ Real-time Operating System employs very complicated algorithms. ◦ Limited duties. ◦ Use Significant System resources.
  • 32. Operating System Services  An Operating System provides services to both the users and to the programs. ◦ It provides programs, an environment to execute. ◦ It provides users, services to execute the programs in a convenient manner.
  • 33. Operating System Services (Cont.)  Program execution ◦ Loads a program into memory. ◦ Executes the program. ◦ Handles program's execution. ◦ Provides a mechanism for process synchronization. ◦ Provides a mechanism for process communication. ◦ Provides a mechanism for deadlock handling.
  • 34. Operating System Services (Cont.)  I/O Operation ◦ I/O operation means read or write operation with any file or any specific I/O device. ◦ Program may require any I/O device while running. ◦ Operating system provides the access to the required I/O device when required.
  • 35. Operating System Services (Cont.)  File system manipulation ◦ Program needs to read a file or write a file. ◦ The operating system gives the permission to the program for operation on file. ◦ Permission varies from read-only, read-write, denied and so on. ◦ Operating System provides an interface to the user to create/delete files. ◦ Operating System provides an interface to the user to create/delete directories. ◦ Operating System provides an interface to create the backup of file system.
  • 36. Operating System Services (Cont.)  Communication ◦ Two processes often require data to be transferred between them. ◦ The both processes can be on the one computer or on different computer but are connected through computer network. ◦ Communication may be implemented by two methods either by Shared Memory or by Message Passing.
  • 37. Operating System Services (Cont.)  Error handling ◦ OS constantly remains aware of possible errors. ◦ OS takes the appropriate action to ensure correct and consistent computing.
  • 38. Operating System Services (Cont.)  Resource Management ◦ OS manages all kind of resources using schedulers. ◦ CPU scheduling algorithms are used for better utilization of CPU.
  • 39. Operating System Services (Cont.)  Protection ◦ OS ensures that all access to system resources is controlled. ◦ OS ensures that external I/O devices are protected from invalid access attempts. ◦ OS provides authentication feature for each user by means of a password.
  • 40. Operating System Properties  Batch processing ◦ OS defines a job which has predefined sequence of commands, programs and data as a single unit. ◦ OS keeps a number a jobs in memory and executes them without any manual information. ◦ Jobs are processed in the order of submission i.e. first come first served fashion. ◦ When job completes its execution, its memory is released and the output for the job gets copied into an output spool for later printing or processing.
  • 41. Operating System Properties (Cont.)  Multitasking ◦ The user gives instructions to the operating system or to a program directly, and receives an immediate response. ◦ Operating System handles multitasking in the way that it can handle multiple operations / executes multiple programs at a time. ◦ Multitasking Operating Systems are also known as Time-sharing systems. ◦ These Operating Systems were developed to provide interactive use of a computer system at a reasonable cost. ◦ A time-shared operating system uses concept of CPU scheduling and multiprogramming to provide each user with a small portion of a time-shared CPU. ◦ Each user has at least one separate program in memory.
  • 42. Operating System Properties (Cont.) ◦ A program that is loaded into memory and is executing is commonly referred to as a process. ◦ When a process executes, it typically executes for only a very short time before it either finishes or needs to perform I/O. ◦ Since interactive I/O typically runs at people speeds, it may take a long time to complete. During this time a CPU can be utilized by another process. ◦ Operating system allows the users to share the computer simultaneously. Since each action or command in a time- shared system tends to be short, only a little CPU time is needed for each user. ◦ As the system switches CPU rapidly from one user/program to the next, each user is given the impression that he/she has his/her own CPU, whereas actually one CPU is being shared among many users.
  • 43. Operating System Properties (Cont.)  Multiprogramming ◦ The operating system keeps several jobs in memory at a time. ◦ This set of jobs is a subset of the jobs kept in the job pool. ◦ The operating system picks and begins to execute one of the job in the memory. ◦ Multiprogramming operating system monitors the state of all active programs and system resources using memory management programs to ensures that the CPU is never idle unless there are no jobs
  • 44. Operating System Properties (Cont.)  Interactivity ◦ OS provides user an interface to interact with system. ◦ OS managers input devices to take inputs from the user. For example, keyboard. ◦ OS manages output devices to show outputs to the user. For example, Monitor. ◦ OS Response time needs to be short since the user submits and waits for the result.
  • 45. Operating System Properties (Cont.)  Real Time System ◦ In such systems, Operating Systems typically read from and react to sensor data. ◦ The Operating system must guarantee response to events within fixed periods of time to ensure correct performance.
  • 46. Operating System Properties (Cont.)  Distributed Environment ◦ OS Distributes computation logics among several physical processors. ◦ The processors do not share memory or a clock. ◦ Instead, each processor has its own local memory. ◦ OS manages the communications between the processors. They communicate with each other through various communication lines.