試卷名稱:111年 - 111 學士後醫學系招生考試:計算機概論與程式設計#107630
年份:111年
科目:研究所、轉學考(插大)、學士後-計算機概論
3. For a specific CPU design, there are three instruction classes as depicted in Table 1 and run at a clock rate of 100 MHz.
For a given program, a compiler can produce the following executed instruction counts as depicted in Table 2. Please calculate the average CPI of this compiler.
(A) 4
(B) 2
(C) 1.25
(D) 0.5
(E) All of the above are wrong.