ArtsAutosBooksBusinessEducationEntertainmentFamilyFashionFoodGamesGenderHealthHolidaysHomeHubPagesPersonal FinancePetsPoliticsReligionSportsTechnologyTravel

Types of Computer Memory

Updated on May 29, 2018
amuno profile image

Alfred is a long-time teacher and computer enthusiast who works with and troubleshoots a wide range of computing devices.

The different types of computer memory devices refer to electronic components that store digital data within and outside the computer. This memory can be temporary or persistent. These devices can be grouped under primary and secondary hardware. While primary memory is both volatile and nonvolatile, secondary memory is only nonvolatile.

Data in volatile memory is only available when the computer is powered up, while data in nonvolatile memory is retained even in the event of power outage. This means that volatile memory is temporary while nonvolatile memory is persistent.

A collection of types of computer memory hardware
A collection of types of computer memory hardware

Primary Memory

Primary memory is a type of memory used to mean random access memory (RAM) but actually, refers to any memory that works directly with the processor. It is either volatile or non-volatile.

The following are examples:

  • Dynamic Random Access Memory - DRAM (volatile)
  • Static Access Memory - SRAM (volatile)
  • Read-Only Memory - ROM (non-volatile)

1. Dynamic Random Access Memory (DRAM)

Dynamic random access memory(DRAM), usually called random access memory (RAM), is the main or working memory. It is where the operating system, applications, and other computer data are loaded every time the computer is powered up.

DRAM hardware is made of integrated circuit chips whose data can be accessed randomly. This means that data can be moved around in any order with disregard to access location.

If the computer is powered down, data stored within DRAM is either returned to non-volatile secondary storage devices or is lost, thus its volatility.

This is why the user is asked to save files he/she is working on to secondary storage media. The Documents folder and drives preceded with letters C: and D: are examples of popular storage locations on a Windows computer.

A file that has not been saved to secondary memory may be lost once the power to the computer is lost. If the AutoSave feature is enabled in a compliant application, however, parts of the file may be recovered the next time the application is accessed.

DRAM chips for desktop and laptop computers
DRAM chips for desktop and laptop computers

The more RAM a computer has, the faster it seems to perform. This does not necessarily mean that DRAM speeds up a computer. Actually, it allows the operating system and installed applications to load and run in bigger virtual room, hence the concept of faster performance.

Less RAM usually provides limited space for operating system and applications to run all at the same time, thus the need to share the little that is available. In this state, the computer may appear to be sluggish and slow.

2. Static Random Access Memory (SRAM)

Static Random Access Memory is a type of memory which works directly with the microprocessor. This super-fast memory is the go-between the slow main memory and the super-fast microprocessor.

User input data is initially stored in main memory (DRAM) awaiting processor manipulation. Because the speed of DRAM is not at par with processor speed, the faster SRAM fetches and works with the processor in data manipulation.

Once the raw data has been processed, the resultant information is passed on to RAM.

SRAM is usually processor cache and is much smaller in capacity compared to DRAM. However, it is capable of storing fetched data more efficiently because of its multiple transistors. DRAM uses only one transistor and will need to be refreshed continuously in order to retain data while the processor is working.

3. Read-only Memory (ROM) Hardware

Read-only memory contains non-volatile software in computers and other electronic devices. The software is usually referred to as firmware. ROM is embedded in ROM semiconductor chips.

In a typical personal computer, the motherboard ROM contains Basic Input/Output System (BIOS) firmware about computer hardware components.

During POST (power on self-test) for example, the firmware runs a test to initialize all connected hardware parts and verify if they are in good shape. Once the hardware parts have been verified, the BIOS hands over boot instructions to the master boot record (MBR) sector of the disk drive, which initiates the loading of the operating system.

Firmware-embedded read-only memory hardware has also evolved into flash memory semiconductor chips which can be reprogrammed. This makes it easy to install updates in computers and embedded systems. Upgrading the firmware in devices leads to better component compatibility with new software and hardware.

The ROM chip in an old desktop motherboard
The ROM chip in an old desktop motherboard

To ensure maximum operation of the computer, the microprocessor is in close contact with data stored in motherboard ROM. Besides the typical motherboard ROM, other components like display, network and sound cards also contain in them BIOS data.

The ROM chip in a display adapter
The ROM chip in a display adapter

Types of ROM Chips:

EAROM for Electrical Alterable Read Only Memory can be erased, read and re-programmed without removing the chip from the computer.

  • PROM for Programmable Read Only Memory can be programmed by the user and the programmed data is held permanently once programmed.
  • EPROM for Erasable Programmable Read Only Memory is similar to PROM but has an advantage in that it can be erased and reprogrammed. But for one to erase it, the EPROM must be removed from the computer.

Secondary Memory

 A hard disk drive and 2.5' solid state disk drive
A hard disk drive and 2.5' solid state disk drive | Source

Secondary memory is secondary because it allows retention of data even during power outage. It is a non-volatile memory. Unlike primary memory, data stored on secondary storage media may not directly communicate with the microprocessor. Data is first transferred to the main and cache memory from where manipulation by the processor takes place.

