Secondary storage

Computers use primary memory such as random access memory (RAM) and cache to hold data that is being processed. However, this type of memory is volatile, which means it loses its contents when the computer is switched off. General purpose computers, such as personal computers and tablets, need to be able to store programs and data for later use.

Secondary storage is needed to keep programs and data indefinitely.

Secondary storage is non-volatile, long-term storage. It is used to keep programs and data indefinitely. Without secondary storage all programs and data would be lost the moment the computer is switched off.

There are many forms of secondary storage and each type of secondary storage device has its own characteristics. Because all devices are different, some are more suited to certain applications than others.

For example, a hard disk drive has a high capacity and reasonable access speed, making it suitable for everyday storage of programs and data. A USB stick is smaller in capacity, but extremely fast and portable, making it suitable for transferring files between computers.

Not all computers require secondary storage.Embedded computers, such as those found in a digital watch or central heating system, do not need to store data when the power is turned off. The instructions needed to run them are stored in ROM and any user data is held in RAM.