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

提供:yonewiki
(ページの作成:「|AP過去問 令和6年度秋期 午前 問題に戻る AP過去問 令和6年度秋期 午前 問9AP過去問 令和6年度秋期 午前 問11へ =='''問10(問題文)'''==   =='''回答・解説'''==   AP過去問 令和6年度秋期 午前 問9AP過去問 令和6年度秋期 午前 問11へ AP過去問 令和6年度秋期 午前#問題||AP過去問 令和6年度秋期 午…」)
 
 
(同じ利用者による、間の9版が非表示)
1行目: 1行目:
[[AP過去問 令和6年度秋期 午前#問題||AP過去問 令和6年度秋期 午前 問題]]に戻る
<yjavascript>
<script type='text/x-mathjax-config'>
MathJax = {
  tex: {
    packages: ['base'],        // extensions to use
    inlineMath: [              // start/end delimiter pairs for in-line math
      ['\(', '\)']
    ],
    displayMath: [            // start/end delimiter pairs for display math
      [','],
      ['\[', '\]']
    ],
    processEscapes: true,      // use $ to produce a literal dollar sign
    processEnvironments: true, // process Unknown environment 'xxx' outside math mode
    processRefs: true,        // process ??? outside of math mode
    digits: /^(?:[0-9]+(?:\{,\}[0-9]{3})*(?:\.[0-9]*)?|\.[0-9]+)/,
                              // pattern for recognizing numbers
    tags: 'none',              // or 'ams' or 'all'
    tagSide: 'right',          // side for \tag macros
    tagIndent: '0.8em',        // amount to indent tags
    useLabelIds: true,        // use label name rather than tag for ids
    multlineWidth: '85%',      // width of multline environment
    maxMacros: 1000,          // maximum number of macro substitutions per expression
    maxBuffer: 5 * 1024,      // maximum size for the internal TeX string (5K)
    baseURL:                  // URL for use with links to tags (when there is a <base> tag in effect)
      (document.getElementsByTagName('base').length === 0) ?
        '' : String(document.location).replace(/#.*$/, ''))
  }
  "HTML-CSS": {
    availableFonts :[],
    preferredFont: null,
    webFont :"Neo-Euler"
  }
};
</script>
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
</yjavascript>
[[AP過去問 令和6年度秋期 午前#問題|AP過去問 令和6年度秋期 午前 問題]]に戻る


[[AP過去問 令和6年度秋期 午前 問9]]へ
[[AP過去問 令和6年度秋期 午前 問9]]へ
6行目: 44行目:


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


ア 0.03
イ 0.08
ウ 0.37
エ 0.95


 
 


=='''回答・解説'''==
=='''回答・解説'''==
 主記憶のアクセス時間をTとすると、実効メモリアクセス時間は
0.95130T+0.05T
=95100130T+5100T
=953000T+5100T
=19600T+30600T
=(19600+30600)T
=49600T
<table style="width:13em;">
<tr><td>
$$ \require{enclose}\begin{align}
0.08166 \
600 \rlap{\enclose{longdiv}{\phantom{ 49.00000 }}} \hspace{0.5em} 49.00 \phantom{000} \
\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{} \
\rlap{\underline{\phantom{ 3600 }}} 3600  \phantom{} \
400 \phantom{} \
\end{align}$$
</td></tr>
</table>
=0.08166T
 およそ0.08倍です。したがって
<span style = "background:linear-gradient(transparent 75%, #7fbfff 75%); font-weight:bold; ">
イ 0.08</span>


 が答えです。


 
 
19行目: 106行目:
[[AP過去問 令和6年度秋期 午前 問11]]へ
[[AP過去問 令和6年度秋期 午前 問11]]へ


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

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

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

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

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

問10(問題文)

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


ア 0.03

イ 0.08

ウ 0.37

エ 0.95

 

回答・解説

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

0.95130T+0.05T

=95100130T+5100T

=953000T+5100T

=19600T+30600T

=(19600+30600)T

=49600T

0.0816660049.0000049.0000048.0048.000001.000006006000040000360036000400036003600400

=0.08166T

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


イ 0.08


 が答えです。

 

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

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

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