COMPUTER FUNDAMENTALS

COMPUTER ARCHITECTURE

MEMORY SYSTEMS

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
____ is the simplest mapping technique and maps each block of main memory into only one possible
A
Direct mapping
B
Associative mapping
C
Set associative mapping
D
None of the above
Explanation: 

Detailed explanation-1: -The easiest technique used for mapping is known as direct mapping. The direct mapping maps every block of the main memory into only a single possible cache line.

Detailed explanation-2: -Direct mapping is a cache mapping technique that allows to map a block of main memory to only one particular cache line.

Detailed explanation-3: -Direct mapping:-Direct mapping is the very simplest technique because in which every block of primary memory is mapped into the single possible cache line. In Direct mapping, every memory block is allotted for a particular line in the cache memory.

Detailed explanation-4: -The simplest cache mapping scheme is direct mapped cache. In a direct mapped cache consisting of N blocks of cache, block X of main memory maps to cache block Y = X mod N. Thus, if we have 10 blocks of cache, block 7 of cache may hold blocks 7, 17, 27, 37, . . . of main memory.

There is 1 question to complete.