Best 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 in order 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.

AnswerMultitasking and Multiprogramming:

In multiprogramming, more than one program lies in the memory i.e. in terms of operating system, the schedular selects the jobs to be placed in ready queue from a number of programs. The ready queue is placed in memory and the existence of more than one program in main memory is known as multiprogramming.

Example of multiprogramming, we open word, excel, access and other applications together but while we type in word other applications such as excel and access are just present in main memory but they are not performing any task or work. Or we can say that are not being used at the same time.

Whereas multitasking means performing multiple tasks in parallel. Usually, CPU processes only one task at a time but the switching of CPU between the processes (also known as Context Switching) is so fast that it looks like CPU(or processor) is executing multiple processes at a time.

Example of multitasking, we listen to music and do internet browsing at the same time (they execute parallely).

Also a task (or process) is a part of program under execution. In other words, task is an active entity where as program is passive entity.

User Avatar

Wiki User

โˆ™ 2011-09-13 20:12:44
This answer is:
User Avatar
Study guides

The Difference Between

20 cards

A survey question that asks you to write a brief explanation is called

Auto correlation and cross correlation

If a married man cheats does that mean there are problems in his marriage

The nature-nurture question asks whether

See all cards


22 cards

What is figurative language

Why do poets use sound effects

What is the difference between a poetic line and a sentence

How is a simile different from other types of figurative language

See all cards


23 cards

What is a sporophyte

What are examples of Prokaryotes

Explain why elasticity of demand is such an important concept to marketers who sell a commodity product

What is differences between side effect and adverse effect

See all cards

Add your answer:

Earn +20 pts
Q: What are the differences between multitasking and multiprogramming?
Write your answer...
Related questions

Is windows operating system multiprogramming or multitasking?


Is multitasking a logical extension of multiprogramming?

timesharing is logical extention of multiprogramming.

What is multiprogramming and multitasking?


Diffirence between multiprogamming and multitasking?

Multitasking: The ability to execute more than one task at the same time is called multitasking. It involves only one CPU. Multiprogramming: The ability to execute more than one task but not simultaneously is called multiprogramming.

What is the difference between multitasking and multiprograming?

Multitasking is being able to do more than one thing at a time. Multiprogramming is using more than one 'language' to accomplish a task.

Should real time operating system be necessarily multiprogrammed?

MULTIPROGRAMING .................. The term multiprograming denotes an operating system that,in addtion to supporting multitasking. In multiprograming more than one jobs are active in memory.Within a very small period more than one jobs are executed simultaneously. MULTITASKING ............... In general multiprogramming implies multitasking,but multitasking does not imply multiprogramming. A multitasking operating system is distinguished by its ability to support concurrent execution of two or more active processes. as discussed actually both multitasking and multiprogramming are same no other answer mentioned are justifiable.....

'What is the difference between multiprogramming and multitasking and what is meaning of a task if we consider a task as a program then the concept will be multiprogramming then what is the differenc?

First of all there is difference between program and a task. There may be multiple tasks running related to one program at the same time. so if the processor is busy in multiple tasks related to one program then it is multitasking. But if the multiple tasks which the processor is executing concurrently are related to different independent programs then the concept is know as multiprogramming.

What are main differences between cooperative multitasking and preemtive multitasking?

Preemptive multitasking is when the operating system preemptively interrupts a current task without cooperation. Cooperative multitasking is when the system must be programmed to do tasks.

What is the difference between multiprogramming and multitasking?

no of tasks can be done at a time is called multi tasking no of programmes can be executed in a single system is called multi programming

What where the key motivations for the development of multiproccessing and multiprogramming?

whar are key motivation for the development of multiprogrammig,multitasking,multithreading

What is the difference between batch processing and multiprogramming?

acc. to me,multiprogramming is based on system level and multitasking is based on user level.operating system can execute a program or application once at a means the code related to other applications would be stored in operating systems but it will activate when that particular application is activated by user. acc. to me,multiprogramming is based on system level and multitasking is based on user level.operating system can execute a program or application once at a means the code related to other applications would be stored in operating systems but it will activate when that particular application is activated by user. acc. to me,multiprogramming is based on system level and multitasking is based on user level.operating system can execute a program or application once at a means the code related to other applications would be stored in operating systems but it will activate when that particular application is activated by user.

What is difference between uni-programming and multiprogramming?

