COMPUTER FUNDAMENTALS

COMPUTER ARCHITECTURE

MEMORY SYSTEMS

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Before the processor fetches data from the RAM, it will check if it is stored on the cache first.
A
TRUE
B
FALSE
C
Either A or B
D
None of the above
Explanation: 

Detailed explanation-1: -The CPU accesses memory according to a distinct hierarchy. Whether it comes from permanent storage (the hard drive) or input (the keyboard), most data goes in random access memory (RAM) first.

Detailed explanation-2: -If the CPU cannot find the data within the L1 cache, it then proceeds to search for it first within L2, then L3. If it cannot find the data in any of the three, it tries to access it from memory. Each failure to find data in a cache is called a cache miss .

Detailed explanation-3: -Difference between RAM and Cache Memory The cache caches CPU-needed data and programs. RAM contains currently-used data and programs. The term “main memory” refers to the same thing as “random access memory.” It is a memory unit that communicates in a straightforward manner with the central processor unit (CPU).

There is 1 question to complete.