Challenger App

No.1 PSC Learning App

★
★
★
★
★
1M+ Downloads
Arrange the following memory types in decreasing order of speed

AHard disk → RAM → Cache → Registers

BRAM → Cache → Registers → Hard disk

CRegisters → Cache → RAM → Hard disk

DCache → Registers → RAM → Hard disk

Answer:

C. Registers → Cache → RAM → Hard disk

Read Explanation:

Memory Hierarchy Overview

  • Computer memory is organized in a hierarchy based on speed, cost, and capacity. The fundamental principle is that registers are the fastest and closest to the CPU, while secondary storage (like Hard Drives) is the slowest and has the largest capacity.
  • The generally accepted decreasing order of speed (highest speed first) is: CPU Registers > Cache Memory > Primary Memory (RAM) > Secondary Memory (HDD/SSD).

Key Components

  • CPU Registers: Located directly inside the processor, these are the fastest memory units. They hold immediate data and instructions that the CPU is currently processing.
  • Cache Memory: A small, ultra-fast memory layer situated between the CPU and the main memory (RAM). It stores frequently accessed data to minimize the time taken to fetch information from the main RAM. It is categorized into levels: L1 (fastest/smallest), L2, and L3.
  • Primary Memory (RAM): This is the main memory of a computer that the CPU accesses directly for active tasks. It is volatile, meaning data is lost when power is cut. It is significantly slower than cache but much faster than storage devices.
  • Secondary Memory: Includes devices like Hard Disk Drives (HDD) and Solid State Drives (SSD). This is non-volatile storage used for long-term data preservation. Access speeds are measured in milliseconds (ms) compared to nanoseconds (ns) for RAM and registers.

Summary Table

Memory TypeSpeedLocation
RegisterExtremely HighInside CPU
CacheVery HighNear CPU
RAMHighMotherboard
Hard DriveLowSecondary Storage

Related Questions:

യഥാർത്ഥ ലോകത്ത് വെർച്യുൽ ഒബ്‌ജക്റ്റുകൾ ഓവർലൈഡ് ചെയ്യാൻ അനുവദിക്കുന്ന സാങ്കേതികവിദ്യയുടെ പേര് എന്താണ് ?
മെറ്റാ ഡാറ്റ, ശീർഷകം, സ്റ്റൈൽ കോഡ് എന്നിവ കണ്ടെത്തുന്ന html ടാഗ് ഏതാണ് ?

ഒരു കമ്പ്യൂട്ടർ മോണിറ്ററിലെ ഒരു ചിത്രത്തിന്റെ വ്യക്തത ഇവയെ ആശ്രയിച്ചിരിക്കുന്നു ?

  1. Screen Resolution
  2. Dot Pitch
  3. Refresh Rate
    ഒരു വെബ് പേജിന്റെ അടിസ്ഥാന ഘടനാ നിർമ്മാണത്തിൽ ഉൾപ്പെടാത്ത ടാഗ് (Tag) ഏത്?
    Which control structure allows you to choose between multiple alternatives ?