what is the difference between a ram and a hard disk?
Difference between RAM and HDD. ... RAM is used to store computer programs and data that CPU needs in real time. RAM data is volatile and is erased once computer is switched off. HDD, hard disk has permanent storage and it is used to store user specific data and operating system files.