Random Access Memory (RAM) is used to read and write. It is the part of primary memory and used in order to store running applications (programs) and program’s data for performing operation. It is mainly of two types: Dynamic RAM (or DRAM) and Static RAM (or SRAM).
Content Addressable Memory (CAM) is also known as Associative Memory, in which the user supplies data word and associative memory searches its entire memory and if the data word is found, It returns the list of addresses where that data word was located.
The difference table is given below on the basis of their properties:
|S.NO||RAM Memory||Associative Memory(CAM)|
|1.||RAM stands for Random Access Memory.||It stands for Content Addressable Memory.|
|2.||In RAM, the user supplies a memory address and RAM returns data word stored at the address.||In associative memory, the user supplies data word and associative memory searches its entire memory.|
|3.||The price of RAM is low as compared to Associative memory.||It is expensive than RAM.|
|4.||It is used to store running applications(programs) and program’s data for performing operation.||It is widely used in database management system.|
|5.||This is suitable for algorithm based search via PRAM. PRAM stands for Parallel-RAM.||This is suitable for parallel search.|
|6.||If the data word is found, RAM returns the data word.||If the data word is found, It returns the list of addresses where that data word was located.|
Attention reader! Don’t stop learning now. Get hold of all the important CS Theory concepts for SDE interviews with the CS Theory Course at a student-friendly price and become industry ready.
- Difference between Byte Addressable Memory and Word Addressable Memory
- Random Access Memory (RAM) and Read Only Memory (ROM)
- Difference between Random Access Memory (RAM) and Hard Disk Drive (HDD)
- Different Types of RAM (Random Access Memory )
- Magnetic Random Access Memory (M-RAM)
- Difference between Uniform Memory Access (UMA) and Non-uniform Memory Access (NUMA)
- Difference between RAM and ROM
- Difference between RAM and SRAM
- Difference between RAM and Cache
- Ferro-electric Random Access Memory
- Difference between Simultaneous and Hierarchical Access Memory Organisations
- Sorting larger file with smaller RAM
- RAM Full Form
- 8085 program to access and exchange the content of Flag register with register B
- Difference between Volatile Memory and Non-Volatile Memory
- Difference between Virtual memory and Cache memory
- PRAM or Parallel Random Access Machines
- Random vs Secure Random numbers in Java
- Direct memory access with DMA controller 8257/8237
- Memory Access Methods
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to email@example.com. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.