Operating System
Operating System
Solution:
Multiprogramming System:
Time-sharing is a technique which enables many people, located at various terminals, to use a
particular computer system at the same time. Time-sharing or multitasking is a logical extension
of multiprogramming. Processor's time which is shared among multiple users simultaneously is
termed as time-sharing.
The users of a batch operating system do not interact with the computer directly. Each user
prepares his job on an off-line device like punch cards and submits it to the computer operator.
To speed up processing, jobs with similar needs are batched together and run as a group. The
programmers leave their programs with the operator and the operator then sorts the programs
with similar requirements into batches.
Differences:
The main difference between batch processing and multiprogramming is that batch processing
allows multiple programs to execute with minimum human interactions while multiprogramming
allows multiple programs to execute on a single processor system.
The main difference between Batch Systems and Time-Sharing Systems is that in case of batch
systems, the objective is to maximize processor use, whereas in Time-Sharing Systems, the
objective is to minimize response time.
Main difference between multiprogramming and time sharing is that multiprogramming is the
effective utilization of CPU time, by allowing several programs to use the CPU at the same time
but time sharing is the sharing of a computing facility by several users that want to use the same
facility at the same time. Each user on a time-sharing system gets her own terminal and gets the
feeling that she is using the CPU alone. Actually, time sharing systems use the concept of
multiprogramming to share the CPU time between multiple users at the same time.