answersLogoWhite

0


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

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What are the differences between multitasking and multiprogramming?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Is windows operating system multiprogramming or multitasking?

multiprogramming


Is multitasking a logical extension of multiprogramming?

timesharing is logical extention of multiprogramming.


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 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.


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 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 where the key motivations for the development of multiproccessing and multiprogramming?

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


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 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.


What is the difference between cooperative multitasking and preemptive multitasking?

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