Difference Between Short Term and Long Term Memory

The main difference between short term and long term memory is that the short term memory stores data temporarily while the long term memory stores data permanently. Moreover, the short term memory is volatile while the long term memory is nonvolatile.

Memory is the component in a computer that stores data and information. There are two types of memory as short term memory and long term memory. The data in the short term memory disappears when the device is switched off, so the data is temporary. Furthermore, the data is accessible only within a short term. On the other hand, the data in long term memory does not erase when the device is switched off. The data is permanent, and it is possible to access the data for a long term.

Key Areas Covered

1. What is Short Term Memory
     – Definition, Usage
2. What is Long Term Memory
     – Definition, Usage
3. Difference Between Short Term and Long Term Memory
     – Comparison of Key Differences

Key Terms

Short Term Memory, Long Term Memory, Operating System

Difference Between Short Term and Long Term Memory - Comparison Summary

What is Short Term Memory

The data in the short term memory is temporary. In other words, data is erased when the device is powered off. This type of memory is referred to as volatile memory. Therefore, the data is not accessible long term. Random Access Memory (RAM) is an example of short term memory. When the computer performs calculations, the RAM stores the data temporarily. Moreover, it stores input data, immediate results of the program and other information.

Difference Between Short Term and Long Term Memory

Figure 1: RAM

The measurement of RAM is Megabytes (MB) or Gigabytes (GB). It is a considerable factor to determine the speed of the device. More RAM maximizes the performance of the device. Some users add extra RAM to their computers to improve performance.  

What is Long Term Memory

The data in the long term memory is permanent. In other words, data does not erase when the device is powered off. This type of memory is known as nonvolatile memory. Therefore, the data isaccessible long term.Hard drive is an example of long term memory.

Main Difference - Short Term vs Long Term Memory

Figure 2: Hard Drive

A hard disk consists of one or more platters and the data is written to it using a magnetic head. It can store data such as pictures, music, videos, text documents or files. It also stores files of the operating system and software programs. Latest hard drives can have a storage size of several gigabytes (GB) to terabytes (TB).

Usually, hard drives are internal, but they can also have external hard drives which can expand the available disk size. The solid-state drive (SSD) is an alternative to hard disk drives. It is faster than a usual hard drive.

Difference Between Short Term and Long Term Memory

Definition

The short term memory is a type of memory in a computer that allows storing data temporarily. The long term memory is a type of memory in a computer that allows storing data permanently.  

Memory Type

Short term memory is volatile. The data will erase when the device is powered off. Long Term memory is nonvolatile. So, the data will not erase when the device is switched off.

Functionality

Short term memory stores data temporarily. Long term memory stores data permanently.

Speed

Usually, short term memory is fast than long term memory.

Examples

RAM is an example of short term memory. Hard drive is an example of long term memory.

Conclusion

Memory is a component in the computer to store data and information. The difference between short term and long term memory is that the short term memory store data temporarily while the long term memory stores data permanently. 

Reference:

1. Prasad, Sai Shiva Hari. “Working Memory in Computer.” LinkedIn SlideShare, 4 Nov. 2015, Available here.
2.“What Is a Hard Drive?” Computer Hope, 1 Apr. 2018, Available here.

Image Courtesy:

1. “Ram chip” By Laserlicht – Own work (CC BY-SA 3.0) via Commons Wikimedia
2. “Hard Drive (11644419853)” By William Warby from London, England – Hard Drive (CC BY 2.0) via Commons Wikimedia

About the Author: Lithmee

Lithmee holds a Bachelor of Science degree in Computer Systems Engineering and is reading for her Master’s degree in Computer Science. She is passionate about sharing her knowldge in the areas of programming, data science, and computer systems.

Leave a Reply