Question: what is the difference between main memory and hard disk?
Answer: RAM and HDD, are both types of computer memory. 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.