Operating System Notes
Operating System Notes
CC-311 / CC-217
Department of Information Technology, Faculty of Computing and IT, University of the Punjab, Gujranwala Campus
Agenda for Today
• What is an operating system?
• Single-user systems
• Batch systems
• Multiprogrammed systems
• Time-Sharing systems
• Real-Time systems
• Distributed systems
• Clustered systems
• Embedded Systems
What is an Operating System?
A program that acts as an
intermediary between a user of a
computer and the computer
hardware.
Operating system goals:
2.3
Single User Systems
Personal computers – computer system dedicated to a
single user
Interactive
User convenience and responsiveness. .
Single User Systems
Individuals usually have sole use of computer and do not
need advanced protection features.
May run several different types of operating systems e.g.
Windows
Mac OS
UNIX
Linux
Batch Systems
Does not interact with computers directly
Operator takes all the jobs and group similar jobs into batch
Operator takes job as input, process it on CPU and gives the
result to the user
Automatic job sequencing – automatically transfers control
from one job to another.
Various mediums are used e.g.
Punch cards
Paper tapes
Multiprogrammed Systems
Several jobs are kept in main memory at the same time, and
the CPU is multiplexed among them.
Example: Two processes P1 and P2 with CPU and
I/O bursts of one time unit each
CPU I/O
Burst Burst
P1
P2
P1
…
P2
Time-Sharing Systems
An interactive system with multiprogramming
A job is swapped in and out of memory to the disk if needed.
On-line file system must be available for users to access
data and code.
Real-Time Systems
Well-defined fixed-time constraints.
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.
Real-Time systems may be either hard or soft real-time.
Real-Time Systems
Hard real-time systems: