banker's algorithm. 定義: 假設n 為process 數目,m 為resource 數目; 系統資源總量(題目會給); Available : m ... ... <看更多>
「banker's algorithm例題」的推薦目錄:
- 關於banker's algorithm例題 在 Re: [理工] [OS] 交大100 - 看板Grad-ProbAsk - 批踢踢實業坊 的評價
- 關於banker's algorithm例題 在 CH7 死結(Deadlock) - Elaine's Blog 的評價
- 關於banker's algorithm例題 在 [考古] 作業系統(一)/林明言/97上期末- 看板FCUProblems 的評價
- 關於banker's algorithm例題 在 [試題] 100上王凡作業系統期末考- NTU-Exam | PTT Web 的評價
- 關於banker's algorithm例題 在 Banker's Algorithm explained - YouTube 的評價
banker's algorithm例題 在 [考古] 作業系統(一)/林明言/97上期末- 看板FCUProblems 的推薦與評價
(C)for some page replacement algorithms,the page-fault rate may decrease as the ... Use the banker's algorithm and consider the following snapashot of a ... ... <看更多>
banker's algorithm例題 在 [試題] 100上王凡作業系統期末考- NTU-Exam | PTT Web 的推薦與評價
Explain what is Banker's algorithm. Take an example to show how the algorithm run. 5.What hardwares are neccesary in when maps virtual to ... ... <看更多>
banker's algorithm例題 在 Banker's Algorithm explained - YouTube 的推薦與評價

Computer Science - Operating systems - Banker's AlgorithmResource allocation and deadlock avoidance algorithm developed by Edsger Dijkstra ... ... <看更多>
banker's algorithm例題 在 Re: [理工] [OS] 交大100 - 看板Grad-ProbAsk - 批踢踢實業坊 的推薦與評價
※ 引述《bjk (Up2u)》之銘言:
:
: 題目太長了,請看圖片
: 答案CDE
: 14題
: alloc max need 系統原有
: A B C A B C A B C A B C
: p0 0 1 0 7 5 3 6 4 3 10 5 7
: 1 2 0 0 3 2 2 1 2 2 alloc後剩
: 2 3 0 2 9 0 2 6 0 0 3 3 2
: 3 2 1 1 2 2 2 0 1 1
: 4 0 0 2 4 3 3 4 3 1
: if p1 request additional A = 1 , C = 2
: 此時系統剩下 A2 B3 C0
: 但是P3需要0 1 1 為什麼CD可以選
: B選項 分配 0 2 0 給P0 系統剩下 2 1 0 < 所有的need
: 為什麼B沒有呢
交大101 OS
Allocation Max Need Available
A B C A B C A B C A B C
P0 2 1 1 3 1 3 1 0 2 2 0 2
P1 0 1 1 3 2 1 3 1 0
P2 1 0 0 1 0 4 0 0 4
P3 0 1 2 2 1 2 2 0 0
P4 1 0 0 1 1 0 0 1 0
Which of the following statements are correct?
(a)<P4,P3,P2,P0,P1>is a safe sequence.
(b)<P3,P0,P1,P4,P2>is a safe sequence.
(c)<P0,P1,P2,P3,P4>is a safe sequence.
(d)<P0,P2,P3,P4,P1>is a safe sequence.
(e)There is no safe sequence.
Ans:(b)(c)
請問為什麼100年那題答案是CDE
這題卻不能全選
有點搞混了
麻煩幫忙解惑 謝謝
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 59.121.150.83
※ 編輯: undefeated11 來自: 59.121.150.83 (02/21 17:16)
... <看更多>