IB COMPUTER SCIENCE | A1.1.7 Secondary Memory Storage

Lesson objective

Describe internal and external types of secondary storage and relate their recording methods, connections, advantages and limitations to suitable scenarios.

Learn

A1.1.7 | SECONDARY MEMORY STORAGE

01 | STORAGE THAT KEEPS DATA AFTER POWER IS REMOVED

When you save a program, photograph or document, you need it to remain available after the computer shuts down. Secondary storage provides non-volatile storage for programs and data beyond the CPU’s immediate working state.

The SSD holding your saved program and the RAM holding its active instructions have different purposes. Opening a saved file makes the needed data available to software in working memory. Saving writes the required changes back to persistent storage.

For this objective, describe internal SSDs, HDDs and eMMC, then external SSDs and HDDs, optical discs, flash drives, memory cards and network attached storage. Connect the device’s characteristics to the situation in which it is used.

Non-volatile means it does not need continuous power to retain its stored information. It does not mean the device can never fail, be lost or have its contents deleted. A saved file and a protected backup are different things.

02 | TWO QUESTIONS: WHERE IS IT, AND HOW DOES IT STORE?

Internal and external describe a device’s placement or connection relative to the computer. Magnetic, solid-state and optical describe the storage technology. These are different classification questions.

An SSD can be internal or external while still using solid-state flash storage. An HDD can be inside a desktop or inside an external enclosure. Moving the device into a different enclosure does not turn magnetic storage into flash.

Network attached storage describes how clients access a storage system. The NAS itself may contain HDDs, SSDs or a combination. It is not a fourth physical recording technology.

CLASSIFY STORAGE ON TWO DIFFERENT AXES

PLACEMENT OR ACCESS

Internal: fitted within the computer or integrated into its hardware.

External direct connection: attached as a separate device or removable medium.

Network access: files reached through a network, such as on a NAS.

RECORDING TECHNOLOGY

Magnetic: patterns on a magnetic surface, as in an HDD.

Solid-state: electronic flash cells, as in SSDs, eMMC, flash drives and memory cards.

Optical: laser-based reading of disc features, as with CDs, DVDs or Blu-ray discs.

Example: an external HDD is external by connection and magnetic by technology.

03 | INTERNAL HDD: MAGNETIC STORAGE WITH MOVING PARTS

A hard disk drive (HDD) stores data as magnetic patterns on rotating platters. A read/write head accesses locations as the drive positions the mechanism and the required part of the platter rotates into place. The head normally operates extremely close to the surface rather than touching it.

This mechanical movement introduces seek time and rotational delay. Accessing many scattered small items can therefore be slower than sustained access to a sequence of data. An internal HDD connects inside the computer and can hold operating systems, applications and user files.

HDDs commonly provide substantial capacity at a relatively low cost per unit of storage compared with many SSD options. Actual prices and performance depend on the product; there is no fixed price ratio to memorise.

Moving parts bring noise, power requirements and sensitivity to physical shock, particularly during operation. An HDD can suit a desktop’s large media collection or bulk local storage, while a heavily carried computer may benefit from a different balance of properties.

04 | INTERNAL SSD: FLASH STORAGE WITHOUT A ROTATING DISK

A solid-state drive (SSD) stores data electronically, commonly using NAND flash memory managed by a controller. It has no spinning platters or moving read/write head. The controller handles tasks such as locating data and managing flash writes.

Without mechanical positioning, an SSD can access scattered data with low latency. This makes SSDs useful for operating-system activity, application loading and workloads involving many small reads or writes.

Flash cells have a finite write/erase endurance. Drive controllers manage writes across cells and may replace worn areas with spare capacity. This does not mean a normal SSD immediately wears out when a file is saved, but endurance remains a relevant workload and device property.

Internal SSDs use interfaces and physical formats supported by the computer. SATA and NVMe are not alternative physical recording media: they relate to communication arrangements, while the underlying storage can still be flash. Compatibility matters as well as nominal drive speed.

05 | eMMC: COMPACT EMBEDDED FLASH STORAGE

