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 not 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 CS Theory concepts for SDE interviews with the CS Theory Course at a student-friendly price and become industry ready.
- Difference between RAM and SRAM
- DRAM Full Form
- SRAM Full Form
- Difference and Similarities between PHP and C
- Difference between node.js require and ES6 import and export
- Difference between Stop and Wait, GoBackN and Selective Repeat
- Difference between Stop and Wait protocol and Sliding Window protocol
- Similarities and Difference between Java and C++
- Difference between Yaacomo and and XAP
- Difference between VoIP and and POTS
- Difference between ++*p, *p++ and *++p
- Difference Between DOS and Windows
- Difference between User Level thread and Kernel Level thread
- What’s difference between The Internet and The Web ?
- Difference between Priority Inversion and Priority Inheritance
- What’s difference between Linux and Android ?
- What’s difference between header files "stdio.h" and "stdlib.h" ?
- Difference between HTML and HTTP
- Difference between http:// and https://
- What's difference between MMU and MPU?
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.
Improved By : asishnayak0000