Loading...
Researcher: When writing code to perform a set of computations in a single sequential process, best practices dictate the minimization of redundant computations performed by the computer by using clever tricks to use the results of previous computations still in memory rather than starting each computation anew. In good multiprocess code, on the other hand, redundant computations are often performed in the interest of reducing the communication of results between processes. This allows the processes to complete the whole set of computations more quickly.
In summary, good multiprocess coding deemphasizes the \(\mathrm{1}\) in favor of emphasizing the \(\mathrm{2}\).
1
2
minimization of total number of computations performed
minimization of total time to complete the set of computations
maximization of total time to complete the set of computations
maximization of total number of computations performed
maximization of redundancy in computations performed
| Passage Statement | Analysis & Implications |
|---|---|
| "When writing code to perform a set of computations in a single sequential process, best practices dictate the minimization of redundant computations" |
|
| "using clever tricks to use the results of previous computations still in memory" |
|
| "In good multiprocess code, on the other hand, redundant computations are often performed" |
|
| "in the interest of reducing the communication of results between processes" |
|
| "This allows the processes to complete the whole set of computations more quickly" |
|
"minimization of total number of computations performed"
"minimization of total time to complete the set of computations"
"maximization of total time to complete the set of computations"
"maximization of total number of computations performed"
"maximization of redundancy in computations performed"
Part 1: Good multiprocess coding deemphasizes the minimization of total number of computations performed
Part 2: Good multiprocess coding emphasizes the minimization of total time to complete the set of computations
Both answers create a coherent narrative: multiprocess coding sacrifices computational efficiency (Part 1) to achieve time efficiency (Part 2), perfectly capturing the trade-off described in the passage.