Embedded multimedia card storage, usually written eMMC, combines NAND flash and a controller in a compact package. It is commonly integrated into the device’s circuit board rather than offered as a user-removable storage card.

A low-cost laptop, tablet or embedded system may use eMMC to retain its operating software and local data. Compactness and straightforward integration can suit a device whose size and cost matter.

eMMC is non-volatile secondary storage, not the same thing as RAM. Its flash technology also does not make it identical in performance, interface or upgrade options to a conventional replaceable SSD.

Soldered integration often makes replacement or upgrading difficult for the user. It is a reasonable design choice for suitable hardware, but you cannot assume that a computer with an SSD socket can accept an arbitrary eMMC chip as a simple plug-in upgrade.

06 | EXTERNAL HDD AND SSD: SAME TECHNOLOGY, DIFFERENT CONNECTION

An external HDD or SSD is housed outside the host computer and attached through a supported connection, often USB. The enclosure and interface allow a storage device to be connected, moved or disconnected as needed.

An external HDD retains magnetic recording and mechanical movement. It can provide substantial portable capacity for bulk files or backup copies, but carrying or dropping an operating drive can be risky.

An external SSD retains solid-state storage and avoids mechanical seek and rotational delay. It can suit portable project files or large media transfers where responsiveness and resistance to ordinary movement matter. It is still vulnerable to electronic failure, damage, loss and theft.

The whole transfer path limits performance: the drive, enclosure, cable, port and host software all matter. Connecting a fast SSD through a slow interface does not guarantee the device’s advertised internal performance. Neither USB nor external automatically tells you whether the device contains an HDD or SSD.

07 | FLASH DRIVES AND MEMORY CARDS

A USB flash drive is a small flash-storage device with a controller and a USB connection. It is useful for moving a modest collection of files between compatible computers or keeping a separate copy, subject to the organisation’s device rules.

Memory cards, such as SD and microSD, also use solid-state flash storage. Their form factor and supported interface suit devices such as cameras, data loggers and some single-board computers. A compatible slot or reader is needed.

Their small size supports portability but also makes them easy to lose. Write performance and endurance vary. For video recording or continuous logging, check the device’s sustained-write requirements and the card’s intended use, rather than assuming any card of sufficient capacity will work.

A memory-card adapter may change the physical connection available; it does not add storage capacity or automatically make the underlying flash faster. A flash drive and an SSD can both use flash while having different controllers, interfaces and workload characteristics.

08 | OPTICAL STORAGE: DISCS READ WITH A LASER

Optical storage includes CDs, DVDs and Blu-ray discs. A compatible drive uses a laser and detects differences in reflected light associated with the disc’s stored pattern. It does not use a magnetic head to read flash cells.

Disc types differ. A pressed read-only disc cannot be edited like a rewritable medium. Recordable formats allow data to be written under their rules, while rewritable formats support reuse. The exact behaviour depends on the disc format and compatible drive.

Optical media can suit distribution to equipment that supports the format, or a deliberately managed removable archive. A disc can be kept disconnected from a computer, but it still needs suitable handling, storage conditions and future access to a compatible reader.

Many current computers lack built-in optical drives. A separate drive may be required. Capacity, access speed, physical damage and format support can make optical media less suitable for frequently changing large project data. Do not treat any optical disc as an automatically permanent, maintenance-free backup.

09 | NAS: STORAGE ACCESSED THROUGH A NETWORK

Network attached storage (NAS) is a storage system that provides file access to clients over a network. Students in a laboratory might access shared project folders from several computers without moving a USB drive between them.

The NAS can contain one or more drives and run software to manage file services, accounts and permissions. Its physical storage may be HDDs or SSDs. From the client’s point of view, access is through the network rather than a direct local-drive connection.

A local NAS does not inherently require the public internet. It does require a working route over the appropriate network and the necessary permissions. Remote access from outside that network needs additional configuration and protection.

Access speed depends on the network, NAS hardware, disks and concurrent users. Centralised storage can simplify sharing and management, but network failure or failure of the storage service can affect several users at once.

