[理工] [OS]-Disk

看板Grad-ProbAsk作者 (小澤)時間14年前 (2010/01/19 22:43), 編輯推噓4(404)
留言8則, 6人參與, 最新討論串1/1
Consider a file currently consisting of 100 blocks. Assume that the file control block (and the index block, in the case of indexed allocation) is already in memory. Calculate how many disk I/O operations are required for contiguous, linked, and indexed (single-level)allocation strategies, if, for one block, the following conditions hold. In the contiguousallocation case, assume that there is no room to grow in the beginning, but there is room to grow in the end. Assume that the block information to be added is stored in memory. a. The block is added at the beginning. b. The block is added in the middle. c. The block is added at the end. d. The block is removed from the beginning. e. The block is removed from the middle. f. The block is removed from the end. 可以請問這一題如何解嗎?? 有答案但是看不懂..... -- ┌這篇文章讓覺得?─────────────────────────────┐ │ │ 一"一 \ / >\\\< ╯ ╰ ∩ ∩ ▁ ▁_< ㄧ ㄧ+ │ ε Δ ╰╯ 北七 亂喔 害羞 莎笅 爽啦 哭爸 XD 科科 └──────────────────────────────────────┘ -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 122.116.14.2

01/19 23:01, , 1F
可以先問一下答案是啥嘛 >__<"
01/19 23:01, 1F

01/19 23:49, , 2F
I/O operations are required? 不明瞭他要什麼..
01/19 23:49, 2F

01/19 23:51, , 3F
這題中山考過一次,又是恐龍習題~~
01/19 23:51, 3F

01/20 03:59, , 4F
這不是基本題嘛= = 各位不是年要考吧?
01/20 03:59, 4F

01/20 17:57, , 5F
怎麼計算啊?我也看不懂
01/20 17:57, 5F

01/20 23:07, , 6F
.....說是基本題又不教一下.....就是看不懂才問阿@@
01/20 23:07, 6F

01/20 23:14, , 7F
好兇...
01/20 23:14, 7F

02/01 14:24, , 8F
沒有人可以解答嗎? 看不懂
02/01 14:24, 8F
文章代碼(AID): #1BLSKC7A (Grad-ProbAsk)