COMPUTER FUNDAMENTALS

COMPUTER ARCHITECTURE

MEMORY SYSTEMS

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
The most effective Replacement Algorithms for direct mapping
A
LRU
B
LFU
C
FIFO
D
No choice
Explanation: 

Detailed explanation-1: -Optimal Page Replacement algorithm is the best page replacement algorithm as it gives the least number of page faults. It is also known as OPT, clairvoyant replacement algorithm, or Belady’s optimal page replacement policy.

Detailed explanation-2: -FIFO is the most popular replacement algorithm.

Detailed explanation-3: -In the case of fully associative mapping, The replacement algorithm is always required. The replacement algorithm suggests a block that is to be replaced whenever all the cache lines happen to be occupied. So, replacement algorithms such as LRU Algorithm, FCFS Algorithm, etc., are employed.

There is 1 question to complete.