Multiprogramming various execution states. OS coordinates the processing.

Multiprogramming

      Multiprogramming
is an ability OS which can execute many programs on the single processor
machine. It can run multi programs at the same time. It can allocate many
programs in the computer system. It also allows using CPU effectively to the
users. The principle thought of multiprogramming is to expand the utilization
of CPU time. It always makes sure to run something on CPU. When many programs
execute on the device, switching process is so fast. That is why user doesn’t
notice about this. RAM does this switching process. This is the main reason why
user wants large RAM memory and high CPU GHz.

We Will Write a Custom Essay Specifically
For You For Only $13.90/page!


order now

 

Multitasking

      Multitasking
in operating system allows user to do more than one task at the same time. It
can transfer one task to another task without loosing any information. When you
using browser and then opening word are called multitasking. Nowadays, many
operating systems can do multitasking.

 

Difference between multiprogramming and
multitasking

      More
than one program in the main memory called multiprogramming. For example – when
one program execute, other programs also execute one after one. Only one process can be
executed at one time. It usually takes place on large-scale systems, such as
mainframes. It requires specially written software that coordinates its own
activities and execution through the OS.

      Two
or more processes in the same system called multitasking. For example – they
share the common processor called CPU. CPU executes more than one task in
likewise. Request from more than one application will be processed at the same
time. It maintains processes in various execution states. OS coordinates the
processing.

    

     Similarities between multiprogramming and
multitasking

      When we approach operating
system ideas there may be a few confusing       terms
that may seem to be similar. The same fact between multiprogramming and
multitasking is that more than one program is loaded into memory.