stores user data/programs/part of operating system which is currently in use. acts as temporary storage for programs and data while the program is being executed
when a program is to be executed it has to be loaded from the hard disk into main memory so that the processor can access the instructions. any data needed for the program to run is also loaded into main memory
increases the amount of storage on the computer system therefore increases the speed (won't need virtual memory as this will make the computer more slow)
the data is not lost when the power is turned off making it permanent memory. This is important so if you accidently turn the power off you won't lose your data (boot up instructions)
ram is volatile so when you turn off you computer it loses it content when you turn you have to get the basic start-up routine from somewhere that is not volatile. the operating system and all your programs will be stored on the secondary storage but need to be loaded into ram
increases the amount of storage on the computer system therefore increases the speed (won't need virtual memory as this will make the computer more slow)
allow a computer to compensate for physical memory shortages by temporarily transferring data from random access memory (RAM) to disk storage. stops the computer crashing and access more space but the cpu can't access it
freeing applications from having to manage a shared memory space, increased security due to memory isolation, and being able to conceptually use more memory than might be physically available
differences between secondary storage and main memory
it is non-volatile, it generally holds much more data than main memory and is relatively expensive per MB. secondary storage technologies tend to have slower speeds than main memory