Difference between RAM and CAM

Computer EngineeringComputer NetworkMCA

RAM is used to store computer programs and data that CPU needs in real time. RAM data is volatile and is erased once computer is switched off. CAM, Content Addressable Memory or Associative memory is used to store data words and CAM searches its memory for a provided word and returns the list of addresses where data word is found.

Following are the important differences between RAM and CAM.

1DefinitionRAM stands for Random Access Memory.CAM stands for Content Addressable Memory.
2OperationUser supplies an address and RAM returns the word present at that location.User supplies a word and CAM returns the links where word is present.
3CostRAM is cheaper than associative memory.CAM is costlier.
4ApplicationRAM is used to run programs and to store their data during execution.CAM is primary used in database management systems.
5SuitabilityRAM is suitable for PRAM (Paraller RAM) algorithm.CAM is suitable for parallel access.
Updated on 26-Nov-2019 12:18:48