RAM – Random Access Memory
RAM is volatile Memory (data storage), means data can be written to and erased from it as needed. It is small in the amount of data it can hold. It’s much smaller than your hard disk. For example, a computer with 256 MB of RAM has approximately 256 million bytes of memory that programs can use.
There are 2 main types of RAM :-
Static RAM (SRAM) – In static RAM, a bit of data is stored using the state of a flip-flop. In terms of speed, SRAM is faster because it does not need to be refreshed.
Dynamic RAM (DRAM) – DRAM stores a bit of data using a transistor and capacitor pair. As compared to SRAM, DRAM is faster as it needs to be refreshed thousands of times per second.