Differentiate multitasking and multithreading.
Answers
Answered by
1
Multitasking:
- Multitasking let CPU to execute multiple tasks at the same time.
- In multitasking CPU switches between programs frequently.
- In multitasking system has to allocate separate memory and resources to each program that CPU is executing.
Multithreading
- Multithreading let CPU to execute multiple threads of a process simultaneously.
- In multithreading CPU switches between the threads frequently.
- In multithreading system has to allocate memory to a process, multiple threads of that process shares the same memory and resources allocated to the process.
Similar questions