Prerequisite – Different Types of RAM
1. Static Random Access Memory (SRAM) :
Data is stored in transistors and requires a constant power flow. Because of the continuous power, SRAM doesn’t need to be refreshed to remember the data being stored. SRAM is called static as no change or action i.e. refreshing is needed to keep the data intact. It is used in cache memories.
Advantage: Low power consumption and faster access speeds.
Disadvantage: Less memory capacities and high costs of manufacturing.
2. Dynamic Random Access Memory (DRAM) :
Data is stored in capacitors. Capacitors that store data in DRAM gradually discharge energy, no energy means the data has been lost. So, a periodic refresh of power is required in order to function. DRAM is called dynamic as constant change or action i.e. refreshing is needed to keep the data intact. It is used to implement main memory.
Advantage: Low costs of manufacturing and greater memory capacities.
Disadvantage: Slow access speed and high power consumption.
Difference between SRAM and DRAM :
|1.||Transistors are used to store information in SRAM.||Capacitors are used to store data in DRAM.|
|2.||Capacitors are not used hence no refreshing is required.||To store information for a longer time, contents of the capacitor needs to be refreshed periodically.|
|3.||SRAM is faster as compared to DRAM.||DRAM provides slow access speeds.|
|4.||These are expensive.||These are cheaper.|
|5.||SRAMs are low density devices.||DRAMs are high density devices.|
|6.||These are used in cache memories.||These are used in main memories.|
Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.
- Difference between RAM and SRAM
- DRAM Full Form
- SRAM Full Form
- Difference between T-SQL and PL-SQL
- Difference between TDM and FDM
- Difference between TCP and RTP
- Difference Between DVD-R and DVD+R
- Difference Between Blu-Ray and DVD
- Difference between C and C#
- Difference between 4G and 5G
- Difference between LED and LCD
- Difference between H.323 and SIP
- Difference between PCI and PCI-X
- Difference between PCI-E and PCI-X
- Difference between RPC and RMI
- Difference between PNG and GIF
- Difference between CLI and GUI
- Difference between Blu-ray and DVD
- Difference between CPU and GPU
- Difference between CRT and LCD
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.