What is multi tasking, multi programming, multi threading?
Answers were Sorted based on User's Feedback
Answer / manas ranjan nayak
In multi tasking process cpu process more than one job by
switching from one task to another at a time.
In multi programming environment more than one cpu used for
processing.
In multi threading environment more than one cpu are used
and process multiple task at same time.
| Is This Answer Correct ? | 4 Yes | 4 No |
Answer / 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 |
What is drawback of mvt?
What is monolithic kernel?
How does the system detect thrashing?
What are the different types of CPU registers in a typical operating system design?
Where are the global variables stored?
Why is a single serial port managed with a single interrupt-driven i/o but a front-end processor is managed using a polling i/o, such as a terminal concentrator?
What are various scheduling queues?
What do you understand by system clock? What is system unit?
How do I go to a specific line in vi?
What is sin_addr?
What causes a page fault?
What is best free operating system?