「AP過去問 令和6年度秋期 午前 問10」の版間の差分

提供:yonewiki
75行目: 75行目:


$$ \require{enclose}\begin{align}
$$ \require{enclose}\begin{align}
28 \\
0.08166 \\
12 \rlap{\enclose{longdiv}{\phantom{ 345 }}} \hspace{0.5em} 345 \\
600 \rlap{\enclose{longdiv}{\phantom{ 49.00000 }}} \hspace{0.5em} 49.00000 \\
\rlap{\underline{\phantom{ 24 }}} 24 \phantom{0} \\
\rlap{\underline{\phantom{ 48.00 }}} 48.00 \phantom{000} \\
105 \\
1.000 \phantom{00} \\
\rlap{\underline{\phantom{ 96 }}} 96 \\
\rlap{\underline{\phantom{ 600 }}} 600  \phantom{00} \\
9
4000 \phantom{0} \\
\rlap{\underline{\phantom{ 3600 }}} 3600  \phantom{0} \\
4000 \phantom{} \\
\end{align}$$
\end{align}$$



2024年11月26日 (火) 22:21時点における版

AP過去問 令和6年度秋期 午前 問題に戻る

AP過去問 令和6年度秋期 午前 問9

AP過去問 令和6年度秋期 午前 問11

問10(問題文)

 キャッシュメモリのアクセス時間が主記憶のアクセス時間の1/30で、ヒット率が95%のとき、実効メモリアクセス時間は、主記憶のアクセス時間の約何倍になるか。


ア 0.03

イ 0.08

ウ 0.37

エ 0.95

 

回答・解説

 主記憶のアクセス時間を\( T \)とすると、実効メモリアクセス時間は

\( 0.95 \cdot \frac{1}{30} \cdot T + 0.05 \cdot T \)

\( = \frac{95}{100} \cdot \frac{1}{30} \cdot T + \frac{5}{100} \cdot T \)

\( = \frac{95}{3000} \cdot T + \frac{5}{100} \cdot T \)

\( = \frac{19}{600} \cdot T + \frac{30}{600} \cdot T \)

\( = ( \frac{19}{600} + \frac{30}{600} ) \cdot T \)

\( = \frac{49}{600} \cdot T \)

\( = 0.08166 \cdot T \)

$$ \require{enclose}\begin{align} 0.08166 \\ 600 \rlap{\enclose{longdiv}{\phantom{ 49.00000 }}} \hspace{0.5em} 49.00000 \\ \rlap{\underline{\phantom{ 48.00 }}} 48.00 \phantom{000} \\ 1.000 \phantom{00} \\ \rlap{\underline{\phantom{ 600 }}} 600 \phantom{00} \\ 4000 \phantom{0} \\ \rlap{\underline{\phantom{ 3600 }}} 3600 \phantom{0} \\ 4000 \phantom{} \\ \end{align}$$

 およそ0.08倍です。したがって


イ 0.08


 が答えです。

 

AP過去問 令和6年度秋期 午前 問9

AP過去問 令和6年度秋期 午前 問11

AP過去問 令和6年度秋期 午前 問題に戻る