0% found this document useful (0 votes)
5 views

module-1.1.5 amity format

The document discusses the concepts of Multiprogramming and Time Sharing Operating Systems, highlighting their definitions, advantages, and disadvantages. Time Sharing OS allows multiple tasks to execute by allocating CPU time in intervals, while Multiprogramming enables multiple programs to be loaded in memory for execution, improving resource utilization. It also includes multiple-choice questions to assess understanding of the material.

Uploaded by

Tanvi Arora
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views

module-1.1.5 amity format

The document discusses the concepts of Multiprogramming and Time Sharing Operating Systems, highlighting their definitions, advantages, and disadvantages. Time Sharing OS allows multiple tasks to execute by allocating CPU time in intervals, while Multiprogramming enables multiple programs to be loaded in memory for execution, improving resource utilization. It also includes multiple-choice questions to assess understanding of the material.

Uploaded by

Tanvi Arora
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 16

AMITY INSTITUTE OF INFORMATION

TECHNOLOGY

UG- BATCH
Module-1

Multiprogramming Operating System


Time Sharing Operating System
Learning Objectives

At the end of this session, you will be able to understand the

Multiprogramming Operating System


Time Sharing Operating System
Time-Sharing Operating Systems –

Each task is given some time to execute so that all the tasks work smoothly. Each user
gets the time of CPU as they use a single system. These systems are also known as
Multitasking Systems. The task can be from a single user or different users also. The
time that each task gets to execute is called quantum. After this time interval is over OS
switches over to the next task.
Advantages of Time-Sharing OS:

• Each task gets an equal opportunity

• Fewer chances of duplication of software

• CPU idle time can be reduced


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


In the multi-programming system, one or multiple programs can be loaded into its main
memory for getting to execute.

Main objective of multiprogramming is to manage entire resources of the system

. Multiprogramming operating system has ability to execute multiple programs with using of
only one processor machine .

One example is User can use MS-Excel , download apps, transfer data from one point to
another point, Firefox or Google Chrome browser, and more at a same time
To overcome the problem of under utilization of CPU and main memory, the multi-programming
was introduced. The multi-programming is interleaved execution of multiple jobs by the
same computer.
In multi-programming system, when one program is waiting for I/O transfer; there is another program
ready to utilize the CPU. So it is possible for several jobs to share the time of the CPU. But it is
important to note that multi-programming is not defined to be the execution of jobs at the same instance
of time. Rather it does mean that there are a number of jobs available to the CPU (placed in
main memory) and a portion of one is executed then a segment of another and so on.
program in execution is called a “Process”, “Job” or a “Task”.

The concurrent execution of programs improves the utilization of system resources and enhances the
system throughput as compared to batch and serial processing.

In this system, when a process requests some I/O to allocate; meanwhile the CPU time is assigned to
another ready process. So, here when a process is switched to an I/O operation, the CPU is not set idle.
Multi-programming is a common approach to resource management.

The essential components of a single-user operating system include a command processor, an input/
output control system, a file system, and a transient area.

A multi-programming operating system builds on this base, subdividing the transient area to hold
several independent programs and adding resource management routines to the operating system’s
basic functions.
summary

About the concept advantages and disadvantages of time sharing system. Also focused on
Multiprogramming in OS with example and diagram
MCQ

Advantages of Time-Sharing OS:

a) Each task gets an equal opportunity

b) Fewer chances of duplication of software

c)CPU idle time can be reduced

d) Only a and b

e) Only a
MCQ

program in execution is called a

a) Process
b) Job
c) Task
d) a&c
e) All the above

You might also like