What is multi tasking, multi programming, multi threading?

Answer Posted / nishant bhatt

Multi-tasking is the ability of CPU to handle multiple tasks (JOBS) at same time. Do not think that you need multiprocessor for multitasking.

Multi-Programming is allowing more than one application (that are running in parallel) to use the processing power and resources of a CPU at the same time. ( you don't necessarily need multi processor...One CPU is enough) Note that this is different than multi processing where you must have multiple processors to (Thus, its called multi-processing)

In short, Multi-tasking and Multi-programming means same thing.

Multi-threading is supported by hardware. It is used to increase utilization of a single core (WIKIPEDIA). Parts of program are divided into threads. Note that multithreading is supported only if the applications is multithraded. So if a program is not multithraded then it will not be able to make use of multi threading.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you check whether a machine is 64 bit or 32 bit?

632


Give an example of a Process State.

682


Explain what is a semaphore?

638


Differentiate between Multiprocessing, Mutliprogramming and Multithreading.

658


What replaced ifconfig?

563






Explain the difference between trap and trapdoor?

573


What is the current microsoft operating system?

556


How will you check if R3 system is a Unicode or non - Unicode system?

615


How can a vfs layer allow multiple file systems support?

543


Write a function that responds to a click anywhere on the page by displaying an alert dialog. Display the event name if the user held Shift during the mouse click. Display the element name that triggered the event if the user held Ctrl during the mouse click.

1414


Define multics?

600


Explain the booting process of a windows xp system.

592


Define demand paging?

594


How long does it take to run chkdsk?

582


What are the 5 basic filing systems?

539