What are the two basic types of computer memory?

Volatile memory refers to RAM that needs to be constantly refreshed to be retained. Static memory is permanent storage that is retained even after the computer is turned off.