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

Explain the concept of the multi-processor systems or parallel systems?

559


What are the states associated with the thread?

582


What is gang scheduling in operating system (os)?

605


How do I cd into a directory?

545


Which is better internet explorer or edge?

533






What are interrupts?

701


What is a virtual machine and how does it work?

551


How do I run chkdsk on external drive?

527


How does a memory leak work?

552


Explain the difference between load-time dynamic linking and run-time dynamic linking?

564


what is difference between xp & 2003?

1557


Will chkdsk repair corrupt files?

560


How does dynamic loading aid in better memory space utilization?

1019


How much cpu usage is normal?

571


How does the system detect thrashing?

685