Handouts 2
Handouts 2
Handouts 2
LECTURE HANDOUTS
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1 | Page
OPERATING SYSTEM PART 2
LECTURE HANDOUTS
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2 | Page
OPERATING SYSTEM PART 2
LECTURE HANDOUTS
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
3 | Page
OPERATING SYSTEM PART 2
LECTURE HANDOUTS
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Advantages of Time-Sharing OS
Each task gets an equal opportunity.
Fewer chances of duplication of software.
CPU idle time can be reduced.
Resource Sharing: Time-sharing systems allow multiple users to
share hardware resources such as the CPU, memory, and
peripherals, reducing the cost of hardware and increasing
efficiency.
Improved Productivity: Time-sharing allows users to work
concurrently, thereby reducing the waiting time for their turn
to use the computer. This increased productivity translates to
more work getting done in less time.
Improved User Experience: Time-sharing provides an interactive
environment that allows users to communicate with the computer
in real time, providing a better user experience than batch
processing.
4 | Page
OPERATING SYSTEM PART 2
LECTURE HANDOUTS
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Disadvantages of Time-Sharing OS
Reliability problem.
One must have to take care of the security and integrity of
user programs and data.
Data communication problem.
High Overhead: Time-sharing systems have a higher overhead
than other operating systems due to the need for scheduling,
context switching, and other overheads that come with
supporting multiple users.
Complexity: Time-sharing systems are complex and require
advanced software to manage multiple users simultaneously.
This complexity increases the chance of bugs and errors.
Security Risks: With multiple users sharing resources, the
risk of security breaches increases. Time-sharing systems
require careful management of user access, authentication, and
authorization to ensure the security of data and software.
5 | Page
OPERATING SYSTEM PART 2
LECTURE HANDOUTS
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
6 | Page
OPERATING SYSTEM PART 2
LECTURE HANDOUTS
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Advantages of RTOS
Maximum Consumption: Maximum utilization of devices and
systems, thus more output from all the resources.
Task Shifting: The time assigned for shifting tasks in these
systems is very less. For example, in older systems, it takes
about 10 microseconds in shifting from one task to another,
and in the latest systems, it takes 3 microseconds.
Focus on Application: Focus on running applications and less
importance on applications that are in the queue.
Real-time operating system in the embedded system: Since the
size of programs is small, RTOS can also be used in embedded
systems like in transport and others.
Error Free: These types of systems are error-free.
Memory Allocation: Memory allocation is best managed in these
types of systems.
Disadvantages of RTOS
Limited Tasks: Very few tasks run at the same time and their
concentration is very less on a few applications to avoid
errors.
Use heavy system resources: Sometimes the system resources are
not so good and they are expensive as well.
8 | Page
OPERATING SYSTEM PART 2
LECTURE HANDOUTS
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
9 | Page
OPERATING SYSTEM PART 2
LECTURE HANDOUTS
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ACTIVITY 2
10 | P a g e