RAM (Random Access Memory) that allows the computer to store and retrieve data. RAM is like a scratch space where data can be stored and retrieved at exceptional speeds. RAM is a volatile memory, where data is lost when the power is switched off.
Why do we need RAM in a computer?
As the computers become faster and faster every day, it requires and equally faster memory space where it can store and retrieve data at high speeds. As data is accessed sequentially in CD or hard disk, data is retrieved at a slower speed which brings down the overall computing speed. Hence a high-speed memory is required to cope up with the processing speed of the computer. Thus RAM is used in the computer so that the overall processing of computer is improved.
Role of RAM in the Computer
When the computer is switched ON, the Operating System (OS) data is loaded into the RAM for the faster access. If any actions require processing of OS data, it is processed from RAM. If you click a browser or any other program, the program data is first loaded into the RAM and then displayed.
What happens when there is less RAM than required?
When the computer is having less RAM than required, a process called Paging
one. Paging frees the data from RAM by storing some part of data in hard disk. As hard disk is a slower memory, overall speed of the computer is greatly reduced.