Re: [問題] 計概一些問題
※ 引述《JustMyLuck (我的幸運)》之銘言:
: ※ [本文轉錄自 Grad-ProbAsk 看板]
: 作者: JustMyLuck (我的幸運) 看板: Grad-ProbAsk
: 標題: [理工] 計概一些問題
: 時間: Tue Jan 20 15:48:05 2009
: 1.Suppose a computer using fully associative cache has 216 words of main memory
: and a cache of 64 blocks, where each cache block contains 32 words. How many
: blocks of main memory are there?
: (A) 2^9
: (B) 2^10
: (C) 2^11
: (D) 2^12
: 請問這題是c嗎? 2^6 * 2^5=2^11
Memory: 2^16 words
1個block : 32 words
所以 2^16 / 32 = 2^11
: 2.Suppose a disk has the following characteristics: 4 surfaces, 1024 tracks
: per surface, 128 sectors per track,512bytes/sector, track-to-track seek time
: of 5 milliseconds, rotational speed of 5000RPM. What is the access time?
: (A) 10ms
: (B) 11ms
: (C) 12ms
: (D) 14ms
: 容量 4表面*1024軌*128磁區*512=256Mb
: 找尋=5ms
: 平均旋轉 1/5000*60/2=0.006=6ms
: 6+5=11ms
: 我這樣算對嗎@@?
應該沒有錯
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 114.45.52.180
推
01/27 17:34, , 1F
01/27 17:34, 1F
討論串 (同標題文章)