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 busy waiting?
What is the main purpose of an operating system?
Does 64 bit require uefi bios?
What is the difference between ie and edge?
When would you choose Top-down methodology?
What is mutant?
What is eide?
Give an example of Priority Inversion in Scheduling. What are the consequences of Priority Inversion?
What are the methods for handling deadlocks?
Measurements of a certain system have shown that the average process runs for a time T before blocking on I/O. A process switch requires a time S, which is effectively wasted (overhead). The CPU’s efficiency is the fraction of its time its spends executing user programs, i.e., executing user processes. For round robin scheduling with quantum Q, give a formula for the CPU efficiency for each of the following: (a) Q = ∞ (b) Q > S + T (c) S <Q<S + T (d) Q = S
What is the Difference Between SystemCalls & Interpreter
What differences are there between a semaphore wait signal and a condition variable wait signal?