Skip to content

平成27年度 春期 ITパスポート試験 問65

This question's explanation and your answers so far.

問65
頻出度★☆☆

一つのアプリケーションプログラムの中で, 並列処理が可能な部分を複数の処理単位に分け, それらを並行して処理することで, マルチコアCPUを使用したコンピュータの処理能力の有効活用を図る方式はどれか。

出典 平成27年度 春期 ITパスポート試験 問65
解説

問 65

  • Incorrectア

    Multi-window refers to a GUI mechanism that lets several windows be opened, displayed, and operated on the screen at the same time. It is only about how things are displayed and operated; it is not a method of splitting the internal processing of a program and running it concurrently on the CPU, and it has no direct relation to making use of a multi-core CPU.

  • Incorrectイ

    Multicast is a communication method that sends the same data at once to a specific group of multiple receivers on a network (in contrast with unicast, which is one-to-one, and broadcast, which is addressed to everyone). It is a way of specifying the destination of communication, not a matter of dividing up processing units for the CPU.

  • ウ

    正解 The correct answer is “ウ Multithread”. A thread is the smallest unit of execution placed inside a program (a process); threads within the same process can run concurrently while sharing the same memory space. Multithreading is a method that splits the parts of one application that can proceed independently of each other (for example, screen drawing and file reading, or divisible portions of a calculation) into multiple threads and runs them at the same time. Because a multi-core CPU has several cores that can execute instructions simultaneously, distributing threads across multiple cores achieves true simultaneous execution, shortening the processing time compared with using only one core and making effective use of the CPU processing capacity. The conditions in the question — within a single application program, dividing the parts that can be processed in parallel into multiple processing units, and processing them concurrently — match exactly the description of multithreading.

  • Incorrectエ

    Multi-boot is a mechanism in which multiple operating systems are installed on one computer, and the user can choose which OS to start up at boot time. Only the selected OS runs, so it is not a way of splitting the internal processing of an application and executing it simultaneously.

ここがポイント
  • A thread is a unit of execution inside a process, and multithreading is a method that divides the parallelizable parts of one program into multiple threads and runs them concurrently. On a multi-core CPU each thread can be assigned to a different core, so the processing capacity is used effectively and responsiveness also improves.
  • Terms beginning with “multi-” belong to different layers, so distinguish them: multi-window = screen display, multicast = network communication, multi-boot = choosing which OS to start, multithread / multitask = concurrent execution of processing.
用語

Your answers