Computer ScienceNEB 2076 (old course)

What is secondary memory ? Explain about hard disk. [2+3]

5

Answer

Primary Memory (RAM)Secondary Memory (HDD/SSD)Tertiary Memory (Tapes,Optical)Faster, Costlier
Memory Hierarchy: Secondary Memory Position (RAM fastest, HDD/SSD slower but cheaper)

Secondary Memory

Secondary memory refers to non-volatile storage devices that retain data even when the computer is powered off. Unlike primary memory (RAM), which is volatile and temporary, secondary memory provides permanent storage for programs, data, and the operating system. It is slower than primary memory but offers large storage capacity at a lower cost. Secondary memory is used for long-term data retention, such as storing files, databases, and software applications.


Hard Disk

A hard disk drive (HDD) is a common type of secondary memory device that stores data magnetically on rotating platters. It consists of the following key components:

7200 RPM3.5" (Desktop)2.5" (Laptop)HDD (Hard Disk Drive)SATA SSDNVMe SSDSSD (Solid State Drive)Hard Disks
Classification of modern hard disks by type and form factor
1. SeekActuator arm movesto track2. RotatePlatter spinsunder head3. Read/WriteHead detects/writes magnetic bits4. TransferData sent tocontroller
Step-by-step operation of a hard disk
  1. Platters: Circular disks coated with magnetic material that store data in concentric tracks and sectors.
  2. Read/Write Heads: Tiny devices that read or write data by moving over the platters.
  3. Spindle Motor: Rotates the platters at high speeds (typically 5,400–15,000 RPM).
  4. Actuator Arm: Moves the read/write heads to the correct track.
  5. Controller: Manages data transfer between the hard disk and the computer.

How a Hard Disk Works

  • Data is stored in sectors (small blocks) on the platters.
  • The operating system and applications access data by specifying its logical address (e.g., file path).
  • The disk controller translates this into a physical address (cylinder, track, and sector).
  • The read/write head locates the data and transfers it to/from RAM.

Advantages of Hard Disks

  • High Storage Capacity: Can store terabytes (TB) of data.
  • Cost-Effective: Cheaper per gigabyte compared to primary memory.
  • Durability: Resistant to power failures (non-volatile).

Disadvantages of Hard Disks

  • Slower Access Time: Mechanical movement of heads and platters makes it slower than SSDs.
  • Fragility: Susceptible to physical damage (e.g., drops, shocks).
  • Noise and Heat: Moving parts generate noise and heat.

Types of Hard Disks

  1. Internal HDD: Installed inside the computer’s chassis.
  2. External HDD: Portable and connected via USB or other interfaces.
  3. Solid-State Hybrid Drives (SSHD): Combine HDD storage with a small amount of SSD cache for faster performance.

Hard disks remain a fundamental component of computer systems due to their reliability and affordability, despite the rise of solid-state drives (SSDs).

Discussion

Loading…

More Computer Science questions

All Computer Science old questions