阿摩線上測驗 登入

試題詳解

試卷:112年 - 112 學士後醫學系招生考試試題:計算機概論與程式設計#137106 | 科目:【阿摩】未分類題庫

試卷資訊

試卷名稱:112年 - 112 學士後醫學系招生考試試題:計算機概論與程式設計#137106

年份:112年

科目:【阿摩】未分類題庫

5. Consider the page reference string of size 12: 1, 2, 3, 4, 5, 1, 3, 1, 6, 3, 2, 3 with a frame size of 4, which means that a maximum of 4 pages can be in a frame. Use the First In First Out (FIFO), Least Recently Used (LRU), and Optimal Page Replacement (OPT) algorithms to calculate page faults. What are the page faults for each algorithm?
(A) FIFO: 9, LRU: 8, OPT: 6
(B) FIFO: 8, LRU: 8, OPT: 7
(C) FIFO: 9, LRU: 9, OPT: 6
(D) FIFO: 10, LRU: 8, OPT: 7
(E) FIFO: 7, LRU: 9, OPT: 6

正確答案:登入後查看