A SIMPLE SHARED STORAGE ARRANGEMENT
Student laptopLab computerTeacher computer
NAS | FILE SERVICE + STORAGE

Accounts, permissions and shared folders

Underlying HDDs, SSDs or a combination

The network provides access. The installed drives provide the physical storage.

10 | DESCRIBE A DEVICE IN ITS SCENARIO

NeedPossible storage choiceCharacteristics to describe
Responsive local operating system and applicationsInternal SSDLow random-access latency, supported interface and persistent local storage.
Large local media collectionInternal HDDSubstantial capacity and often favourable cost per unit, with mechanical access delays.
Compact device with integrated storageeMMC on supported hardwareFlash and controller in a compact package; limited user upgrade options.
Large project files carried between workstationsExternal SSD or HDD according to prioritiesConnection compatibility, capacity, portability, speed and physical handling.
Continuous camera recordingCompatible memory cardSupported form factor, capacity and sustained write capability.
Small file transfer between computersUSB flash driveConvenient direct connection and small size, balanced against loss and access restrictions.
Distribution to optical-disc equipmentCompatible optical discDisc format, reader compatibility and write-once/read-only/rewritable behaviour.
Shared folders for multiple usersNASNetwork access, permissions, concurrent use and availability.

More than one answer may be reasonable. State the important requirement before choosing. A device with excellent transfer speed may still be unsuitable if the target computer cannot connect to it or the camera cannot accept its format.

11 | EXPLORE A STORAGE CHOICE

Choose a scenario and compare two candidate devices. The cards separate recording technology from connection, then explain a relevant strength and limitation. These are teaching examples, not current product recommendations or measured device benchmarks.

Try comparing an internal SSD with eMMC for an embedded board, then an external HDD with NAS for shared class files. Notice that a useful answer depends on compatibility and the actual task, rather than a single fastest-to-slowest ranking.

12 | BACKUP, REDUNDANCY AND PORTABILITY ARE DIFFERENT

A backup is a separate recoverable copy that can help restore data after a loss. If the only project copy is on an external drive, moving the file there does not by itself create a backup. There must still be another appropriately protected copy.

A NAS may use mirrored or redundant drives to improve availability after a particular drive failure. That does not automatically protect against accidental deletion, ransomware, theft, fire or every system failure. Redundancy is not a substitute for independent backups.

Portability is the ease of moving a device or medium. It can help keep an offline or separate-location copy, but it also creates handling, loss and theft risks. Sensitive data may need encryption and controlled access.

A backup plan should include tested restoration and appropriate protection from the failures being considered. No single medium is immune to every risk, and a device being non-volatile does not guarantee every write was safely completed before sudden disconnection.

13 | KEEP THE COMPARISON FAIR

PropertyWhat to consider
CapacityHow much data must fit, including expected growth.
Access performanceRandom access, sustained transfer and the complete connection path.
CostTotal required capacity, readers, enclosures, network equipment and support.
Portability and handlingSize, external power, moving parts and physical protection.
CompatibilityPhysical connector, protocol, operating-system support and file format.
Endurance and reliabilityWrite workload, mechanical wear, flash endurance and realistic failure modes.
Sharing and availabilityNumber of users, permissions, network dependence and recovery.
Retention and protectionSeparate copies, safe removal, environmental conditions and access controls.

Avoid invented universal statements such as “all external drives are slower” or “flash never fails”. An external SSD can outperform an internal HDD for a suitable task, while a slow connection can limit an otherwise fast drive.

Similarly, NAS describes a network service arrangement, not a guaranteed speed or capacity. Optical format support, flash card compatibility and eMMC integration must be described in context.

14 | DESCRIBE THE TYPE AND CONNECT IT TO A USE

For describe, provide a clear account of the device’s characteristics. A useful structure is: technology → placement or connection → suitable use → relevant limitation.

For example: “An external HDD stores data magnetically on rotating platters in a separate enclosure connected to the computer. It can provide substantial portable capacity for backup copies, but its moving mechanism makes physical handling important.”

