Consider the following statements: 1. Better memory utilization is possible with non-contiguous allocation using fixed size pages 2. Associative memory is used for providing fast access to data stored in cache memory. 3. Direct mapping of cache memory is hard to implement Which of the above statements are correct?
Consider the following statements: 1. Better memory utilization is possible with non-contiguous allocation using fixed size pages 2. Associative memory is used for providing fast access to data stored in cache memory. 3. Direct mapping of cache memory is hard to implement Which of the above statements are correct? Correct Answer 1 and 2 only
Non-contiguous memory allocation:
- In this allocation, the available free memory space is scattered here and there, and all the free memory space is not at one place.
- A process will acquire the memory space, but it is not at one place it is at the different locations according to the process requirement.
- This technique of non-contiguous memory allocation reduces the wastage of memory which leads to internal and external fragmentation.
- This utilizes all the free memory space which is created by a different process and hence better memory utilization is possible.
Associative memory is used to store the address of the data stored in the cache. So, it provides fast access of data stored in cache memory.
A direct-mapped cache is the simplest approach, each main memory address maps to exactly one cache block.
মোঃ আরিফুল ইসলাম
Feb 20, 2025