module-1.1.5 amity format
module-1.1.5 amity format
TECHNOLOGY
UG- BATCH
Module-1
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:
• Reliability problem
• One must have to take care of the security and integrity of user programs and data
. 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
d) Only a and b
e) Only a
MCQ
a) Process
b) Job
c) Task
d) a&c
e) All the above