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.|
Don’t stop now and take your learning to the next level. Learn all the important concepts of Data Structures and Algorithms with the help of the most trusted course: DSA Self Paced. Become industry ready at a student-friendly price.
- SRAM Full Form
- DRAM Full Form
- Difference between C and C++
- Difference between PNG and GIF
- Difference between H.323 and SIP
- Difference between 4NF and 5NF
- Difference between URL and URI
- Difference between CD and DVD
- Difference between DVD-R and DVD-RW
- Difference between GSM and LTE
- Difference between JSP and ASP
- Difference between OOP and POP
- Difference Between SEO and SEM
- Difference between GCC and G++
- Difference Between DAS and SAN
- Difference between IoT and M2M
- Difference between DFA and NFA
- Difference Between SMO and SEO
- Difference between LAN and MAN
- Difference between T-SQL and PL-SQL
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to firstname.lastname@example.org. 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.