Professional Documents
Culture Documents
Lecture 3
Lecture 3
Operating System
Thursday, December 7, 2023 Operating System Concepts - 9th Edition ©2021 Computer Science Faculty, PU
Types of Operating System
Type of operating systems are there from the very first computer generation.
Operating systems keep evolving over the period of time.
• Following are few of the important types of operating system which are
most commonly used.
• Batch Operating Systems
• Multiprogramming
• Time Sharing Systems
• Distributed Systems
• Network operating systems
• Real-Time Systems
Thursday, December 7, 2023 Operating System Concepts - 9th Edition ©2021 Computer Science Faculty, PU
Batch operating system
Thursday, December 7, 2023 Operating System Concepts - 9th Edition ©2021 Computer Science Faculty, PU
Batch operating system(cont..)
• The early computers of the late 1950s had no operating system.
• In batch os computer system only do one job in same time .
• The users of batch operating system do not interact with the computer
directly.
• similar types of jobs are firstly prepared and they are Stored on the Card
and that card will be Submit to the System for the Processing.
• Each user prepares his job on an off-line device like punch cards and
submits it to the computer operator.
Thursday, December 7, 2023 Operating System Concepts - 9th Edition ©2021 Computer Science Faculty, PU
Batch operating system(cont..)
Thursday, December 7, 2023 Operating System Concepts - 9th Edition ©2021 Computer Science Faculty, PU
Batch operating system(cont..)
Thursday, December 7, 2023 Operating System Concepts - 9th Edition ©2021 Computer Science Faculty, PU
Batch operating system(cont..)
Thursday, December 7, 2023 Operating System Concepts - 9th Edition ©2021 Computer Science Faculty, PU
Multiprogramming
• Multiprogramming is a technique to execute number of programs
simultaneously by a single processor.
• In this number of processes reside in main memory at a time.
• The OS picks and begins to execute one of the jobs in the main memory.
• If any I/O wait happened in a process, then CPU switches from that job to
another job.
• If several jobs are ready to run at the same time, then the system chooses
which one to run through the process of CPU Scheduling.
• In Multiprogramming system, CPU will never be idle and keeps on
processing.
Thursday, December 7, 2023 Operating System Concepts - 9th Edition ©2021 Computer Science Faculty, PU
Multiprogramming(cont..)
• If it were possible for memory to hold a second program, then
the processor could be used by the second program while the
first program was waiting for I/O operations to finish, making
more effective use of the processor.
• If enough memory was available, a number of programs could
be accommodated allowing the processor to be utilized
continuously.
Thursday, December 7, 2023 Operating System Concepts - 9th Edition ©2021 Computer Science Faculty, PU
Multiprogramming
Thursday, December 7, 2023 Operating System Concepts - 9th Edition ©2021 Computer Science Faculty, PU
Distributed operating System(cont..)
Thursday, December 7, 2023 Operating System Concepts - 9th Edition ©2021 Computer Science Faculty, PU
Distributed operating System(cont..)
Thursday, December 7, 2023 Operating System Concepts - 9th Edition ©2021 Computer Science Faculty, PU
Network Operating System
Thursday, December 7, 2023 Operating System Concepts - 9th Edition ©2021 Computer Science Faculty, PU
Network Operating System(cont..)
Thursday, December 7, 2023 Operating System Concepts - 9th Edition ©2021 Computer Science Faculty, PU
Real Time operating System(cont..)
Two types of Real-Time Operating System which are as follows:
• Hard Real Time System: In the Hard Real Time System, Time is fixed
and we can’t Change any Moments of the Time of Processing.
• These systems are built for saving life like automatic parachutes or air
bags which are required to be readily available in case of any accident.
Virtual memory is almost never found in these systems.
• Hard real-time systems guarantee that critical tasks complete on time
• 0.1 % delay .
• Air control traffic system
Thursday, December 7, 2023 Operating System Concepts - 9th Edition ©2021 Computer Science Faculty, PU
Real Time operating System(cont..)
Thursday, December 7, 2023 Operating System Concepts - 9th Edition ©2021 Computer Science Faculty, PU
Real Time operating System(cont..)
Advantages of RTOS:
• Maximum Consumption: Maximum utilization of devices and system, thus more
output from all the resources
• Task Shifting: Time assigned for shifting tasks in these systems are very less. For
example in older systems it takes about 10 micro seconds in shifting one task to another
and in latest systems it takes 3 micro seconds.
• Focus on Application: Focus on running applications and less importance to
applications which are in queue.
• Real time operating system in embedded system: Since size of programs are small,
RTOS can also be used in embedded systems like in transport and others.
• Memory Allocation: Memory allocation is best managed in these type of systems.
1. Abraham-Silberschatz-Operating-System-Concepts-
9th 2018.12.
2. https://www.geeksforgeeks.org/types-of-operating-s
ystems/
Thursday, December 7, 2023 Operating System Concepts - 9th Edition ©2021 Computer Science Faculty, PU
End of Chapter 3
Thursday, December 7, 2023 Operating System Concepts - 9th Edition ©2021 Computer Science Faculty, PU