What are the differences between multitasking and multiprogramming?

Answer

Task is defined as a system program which consumes very less system resources(memory, cpu time, HD etc..).

A task should have periodic activity and event based activity.

Assume a printer which takes 10msec to print each line and you have fired a job to the printer.So the CPU should send every line with a 10msec gap. But transmitting a line to the printer is an output operation, which means the CPU has to execute some instrucions inorder to transmit a line to the printer.

Assume that the CPU takes 2usec to execute this. So this 2us is nothing but a sysem resource. So this is called as task since it is making less usage of system resource and it is periodic(every 10msec it has to execute instructions) and it is also event based(it has to check whether the printer is ON/OFF)

Dos: Mutlitasking (can do printing and scanning simultaneously) but not multi programming(it can execute only one c/c++/java etc program in memory)

Unix: Multiprograming and hence multi tasking.

 

Improve Answer Discuss the question "What are the differences between multitasking and multiprogramming?" Watch Question

First answer by Hari007s. Last edit by Hari007s. Contributor trust: 49 [recommend contributor]. Question popularity: 67 [recommend question]


Research your answer:

Can you answer other questions about programming?

Answers.com > Wiki Answers > Categories > Technology > Computers > Computer Programming > What are the differences between multitasking and multiprogramming?

Our contributors said this page should be displayed for the questions below. (Where do these come from)
If any of these are not a genuine rephrasing of the question, please help out and edit these alternates.
Live example of multitasking?  Multiprogramming and multitasking?  Multitasking and multiprogramming?  What multiprogramming and multitasking?  What is multitasking and multiprogramming?  Different multitasking and multiprogramming?  Give an example of multitasking and multiprograming?  Differences between multiprogramming and multitasking?  Distinguish between multitasking and multiprogramming?  Is multitasking and multiprogramming means same thing?  What is the difference bw multiprogramming multitasking?  What is multiprogramming and an example of multitasking?  What is diffrance between multiprogramming and multitasking?  What is the differencebetween multiprogramming and multitasking?  What is the difference between multiprogramming and multitasking?  What are the differences between multiprogramming and multitasking?  What are the differences between muultitasking and multiprogramming?  What are the differences between multitasking and multiprogramming in C?  Explain which one is better in term of utilization of resources -multitasking or multiprogramming?