In this tutorial, we will learn about the followings;
RAM, Types of RAM, advantages of RAM, Shortcomings of RAM
Ram stands for random access memory. Ram is a form of computer data storage which stores data and machine code currently being used. A random access memory device allows data items to be read or written in almost the same amount of time irrespective of the physical location of data inside the memory. Usually, more than one bit of storage is accessed by the same address, and RAM devices often have multiple data lines and said to be “8 bit or 16 bit” etc.
Two types of RAM
- SRAM Stand for static ram. SRAM is a type of semiconductor memory that uses bistable latching circuitry to store each bit. Its data is lost when memory is not powered.
- SRAM is faster and more expensive than DRAM.
- DRAM stands for dynamic ram. DRAM is a type of random access memory that stores each bit of data in a separate capacitor can either be charged or discharged.
How RAM works?
When we start our computer, then first of all programs, instructions and data are temporary loaded/ stored in RAM. When RAM ready the instructions and data then CPU perform the arithmetic and logical operations.
Most of the computers have multiple slots for putting the RAM on the motherboard.
Advantages of RAM
- RAM is must to store the data for processing on CPU.
- More RAM is a factor to increase the speed of a computer.
- If CPU wants to read the data from RAM, then it is fast as compared to data access from hard disk, CD, DVD, Floppy, and USB.
Shortcomings of RAM
- Less RAM is a factor to decrease the speed of a computer.
- If CPU wants to read the data from RAM, then it is slow as compared to data access from registers and cache.