For NAS: “A NAS provides shared file access over a network and may contain HDDs or SSDs. It supports centrally managed folders for multiple users, but access depends on the network, service availability and permissions.”

Use the Questions tab to practise complete descriptions. Before moving on, explain why an internal SSD and a USB flash drive are both solid-state storage but are not interchangeable in every device.

Further reading: eMMC storage architecture · SNIA’s NAS explanation

MATCH THE STORAGE TYPE TO ITS DESCRIPTION

Terminology

Terminology

Secondary storage

Non-volatile storage retaining programs and data beyond immediate CPU working state.

Non-volatile

Retaining stored information without continuous power.

Internal storage

Storage fitted within a computer or integrated into its hardware.

External storage

Storage accessed as a separate connected device or removable medium.

HDD

A hard disk drive storing data magnetically on rotating platters.

Platter

A rotating disk surface used for magnetic recording in an HDD.

Read/write head

The HDD mechanism that reads or changes magnetic patterns.

Seek time

The time required to position an HDD head for a requested track.

Rotational delay

Waiting for the required location to rotate into position beneath the head.

SSD

A solid-state drive, commonly using flash memory and a controller.

Flash memory

Electronic non-volatile storage that can be programmed and erased.

Controller

Hardware and associated logic managing device operations and data access.

eMMC

Embedded multimedia card storage combining flash memory and a controller in a compact package.

USB flash drive

A small flash-storage device with a USB connection.

Memory card

A removable flash-storage medium for a compatible device or reader.

Optical storage

Storage read using a laser and optical characteristics of a disc.

Recordable disc

An optical format allowing recording under its write-once rules.

Rewritable disc

An optical format designed to allow erasure or rewriting with compatible equipment.

NAS

Network attached storage providing file access services over a network.

Interface

The supported connection and communication arrangement between devices.

Capacity

The amount of data a device or medium can hold.

Latency

The delay in responding to an access request.

Sustained transfer rate

The data-transfer rate maintained over an interval for a workload.

Endurance

The ability to sustain a specified workload, such as flash write/erase activity, over time.

Backup

A separate recoverable copy retained to help restore data after loss.

Redundancy

Additional resources or copies used to tolerate particular failures; it does not replace independent backup.

Questions

Questions

CHECK YOUR UNDERSTANDING

Select all correct choices. Each exact set earns one point.

1. Which distinction is accurate?
2. Which statements describe an HDD?
3. Which describe SSDs?
4. What describes eMMC?
5. Which can be internal or external while keeping the same broad recording technology?
6. Which memory-card considerations matter for camera video?
7. Which optical-storage statements are correct?
8. Which statements about NAS are accurate?
9. Which are valid backup cautions?
10. Why can an external SSD transfer more slowly than expected?

EXPLAIN AND COMPARE

Write your answers before revealing each sample.

1. Describe the difference between internal and external secondary storage.

2. Describe the operation and a suitable use of an internal HDD.

3. Describe how an SSD differs from an HDD in its storage mechanism.

4. Describe eMMC and one implication of its integration.

5. Describe an external SSD for portable project work.

6. Describe the suitability of a memory card for a camera.

7. Describe the differences among read-only, recordable and rewritable optical media.

8. Describe NAS and the role of its underlying drives.

9. Describe why an external drive alone does not guarantee a backup.

10. Describe how to choose storage for a shared class project collection.

APPLY IT | A ROBOTICS TEAM’S FILES

A team records camera footage onto removable media, carries large project files between workstations and shares a central project folder. Describe a suitable storage arrangement for each need, stating the recording technology, connection, compatibility and one limitation. Explain where separate backup copies would be kept.

Flashcards

Flashcards

Click to flip. Select the ideas you need to revisit.

0 cards selected for revision.

    Selections are kept while this page is open.

    Workbook

    Workbook

    COMING SOON

    The workbook for A1.1.7 Secondary Memory Storage is coming soon. Complete the matching task and written questions in your exercise book.