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 cache memory?
How much ram can xp handle?
What is NOS?
What is the purpose of hard disk?
State the advantages of segmented paging over pure segmentation?
How to find the number of sockets created in your system?
What are your solution strategies for "Dining Philosophers Problem" ?
What are merits and demerits of systems supporting multiple file structure and systems supporting a stream of bytes?
What is significance of semaphores? What are the different types of semaphores?
Can you install a 32bit program on a 64 bit computer?
Will chkdsk delete my files?
What are the basic functions of an Operating system?