Recall that Belady’s anomaly is that the pages-fault rate may increase as the number of allocated frames increases and also recall convey effect where first process can increase waiting time for all processes. Now consider the following statements:
S1 : Random page replacement algorithm (where
a page chosen at random is replaced)
suffers from Belady’s anomaly.
S2 : Random CPU scheduling algorithm
suffers from convoy effect.
Which of the following is CORRECT?
(A) S1 is true, S2 is true
(B) S1 is true, S2 is false
(C) S1 is false , S2 is true
(D) S1 is false, S2 is false
Answer: (A)
Explanation: Both statements can be true, because Random page replacement algorithm may behave like FIFO page replacement algorithm and Random CPU scheduling algorithm may behave like FCFS CPU scheduling algorithm.
Option (A) is correct.
Quiz of this Question
Recommended Posts:
- GATE | GATE CS Mock 2018 | Question 39
- GATE | GATE CS Mock 2018 | Set 2 | Question 23
- GATE | GATE CS Mock 2018 | Set 2 | Question 24
- GATE | GATE CS Mock 2018 | Set 2 | Question 25
- GATE | GATE CS Mock 2018 | Set 2 | Question 26
- GATE | GATE CS Mock 2018 | Set 2 | Question 27
- GATE | GATE CS Mock 2018 | Set 2 | Question 28
- GATE | GATE CS Mock 2018 | Set 2 | Question 29
- GATE | GATE CS Mock 2018 | Set 2 | Question 30
- GATE | GATE CS Mock 2018 | Set 2 | Question 31
- GATE | GATE CS Mock 2018 | Set 2 | Question 32
- GATE | GATE CS Mock 2018 | Set 2 | Question 33
- GATE | GATE CS Mock 2018 | Set 2 | Question 34
- GATE | GATE CS Mock 2018 | Set 2 | Question 35
- GATE | GATE CS Mock 2018 | Set 2 | Question 36
- GATE | GATE CS Mock 2018 | Set 2 | Question 37
- GATE | GATE CS Mock 2018 | Set 2 | Question 38
- GATE | GATE CS Mock 2018 | Set 2 | Question 39
- GATE | GATE CS Mock 2018 | Set 2 | Question 40
- GATE | GATE CS Mock 2018 | Set 2 | Question 41