Data retention in secondary devices can be internal and external:

Internal storage: Typically, the operating system and applications which make the computer usable, reside within internal storage devices.

Examples of internal storage devices:

  • Hard disk drives
  • Solid state disks

External storage: Data that is not retained inside the computer is stored in external storage devices. Such data can be moved from one computer to another.

Example of internal storage devices:

  • External disk drives
  • Optical disks
  • Flash drives
  • Memory cards
  • Floppy disks
  • Zip disks

Secondary memory devices can be grouped under:

  • Magnetic memory
  • Optical memory
  • Flash memory
  • Paper memory

1. Magnetic Storage

Magnetic storage simply refers to digital data that is stored onto magnetized memory devices. Usually, magnetic storage media are called disks and are placed inside drive mechanisms like the disk drive or optical disk drive.

Data stored in magnetic media is read using read/write drive heads and can be stored for days and years.

Popular magnetic media include the hard disk, floppy disk and magnetic tapes.

Hard Disk (Drive): A hard disk drive is made up of circular platters which are made of magnetic surfaces, enabling them to store data electronically. The word drive actually implies a mechanism that makes it possible for data to be read or written on the hard disk.

Hard disk drive form factors are 3.5 and 2.5 inches for desktops and laptops respectively.

The first known hard disk drive shipped in 1956 with IBM’s RAMAC 305 system. This gigantic drive was equivalent to two refrigerators, had fifty 24 inch disk platters, and stored less than 4 megabytes of data.

Subsequent drives and disks became smaller over time, making hard disk drive the most commonly used internal storage media in desktop and laptop computers. From just under 4MBs, the storage capacity of hard disk drives has exploded to 8 terabytes and more.

Despite everything good about hard disk drives, they have remained mechanical in design and therefore, prone to failure in the event of shock and power related mishaps. These and other reasons explain the recent massive adoption of flash memory as defacto media of storage in mobiles.

The platters inside a hard disk drive
The platters inside a hard disk drive

Connectivity between hard disk drive and computer motherboard can be achieved via IDE, SCSI and SATA connectors.

PATA and SATA connectivity
PATA and SATA connectivity

Floppy Disk (Drive): Floppy disks became popular in the 1970s when they were standard media for data transfer and storage. The first standard floppy disk size was 5¼ inch but soon evolved to 3½ inch towards the end of 1980s.

Floppy disks stored data on thin, magnetic flexible vinyl material which actually felt floppy.

Both floppy disk sizes became obsolete in the 2000s when optical disks, memory card and USB sticks gained popularity.

Floppy disk drive
Floppy disk drive

Magnetic Tape: Magnetic recording uses strips of magnetic plastic film to record data.

In its early stages, magnetic media was born out of the desire to record sound, before crossing over to data and video recording. Such media is referred to as magnetic tape when used to store data for computing purposes.

Much as tape media are still being manufactured for audio-visual recording purposes, the technology is being replaced fast by flash and other media.

Magnetic tape
Magnetic tape

2. Flash Memory

Flash memory storage is nonvolatile memory which is increasingly taking over from the popular disk drive technology as media of data retention in computing devices.

Unlike magnetic and mechanical hard disks which are prone to failure because of power and shock related issues, flash memory operates by electrical charge and can withstand sizeable shock, pressure and temperature.

Flash memory is much faster than hard disks and comparable to computer main memory (RAM).

NAND and NOR are two popular flash memory technologies and have become the standard media for internal and external storage of mainly mobile devices.

Examples of flash memory media include:

  • Solid State Disks
  • Cell phone memory
  • Flash disks
  • Memory cards

A NAND flash memory card
A NAND flash memory card

Solid State Disk (SSD): Unlike the traditional HDD, SSDs use semiconductor chips much like RAM chip hardware. Semiconductor chips for SSDs are not mechanical like HDDs and are non-volatile, unlike the volatile RAM chips.

SSDs have quickly become the replacement option for those that are tired of low-speed HDD. Though priced far above its counterpart, the benefit derived from this tradeoff can guarantee immediate satisfaction because of speed and peace of mind.

SSDs come in three popular form factors:

  • 2.5 inch SSD fits in the old HDD bay in laptops
  • mSATA for WLAN like connector in tablets and ultrabooks
  • M.2 socket in tablets and ultrabooks

An mSata SSD in Samsung ultrabook
An mSata SSD in Samsung ultrabook

Memory Card: The memory card is a family of flash memory devices used to store digital data like images and video files inside digital cameras and other mobile devices.

For example, the SD (secure digital) card can be connected to the laptop computer or using USB SD card reader.

Memory card reader and SD card attached
Memory card reader and SD card attached

USB Flash Disk Drive: A USB disk is a small thumb size device used to store and transfer all kinds of computer data. Flash disks normally connect to the computer via USB ports and is a popular means of storing and transferring files between computers.

3. Optical Storage

CD, DVD, HDVD and Blu-ray are examples of optical media and are usually inserted into the computer via a drive tray at the front of the system unit, or on the side or front of a laptop computer. These drives are designed to read and/or write data.

