マルチスレッドの説明として, 適切なものはどれか。
平成30年度 秋期 ITパスポート試験 問59
This question's explanation and your answers so far.
問 59
Incorrectア
The CPU being equipped with multiple cores (arithmetic circuits) is a description of multi-core, not multithreading. Multi-core refers to the hardware (CPU) configuration, and is a different concept from multithreading, which divides software processing units.
Incorrectイ
Using external storage devices such as a hard disk to realize a memory space larger than the main memory is a description of virtual memory (virtual storage), a memory-management technique. It has nothing to do with the parallel processing of threads.
- ウ
正解 Multithreading is a mechanism that divides a single application program into multiple processing units called threads and executes them concurrently (in parallel). This lets multiple tasks proceed efficiently within a single program. Choice ウ, which states dividing a single application program into multiple processing units and processing them in parallel, is exactly this definition, and is therefore the correct answer.
Incorrectエ
Splitting a single piece of data and writing it in parallel to multiple hard disks is a description of RAID0 striping. It is a technique for speeding up disk writes, and differs from multithreading, which executes a program's processing units in parallel.
- Multithreading = a mechanism that divides a single program into multiple processing units (threads) and executes them in parallel. It is a software-side parallel-processing concept.
- Distinguish the easily confused related terms: multi-core (a CPU with multiple cores), virtual memory (extending main memory with external storage), and striping/RAID0 (distributing data writes across multiple disks).