None of the above answers, except for Mr. Vaibhava Kumar, is clear or ambiguous. [sorry no offense]
Both multiprogramming and tasks are the same concept of the switching task in the processor, the difference in the concept and reason for switching.
MProgramming: so that the processor does not work when the active task requires a longer input-output or another non-processor response, then the processor loads and works on another task that does not wait for input-output and is ready for the process.
Disguise: even after MPrograming, it may seem to the user that only one task is being performed, and the other is just waiting to come to the processor. Thus, the active task is also replaced by the active processor and stored aside, while another task is applied to the CPU for a very small part of human time [second] and returns to the previous task again. Thus, the user will feel that both tasks remain in the processor memory at the same time. But in fact, each task is active only once at a given processor time [in micro- or nano-seconds]
And MProcessing, like my computer, has a quad core, so I use 4 processors at a time, which means 4 different instances of multiprogramming on my machine. And these 4 processors make yet another lack of MTasking.
So, MProcessing> MProgramming> Mtasking
And MThreading n is a different breakdown of each task. which also give the user a happy life. Here, several tasks (for example, word doc and media player) do not appear in the image, and small sub-tasks, such as coloring text in a word and automatic spelling in a word, are part of the executable file.
not sure i was able to clear up all the confusion ...
Manas Sep 20 '14 at 11:45 2014-09-20 11:45
source share