Multiprogramming, Multiprocressing, Multitasking, Multithreading.

630 views

Multiprogramming, Multiprocressing, Multitasking, Multithreading.

In: Technology

2 Answers

Anonymous 0 Comments

**Multiprogramming** is the ability to run **multiple programs** simultaneously on **one CPU**. Since one CPU can only execute one thing at a time, you cannot actually run multiple programs simultaneously, but it can appear like so because the CPU divides each programs into smaller chunks and processes each one a bit at a time. See [this picture](https://i.stack.imgur.com/mUlNV.jpg) (the top one).

**Multiprocessing** is the ability to run **multiple programs** (processes) on **multiple CPUs**, so one CPU will run one process independently of another CPU running another process. See that same picture but the bottom diagram.

**Multitasking** I’m not quite sure, but I believe it’s a blanket term for the idea of computers running multiple programs at the same time.

**Multithreading** is the ability for a single process to execute more than one part at once (in different threads). Unlike multiprocessing, even though there are multiple threads, they are still part of one process, so these threads still share the same resources, like memory.

You are viewing 1 out of 2 answers, click here to view all answers.