multiprogramming or multitasking means more than one program can execute at the same time. It is the allocation of a computer system and its resources to more than one application at the same time. However in uni-programming you can have only one program running at any point in time.

Why windows is multitasking and UNIX is multiprogramming?

Not really a true statement; both Windows and UNIX have multi-tasking and multi-programming capabilities.

When we say a system is a multiprogramming system?

Multiprogramming is collecting several jobs in a job pool and the OS selects the job from the pool so that the CPU has one job to execute , in case of any IO request for the job in execution the CPU switches to another job here switching is less compared to multitasking.So a computer system which allows such type of switching in between jobs is called a multiprogramming system. Please make note that multitasking is done by user but multiprogramming is done by operating system only.

What is the differences between multiprogramming operating system and multiuser operating system?

Multiprogramming System: In multiprogramming system the same memory is shared by different number of programmes. MultiUser system: More than one user can use the system at a time.There will one centralized server and the users connected with the system are called as dump terminals.

What is the difference between cooperative multitasking and preemptive multitasking?

Cooperative multitasking is multitasking tohelp someone else, while peemative multitasking is multiaatsking for yourself.

What are examples of multiprogramming multitasking multiprocessing?

multitasking : watching a movie while downloading a song.multiprocessing : processing two Microsoft word file at the same time.multiprogramming : upgrading yahoo messenger and msn messenger at the same time.

What is the different between multiprocessor and multiprogramming?

multiprocessor is hardware based while multiprogramming in software based

What do multiprogramming and time sharing have in common?

Time-sharing and multiprogramming have various differences. However, these two environments share the feature whereby several users can use the system at the same time.

Difference between single user single task and single user multitasking?

differences between single user single task os and single user multi task os

What is the difference between multitasking and multiprocessing?

Multiprocessing / multitasking Multiprocessing is the use of two or more processors in a single computer. to acheive greater throughput, economy of scale and increased reliability.Most multiprocessing systems use symmetric multiprocessing, SMP, (as opposed to asymmetric) where all processes share the processing load equally. Multitasking on the other hand is best explained by first defining what multiprogramming is. Multiprogramming is used to ensure the best effecient use of the CPU. Whenever a CPU is processing a program, which is loaded in memory, and it must wait for resources or I/O then it will sit idly which is a waste of the CPU. Multiprogramming will store a number of 'jobs' in a queue and whenever the CPU is waiting for I/O etc while executing a particular job, it will immediately open the next job in the queue and process that job until such time as it must wait again, and then it can select the next job in the queue or return to the previous job. In this way the CPU idle time is reduced. Multitasking is a logical extension of multiprogramming in that instead of waiting for a process to reach a stage where it must wait for I/O or some resource, it schedules time for each process that is loaded into memory, such that each process appears to the user to be running at exactly the same time.Another name for multitasking is timesharing.

What is the difference between multitasking and multiprogramming?

Multiprogramming is a method of running several different programs in a computer apparently at the same time.Usually on a mainframe - the computer has a number of programs loaded into memory and the operating system switches quickly between them, processing a little bit of each one in turn. The high speed of the processor makes it seem like more than one program is being run at the same time.On a PC it is usually called multitasking.Answer-multitasking is the process which occur when more than one task(job) are executed by CPU at a time....-.Multitasking should not be confusing with multiple program where by in multiprogram more than one program(task) are in the mein memory but each one are executed by CPU at different time...It is impossible CPU to running more than one program at the same time

What are advantages of multiprogramming over non multiprogramming?

Multiprogramming is the rapid switching of the CPU between multiple processes in memory. It is done only when the currently running process requests I/O, or terminates. It was commonly used to keep the CPU busy while one or more processes are doing I/O. It is now mostly superceded by multitasking, in which processes also lose the CPU when their time quantum expires. Multiprogramming makes efficient use of the CPU by overlapping the demands for the CPU and its I/O devices from various users. It attempts to increase CPU utilization by always having something for the CPU to execute. The prime reason for multiprogramming is to give the CPU something to do while waiting for I/O to complete. If there is no DMA, the CPU is fully occupied doing I/O, so there is nothing to be gained (at least in terms of CPU utilization) by multiprogramming.

Multitasking vs Multiprogramming?

Multi programming is to open the more than one programme in one computer system. Muli tasking is to use the more than one programme in one computer system.

What are the types of multiprogramming?

types of multiprogramming and difference bet multiprocessing and multiprogramming?