- Trending Categories
- Data Structure
- Operating System
- C Programming
- Social Studies
- Fashion Studies
- Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Random Access Memory (RAM)
Random access memory (RAM) is a type of primary storage. It allows the user to randomly access any part of the data regardless of its position in roughly the same time. This is not possible using other storage devices such as hard disks, CD’s etc. because they have physical constraints such rotation speeds, arm movements etc.
RAM is mostly volatile i.e. the data in RAM is dependent on the power and as lost when power is switched off. However, there are some non - volatile versions of RAM also available.
There are mainly two types of RAM available i.e. Static RAM (SRAM) and Dynamic RAM (DRAM). Details about these are given as follows:
Static Random Access Memory (SRAM)
SRAM is a type of semiconductor memory that uses flip flops to store the bits. SRAM is volatile even though it exhibits data remanence i.e residual data even after repeated deletion attempts.
SRAM is more expensive than DRAM and consequently is used to create the cache while DRAM is used to create the main memory.
Advantages of SRAM
It is relatively simple to handle a SRAM.
- SRAM results in a lower power consumption that DRAM.
- SRAM is quite reliable and so it is used as cache memory in computer systems.
Disadvantages of SRAM
SRAM is quite expensive. So it is used to create a small cache memory and is not used for main memory.
Dynamic Random Access Memory (DRAM)
DRAM is a type of semiconductor memory that uses capacitors to store the bits. The charging and discharging of the capacitor represents 0 and 1 i.e. the two possible values that can be stored in a bit.
The DRAM is a volatile memory i.e. the data in memory is lost when power is switched off. However, it still displays some data remanence. DRAM is low cost compared to SRAM so it is primarily used in main memory.
Advantages of DRAM
Some advantages of DRAM are:
- DRAM is much cheaper compared to SRAM so it is used as main memory.
- Its storage capacity is quite high.
- The structure of DRAM is simpler than SRAM.
Disadvantages of DRAM
Some disadvantages of DRAM are:
- It is slower than SRAM. So it is not used for cache memory.
- DRAM has a higher power consumption than SRAM.
Uses of RAM
RAM is usually used as main memory i.e. temporary storage for computer applications and operations. However it has many other uses as well. Some of these are given as follows:
Operating systems use a part of RAM to implement paging. This leads to an illusion that memory is more than it actually is. This is known as virtual memory. However, paging should only be used to a limit or it results in thrashing.
The RAM disk is a part of the computer RAM that is treated as a hard drive by the system. However, the data in the RAM disk is lost if power is switched off, unless there is a backup power source.
This is created if the contents of a slow ROM are copied into a much faster read/write memory. The memory locations are then switched. This is known as shadowing.
- What are different types of RAM (Random Access Memory) in computer architecture?
- Dynamic Random Access Memory (DRAM)
- Difference Between RAM and ROM Memory
- Remote Direct Memory Access (RDMA)
- How to find total physical memory (RAM) size on Linux?
- Multi-access Channels and Random Access Channels
- Concept of Direct Memory Access (DMA)
- Difference between Simultaneous and Hierarchical Access Memory Organisations
- What are Vector-Access Memory Schemes in Computer Architecture?
- Random access to text lines in Python (linecache)
- How to android device is having low ram or high ram?
- RAM Addressing of 8051 Microprocessor
- Difference between RAM and ROM
- Difference between RAM and HDD
- Difference between RAM and CAM