Chapter 12: Secondary Storage Devices
Introduction to Secondary Storage Devices
Secondary storage devices are essential components of a computer system, providing non-volatile storage for data and programs when not in active use by the processor. Unlike primary memory (RAM), secondary storage retains data even when the system is powered off. These devices vary in access methods, capacity, and speed, with the choice depending on the application’s needs. This chapter explores sequential and direct-access devices, their types, characteristics, the system bus, and their role in modern computing, along with a comprehensive list of related questions.
Sequential and Direct-Access Devices
Secondary storage devices are classified based on how data is accessed: sequential (serial) or direct (random). Sequential-access devices retrieve data in the order it was stored, requiring navigation through preceding data, making access time variable. They are suitable for applications like payroll or billing, where data is processed in sequence. Direct-access devices, also called random-access devices, allow immediate access to any data location with approximately equal access time, similar to selecting a specific track on a music CD. Magnetic and optical disks are examples of direct-access devices.
Sequential Access Devices
Magnetic Tape
Magnetic tape is a widely used sequential-access storage medium for large datasets processed in order. It consists of a ½-inch or ¼-inch wide plastic ribbon, 50 to 2,400 feet long, coated with a magnetic material like iron oxide or chromium dioxide. Data is stored as tiny magnetized (1s) and non-magnetized (0s) spots. Magnetic tapes are stored in reels, cartridges, or cassettes, and can be erased and reused indefinitely, similar to audio or videotapes.
Tape Drive
A tape drive is a device used to read from and write to magnetic tape. It operates similarly to audio or video recorders, with read/write heads that interact with the tape ribbon as it passes. Tape drives support reels, cartridges, or cassettes, and require the tape to be loaded (online) for data access. When processing is complete, the tape is removed for offline storage, making data inaccessible until reloaded. Commands like "read" and "write" control data transfer to and from primary storage.
Direct-Access Devices
Magnetic Disk
Magnetic disks are the most popular direct-access secondary storage devices due to their random-access capability, making them ideal for online use. They consist of thin, circular platters made of metal or plastic, coated on both sides with a magnetic material like iron oxide. Data is stored as magnetized spots representing binary 1s and 0s.
Storage Organization
The disk surface is divided into concentric circles called tracks, numbered from outermost (0) to innermost. Tracks are further subdivided into sectors by dividing the disk into pie-shaped segments. For example, with eight segments, each track has eight sectors, allowing precise data addressing.
Types of Magnetic Disks
Magnetic disks are broadly classified into floppy disks and hard disks, with variations based on size, packaging, and material.
- Floppy Disks: Encased in protective envelopes or plastic cases, floppy disks are portable and flexible.
- Hard Disks: Rigid metal platters, packaged individually or in multiples (e.g., Zip/Bernoulli disks, disk packs, Winchester disks).
Floppy Drive ABCs
Invented by IBM in 1967, floppy disks use a flexible magnetic medium encased in a protective casing. Data is written similarly to hard disks, with read/write heads contacting the disk surface, causing wear over time. Modern successors include LS-120 diskette drives, offering higher capacity.
Floppy History
- 8” Disk (1971): The first floppy disk, 8 inches in diameter, stored 1 MB in a cardboard case.
- 5.25” Disk (1976): Introduced with 160 KB capacity, later standardized in 1978 with variants: single-sided (160 KB), double-sided (360 KB), and high-density (1.2 MB).
- 3.5” Disk (1984): Developed by IBM, with capacities of double-density (720 KB), high-density (1.44 MB), and extended-density (2.88 MB, IBM only). Still used today for compatibility.
Hard Disk Drive ABCs
Hard disk drives (HDDs) are the primary storage for permanent data, housed internally and connected via ATA or SCSI cables. Key components include platters, head arm, chassis, and head actuator. Unlike floppy or CD-ROM drives, HDDs are not physically accessed by users.
Optical Disk
Optical disks are a newer secondary storage medium, offering high-capacity random-access storage. They use a rotating disk coated with a highly reflective material, with data recorded and read using laser beam technology, earning them the name "laser disks."
Optical Disk Drive
An optical disk drive mounts the disk for reading or writing, containing a tray, laser beam assembly, and motor to rotate the disk. It includes mechanical and electronic components to facilitate data access.
Types of Optical Disks
The two most popular optical disks are CD-ROM and WORM disks.
- CD-ROM (Compact Disk-Read-Only Memory): A 5.25-inch (12 cm) silver metal disk with ~650 MB capacity, pre-recorded and unalterable. It supports music playback with appropriate hardware and resembles audio CDs.
- WORM Disk (Write-Once, Read-Many): Allows users to record data once using a CD-recordable (CD-R) drive. Blank WORM disks are encoded with permanent data, readable by standard CD-ROM drives, but cannot be altered or written in multiple sessions.
Comparison of Direct-Access Devices
Device | Type | Capacity | Access Method |
---|---|---|---|
Magnetic Disk (Floppy) | Magnetic | 160 KB–2.88 MB | Random |
Magnetic Disk (Hard) | Magnetic | GBs–TBs | Random |
CD-ROM | Optical | ~650 MB | Random |
WORM Disk | Optical | ~650 MB | Write-once, read-many |
System Bus
The system bus is an electrical pathway that transfers data and signals between the CPU and peripherals, ensuring communication within the computer. It consists of three main types: data bus, address bus, and control bus.
Full Form of Bus
Bus stands for Binary Unit System (though often used as a general term for data pathways).
Data Bus
The data bus connects the CPU, memory, and other motherboard devices, transferring data in parallel. Its width (number of lines) determines transfer speed; a 16-bit bus moves 2 bytes at once, while a 32-bit bus moves 4 bytes.
Address Bus
The address bus connects the CPU and memory, specifying memory locations for data access. A 32-bit address bus can address over 4 GB of memory, determining the system’s memory capacity.
Control Bus
The control bus manages the direction, flow, and timing of operations, using signals to identify device types and coordinate communication with the CPU.
Role of Secondary Storage in Modern Computing
Secondary storage devices are critical for persistent data storage, enabling systems to retain programs and data when powered off. Magnetic disks (HDDs and SSDs) and optical disks (CDs, DVDs) provide high-capacity, cost-effective solutions for personal and enterprise use. Sequential-access devices like magnetic tapes remain relevant for archival and backup due to their low cost and durability. The system bus ensures efficient data transfer between storage and the CPU, optimizing performance. Modern trends, such as solid-state drives (SSDs) and cloud storage, build on these foundations, offering faster access and scalability.
Questions
- What are direct-access devices?
- What is magnetic tape?
- What is a tape drive?
- What is a magnetic disk?
- What is storage organization?
- How many types of magnetic disks are there?
- What are floppy drive ABCs?
- What is the history of floppy disks?
- What are hard disk drive ABCs?
- What is an optical disk?
- What is an optical disk drive?
- How many types of optical disks are there?
- What is a CD-ROM?
- What is a compact disk?
- What is the full form of CD-ROM?
- What is read-only memory?
- What is a WORM disk?
- What is a bus?
- What is the full form of bus?
- What is a data bus?
- What is an address bus?
- What is a control bus?