Newer and ultra-thin laptops ship without optical drive units. The assumption is that most users are increasingly retaining data and installing computer applications using the cloud.

4. Paper Storage

Paper and book forms account for large chunks of data storage around the world.

Most paper storage is achieved through printing and storage in cabinet files for future reference. Of course paperwork can be cumbersome but is still a simpler way to interact with long documents, and most formal documents are still printed for filing.

Where do you mainly store your data?

See results
Left is mSata SSD and right is M.2 SDD
Left is mSata SSD and right is M.2 SDD | Source

© 2014 Alfred Amuno

Comments

    0 of 8192 characters used
    Post Comment

    • amuno profile imageAUTHOR

      Alfred Amuno 

      4 years ago from Kampala

      Thanks Dataload. Hope it serves those who need it most.

    • DATALOAD profile image

      DATALOAD 

      4 years ago from Michigan

      There's a lot of information packed in this article. Great overview of the subject.

    working

    This website uses cookies

    As a user in the EEA, your approval is needed on a few things. To provide a better website experience, hubpages.com uses cookies (and other similar technologies) and may collect, process, and share personal data. Please choose which areas of our service you consent to our doing so.

    For more information on managing or withdrawing consents and how we handle data, visit our Privacy Policy at: https://hubpages.com/privacy-policy#gdpr

    Show Details
    Necessary
    HubPages Device IDThis is used to identify particular browsers or devices when the access the service, and is used for security reasons.
    LoginThis is necessary to sign in to the HubPages Service.
    Google RecaptchaThis is used to prevent bots and spam. (Privacy Policy)
    AkismetThis is used to detect comment spam. (Privacy Policy)
    HubPages Google AnalyticsThis is used to provide data on traffic to our website, all personally identifyable data is anonymized. (Privacy Policy)
    HubPages Traffic PixelThis is used to collect data on traffic to articles and other pages on our site. Unless you are signed in to a HubPages account, all personally identifiable information is anonymized.
    Amazon Web ServicesThis is a cloud services platform that we used to host our service. (Privacy Policy)
    CloudflareThis is a cloud CDN service that we use to efficiently deliver files required for our service to operate such as javascript, cascading style sheets, images, and videos. (Privacy Policy)
    Google Hosted LibrariesJavascript software libraries such as jQuery are loaded at endpoints on the googleapis.com or gstatic.com domains, for performance and efficiency reasons. (Privacy Policy)
    Features
    Google Custom SearchThis is feature allows you to search the site. (Privacy Policy)
    Google MapsSome articles have Google Maps embedded in them. (Privacy Policy)
    Google ChartsThis is used to display charts and graphs on articles and the author center. (Privacy Policy)
    Google AdSense Host APIThis service allows you to sign up for or associate a Google AdSense account with HubPages, so that you can earn money from ads on your articles. No data is shared unless you engage with this feature. (Privacy Policy)
    Google YouTubeSome articles have YouTube videos embedded in them. (Privacy Policy)
    VimeoSome articles have Vimeo videos embedded in them. (Privacy Policy)
    PaypalThis is used for a registered author who enrolls in the HubPages Earnings program and requests to be paid via PayPal. No data is shared with Paypal unless you engage with this feature. (Privacy Policy)
    Facebook LoginYou can use this to streamline signing up for, or signing in to your Hubpages account. No data is shared with Facebook unless you engage with this feature. (Privacy Policy)
    MavenThis supports the Maven widget and search functionality. (Privacy Policy)
    Marketing
    Google AdSenseThis is an ad network. (Privacy Policy)
    Google DoubleClickGoogle provides ad serving technology and runs an ad network. (Privacy Policy)
    Index ExchangeThis is an ad network. (Privacy Policy)
    SovrnThis is an ad network. (Privacy Policy)
    Facebook AdsThis is an ad network. (Privacy Policy)
    Amazon Unified Ad MarketplaceThis is an ad network. (Privacy Policy)
    AppNexusThis is an ad network. (Privacy Policy)
    OpenxThis is an ad network. (Privacy Policy)
    Rubicon ProjectThis is an ad network. (Privacy Policy)
    TripleLiftThis is an ad network. (Privacy Policy)
    Say MediaWe partner with Say Media to deliver ad campaigns on our sites. (Privacy Policy)
    Remarketing PixelsWe may use remarketing pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to advertise the HubPages Service to people that have visited our sites.
    Conversion Tracking PixelsWe may use conversion tracking pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to identify when an advertisement has successfully resulted in the desired action, such as signing up for the HubPages Service or publishing an article on the HubPages Service.
    Statistics
    Author Google AnalyticsThis is used to provide traffic data and reports to the authors of articles on the HubPages Service. (Privacy Policy)
    ComscoreComScore is a media measurement and analytics company providing marketing data and analytics to enterprises, media and advertising agencies, and publishers. Non-consent will result in ComScore only processing obfuscated personal data. (Privacy Policy)
    Amazon Tracking PixelSome articles display amazon products as part of the Amazon Affiliate program, this pixel provides traffic statistics for those products (Privacy Policy)