Question:

Consider the following storage levels and find the correct sequence for the migration of the integer A from larger storage to smaller one. \[ (i)\ \text{Hardware Register} \] \[ (ii)\ \text{Main Memory} \] \[ (iii)\ \text{Cache} \] \[ (iv)\ \text{Magnetic Disk} \]

Show Hint

Memory Hierarchy: \[ \text{Disk} \rightarrow \text{RAM} \rightarrow \text{Cache} \rightarrow \text{Register} \] Largest Capacity $\rightarrow$ Smallest Capacity Slowest Speed $\rightarrow$ Fastest Speed
  • (i), (iii), (ii), (iv)
  • (iv), (ii), (iii), (i)
  • (ii), (iv), (i), (iii)
  • (iii), (i), (iv), (ii)
Show Solution
collegedunia
Verified By Collegedunia

The Correct Option is B

Solution and Explanation

Concept: Computer memory is organized in a hierarchy based on storage capacity, access speed, and cost. Generally: \[ \text{Magnetic Disk} \rightarrow \text{Main Memory} \rightarrow \text{Cache} \rightarrow \text{Register} \] As we move upward:
• Speed increases.
• Storage capacity decreases.
• Cost per bit increases.

Step 1:
Identify the largest storage level.
Among the given options, Magnetic Disk stores the largest amount of data. \[ (iv) \] Therefore it comes first.

Step 2:
Identify the next storage level.
Data required by programs is loaded from disk into Main Memory (RAM). \[ (ii) \]

Step 3:
Identify the faster temporary storage.
Frequently accessed data is moved into Cache Memory. \[ (iii) \]

Step 4:
Identify the smallest and fastest storage.
Registers are located inside the CPU and provide the fastest access. \[ (i) \]

Step 5:
Write the complete migration sequence.
\[ (iv)\rightarrow(ii)\rightarrow(iii)\rightarrow(i) \] Therefore, \[ \boxed{(iv),(ii),(iii),(i)} \] Hence option (B) is correct.
Was this answer helpful?
0
0