When the computers power is turned off volatile memory does not lose its contents?

Volatile memory is the temporary random access memory (RAM) in a computer. This type of memory holds the program and operating system files that a user has active, but it does not keep its contents when the user shuts off the computer. RAM is considerably faster than the permanent storage devices a computer has, so it works well for its purpose. The temporary nature of volatile memory is a disadvantage, however, because a user will lose any unsaved data if his or her computer loses power unexpectedly or if the computer crashes.

When the computers power is turned off volatile memory does not lose its contents?
Larger memory sticks are used in desktop computers.

All computers and many other devices use volatile memory, because it is useful for quickly storing and accessing operating system and program files and holds the information in the memory as long as the computer has power. When a user opens a program and starts to type a document, the program and its data run in the computer's RAM until the user saves the file to the hard drive, CD or floppy disk for permanent storage. This describes non-volatile memory. This includes hard drives, flash memory and read-only memory. Volatile and non-volatile memory work together to play a critical part in a computer's data storage and transfers.

When the computers power is turned off volatile memory does not lose its contents?
A program and its data run in the computer's RAM until the user saves the file to a storage device, such as a floppy disk.

Volatile memory comes in various speeds and form factors that are used for both desktop and laptop computers. The larger memory sticks are used in desktop computers while more compact memory is reserved for laptop computers and for some all-in-one models. Double data rate (DDR) memory is relatively fast, is supported by most newer motherboards, and is available in form factors that fit both laptops and desktops. Some systems take advantage of dual-channel technology that noticeably improves the computer's speed and performance. In this type of configuration, a set of two sticks of the same kind of DDR memory is installed so both RAM sticks can work together effectively.

There are some downsides to temporary memory, but its benefits outweigh the negative aspects. A major concern is the data loss that can occur if there's a power outage, unexpected system reboot or power supply failure, but there are uninterruptible power supplies that can be used to lessen this threat. Another way to prevent data loss when one works on a document is to save the document as often as possible or to use a program that automatically saves changes to the hard drive.

When the computers power is turned off volatile memory does not lose its contents?
A user can lose unsaved data when a computer loses power or crashes due to the temporary nature of volatile memory.

Types of Memory

Random Access Memory (RAM) is one of the two types of main memory found in computers. General purpose computers usually contain a large amount of RAM. The features of RAM are:

  • Expensive - RAM is much more expensive per unit capacity than secondary storage media.
  • Volatile - RAM is volatile. This means that it will lose its contents when power is lost (i.e. if the computer is switched off).
  • Fast - RAM is much faster to access than secondary storage such as Hard Disk Drives (HDDs).
  • Random access - Random Access means that any part of the memory can be accessed as quickly as any other part of the memory.

Read Only Memory (ROM) is another type of main memory found in computers. It comes on a small, factory made chip in the motherboard. Features of ROM include:

  • Read only - ROM is often made from flash memory. This means that it's contents cannot be changed easily. This means that the ROM only stores small programs that boots or starts up the computer. These programs are called the Basic Input Output System (BIOS). They usually:

    • Load an operating system.
    • Check the system for errors.
  • Non-volatile - ROM is non-volatile. This means that ROM keeps its contents when power is lost.
  • Fast but expensive - ROM is very fast to access. ROM is expensive, so tends to be only small.

Flash Memory

Flash memory is usually based on a technology called Electrically Erasable Programmable Read-Only Memory (EEPROM). EEPROM can be used to create many flash memory devices:

  • Solid State Drives (SSD)

    • SSDs are often used in home computers because of their performance.
    • SSDs are a form of re-writable flash storage.
  • ROM chips

    • The Read-Only Memory chips on board modern Central Processing Units (CPUs) are made from EEPROM.
    • This provides the software needed for the computer to start.
  • Secure Digital (SD) cards

    • SD cards are used to extend the capacity of devices such as: cameras, smartphones, and tablets.
    • They provide high capacity for their physical size. This is useful in these smaller devices.

Properties of Flash Memory

Flash memory is a type of memory technology that can be used to create primary or secondary storage. It is commonly used to make Read-Only Memory (ROM), and Solid State Drives (SSDs).

  • Robust

    • Flash memory is not easily damaged by shocks.
    • Flash memory is appropriate in scenarios where it might be exposed to lots of vibrations. For example: Industrial machinery and vehicles.
  • Short lifetime

    • Flash memory can only be flashed (re-written) a certain number of times before it starts to degrade.
    • We may lose access to the drive once the flash memory has degraded past a point.
    • Re-writable devices often include several blocks of flash memory. This means that only one block must be flashed at a time and so the device will last longer.
  • Non-volatile

    • Flash memory is non-volatile. This means that it will keep its contents once power is switched off.
  • Fast access

    • Flash memory is significantly faster than many other storage media such as Hard Disk Drives (HDDs).
    • This is partly because flash memory does not have any moving parts, and so we do not need to wait for parts to move before we can access the drive.

Virtual Memory

Virtual Memory is a technique where we use secondary storage as if it were RAM.

  • Virtual Memory can have negative impacts on performance.
  • Virtual Memory can have negative impacts on the health of Solid State Disks (SSDs).
  • We might have limited space in secondary storage.

How Virtual Memory Works

Virtual Memory allows us to access more memory than we have by setting aside some secondary storage space to act as extra memory.

  • Paging

    • Memory can be split into sections called 'pages'.
    • Virtual Memory works by moving these pages between the Random Access Memory (RAM) and the secondary storage.
  • Move pages to Hard Disk Drive (HDD)

    • If a page is not being used, then we might want to put it into Virtual Memory.
    • When a page is moved to the HDD, it is put into a special file called the pagefile.
    • Other processes can then use the memory that we just freed in the RAM.
  • Move pages to RAM

    • When we want to use a page again, we first need to move it back to the RAM.
    • We do this by swapping the page that we want with one that is already in the RAM.

Join Seneca to get 250+ free exam board specfic A Level, GCSE, KS3 & KS2 online courses.

What happens to volatile memory when a computer shuts down?

The operating system (OS) loads the volatile memory. The system stores its data and computer programs that the CPU may need in real-time within the volatile memory, and the data is automatically deleted as soon as the system shuts down.

When a computer is turned off does it lose its contents?

Volatile memory loses its contents when the power is turned off.