阿摩線上測驗 登入

試題詳解

試卷:113年 - 113 學士後醫學系招生考試試題:計算機概論與程式設計#119574 | 科目:研究所、轉學考(插大)、學士後-計算機概論

試卷資訊

試卷名稱:113年 - 113 學士後醫學系招生考試試題:計算機概論與程式設計#119574

年份:113年

科目:研究所、轉學考(插大)、學士後-計算機概論

4. In the context of pipelined CPU architecture, which of the followings best describes how hazards, exceptions, and parallelism interact to affect the performance and correctness of program execution?
(A) Data hazards occur when parallel execution of instructions creates a dependency on the outcome of an exception, leading to incorrect program execution unless properly managed.
(B) Control hazards are resolved using speculative execution, which relies on predicting exceptions and rerouting data paths in the pipeline to maintain parallelism without stalling.
(C) Parallelism enhances the handling of exceptions by allowing the CPU to process multiple exception routines simultaneously, reducing the overall impact on execution time.
(D) Exceptions, such as interrupts or faults, are handled by temporarily suspending parallel execution, resolving the exception, and then resuming execution, potentially introducing control hazards.
(E) Structural hazards are mitigated by designing a CPU with multiple execution units, allowing for parallel execution of instructions and reducing the likelihood of pipeline stalls due to resource conflicts.
正確答案:登入後查看

詳解 (共 1 筆)

推薦的詳解#6967388
未解鎖
1. 題目解析 這道考題探討的是在管線...
(共 1070 字,隱藏中)
前往觀看
0
0