Intermediate Computer Architecture & Organization
Q65 / 100

What is the difference between "static" and "dynamic" branch prediction?

Correct! Well done.

Incorrect.

The correct answer is A) Static branch prediction makes a fixed prediction decided at compile time (e.g., always predict "not taken"); dynamic branch prediction uses runtime history of branch behavior to adapt predictions

A

Correct Answer

Static branch prediction makes a fixed prediction decided at compile time (e.g., always predict "not taken"); dynamic branch prediction uses runtime history of branch behavior to adapt predictions

Explanation

Static prediction uses simple compile-time heuristics, while dynamic prediction (using branch history tables, etc.) adapts based on observed program behavior at runtime, generally achieving much higher accuracy.

Progress
65/100