Random Access Memory (RAM) - Memory that is used to store the programs and data currently in use by a computer. It is volatile which means that it gets erased when the computer is switched off.
Volatile Memory - Memory that loses its content when the it has no power
Read-Only Memory (ROM) - Memory that is used to store programs permanently and in the same location such as the boot-up program. This memory is non-volatile and is not deleted when the computer is switched off.
Non-volatile memory - Memory that retains its contents when it has no power
Virtual Memory - This is an area of the hard disk that is used to store running programs as if it was RAM.
Primary storage
RAM and ROM
Virtual Memory