Docsity

Storage Devices: Types, Characteristics, and Organization, Slides of Computer Science

Toggle sidebar
bg1
This book is compiled for all
BS/ADP disciplines. First 10
chapters (from page 1 to 205)
included in this book are
related to computer concepts
and other chapters are related
to the Windows 7, MS office
2010 (Word, Excel, PowerPoint,
Access), and InPage 2000 with
practical.
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33

Partial preview of the text

Download Storage Devices: Types, Characteristics, and Organization and more Slides Computer Science in PDF only on Docsity!

This book is compiled for all

BS/ADP disciplines. First 10

chapters (from page 1 to 205)

included in this book are

related to computer concepts

and other chapters are related

to the Windows 7, MS office

2010 (Word, Excel, PowerPoint,

Access), and InPage 2000 with

practical.

Chapter 4

Storage Devices

INTRODUCTION TO COMPUTER

Storage Medium

Chapter 4 - Storage Devices

Storage Medium

  • Main memory or RAM is volatile
  • It cannot be used as permanent storage because when computer is switched off, its contents are erased
  • Its storage capacity is also very small
  • Storage medium is used to store data and programs permanently for later use
  • It is non-volatile
  • A storage medium is also called secondary storage, auxiliary storage, mass storage, or backing storage
  • Examples → hard disk, solid-state drives, memory cards, USB flash drive, optical disc, magnetic stripe card, and smart cards
  • Every computer or mobile device stores software and information on the storage medium
    • For example, during booting process, a computer locates an operating system in a storage medium (such as a hard disk) and loads it into memory (RAM)
    • Similarly, when a user issues a command to open an application program, OS locates program in a storage medium and loads it into RAM
  • Storage capacity of the storage medium is the number of bytes storage medium can hold
  • Storage capacity of the storage medium is up to Terabytes (TB) for personal computers

Storage Device

Chapter 4 - Storage Devices

Storage Device

  • A storage device is a computer hardware component that writes and reads information or instructions to and from the storage media
  • Examples of most popular storage devices are hard disk drive, CD/DVD drive, and USB flash drive
  • A computer performs two operations on the storage devices
    • Writing → In a writing process, storage device records/stores information or instructions from memory to a storage medium
    • Reading → In a reading process, storage device transfers information or instructions from storage medium into computer’s memory (for use by OS or application program)
  • When a storage device writes data (or programs) on storage medium, it performs a function as an output device
  • Similarly, when a storage device reads data from disk and loads it into RAM, it performs a function as an input device

Storage Device Characteristics of Storage Devices Speed

  • Speed of storage devices and memory is defined by access time and data transfer rate
  • Access Time
    • Time taken by storage device to locate data items from a storage medium
    • Usually, access time is measured in nanoseconds (ns)
      • A nanosecond is one-billionth of a second
    • Access time of sequential access memory devices is larger than that of random access memory devices
    • A memory device that has less access time is faster
    • For example, accessing data in RAM can be more than 200 , 000 times faster than accessing data on a hard disk
  • Data Transfer Rate
    • Time taken to transfer data to and from storage device
    • It is measured in kilobytes per second (KBps), or MBps, or GBps

Storage Device Characteristics of Storage Devices Storage Capacity

  • Maximum amount of data that can be stored on the storage medium is called storage capacity
  • Today, storage capacity of different storage devices is up to terabytes (TB)
  • Storage devices with large storage capacity can be used to save a large amount of data

Magnetic Storage

  • Magnetic storage is one of the most widely used secondary storage in computers
  • It consists of a magnetic medium on which information is stored
  • Magnetic disks (i.e. hard disk) and magnetic tapes are examples of magnetic storage
  • Disk drive or tape drive is used to write data on the disk/tape or read data from the disk/tape
  • Read-write head of the disk drive or tape drive performs read and write operations on the magnetic medium

Magnetic Disk

  • A magnetic disk is a thin circular metal or plastic disk
  • It is coated with magnetic material (ferrous oxide) on which data/information is stored
  • Data/information is accessed directly or randomly
  • Disk drives are used to write and read data/information to and from magnetic disk
  • Hard disk, floppy disk, and zip disk are examples of magnetic disks (The shape of zip disk is similar to floppy disk) - Today, hard disk is commonly used in computers as secondary storage - Floppy disks and zip disks are not in use nowadays
  • These disks have been replaced by optical disks and USB flash drives which are more reliable and have large storage capacity

Magnetic Disk Floppy Disk

  • A floppy disk is a portable magnetic storage media
  • It is also called simply a diskette
  • The standard floppy disk size is 3. 5 - inch
  • Storage capacity of the floppy disk is very low (i.e. 1. 44 MB for 3. 5 - inch floppy disk)
  • Data access speed of the floppy disk is slower than the hard disk
  • Today, floppy disks are rarely used
  • These disks have been replaced by optical disks and USB flash drives which are more reliable and have large storage capacity Zip Disk
  • ZIP disk is similar to a floppy disk but its storage capacity is about 100 (or more) times greater than a floppy disk
  • Today, zip disk is rarely used

Magnetic Disk Hard Disk

  • Most application programs and OS require hard disk for installation and operation
  • A hard disk is also called a hard disk drive or hard drive
  • Most personal computers and laptops contain at least one hard disk
  • However, large computers contain multiple hard disks
  • Hard disk contains multiple metal circular platters (disks) mounted on a central spindle
  • Each platter is coated on both sides with magnetic material
  • Both surfaces of each disk or platter are used to store information except for top and bottom platters
  • The surface of each disk (platter) is logically divided into concentric circles called tracks
  • Each platter contains many tracks
  • A track is divided into sections called sectors
  • Data/Information is stored in sectors in the shape of tiny magnetized spots called bits
  • The set of tracks of different platters that are at a particular head position is known as a cylinder

Magnetic Disk Hard Disk

  • A hard disk is formatted before storing data on it
  • OS makes logical tracks on both sides of each platter and divides each track into sectors
  • Each platter of hard disk has a very high density
  • A large number of tracks are made on each surface of the platter
  • If a computer contains only one hard disk, OS assigns it as drive letter C:
  • Additional hard disks (logical hard disks) are assigned the next available drive letters
  • Today, storage capacity of hard disk in PCs is up to 8 TB (Tera Bytes) or more
  • Storage capacity of a hard disk is determined by the number of platters it contains and the density of the platter
  • Accessing speed of hard disk is also very high as compared to other secondary storage devices
  • It is from 5 to 15 MBps (megabytes per second)

Magnetic Disk Hard Disk Hard Disk Performance

  • Performance of hard disk depends upon following factors
  • Seek Time
    • Seek time is the time required to move a read/write head to a particular cylinder or track
    • Seek time is variable; because it will take more time to reach track 300 from track 1 than to reach track 100
    • Therefore, seek time is expressed as average seek time
    • It is measured in milliseconds (ms)
  • Rotational Latency
    • Once a cylinder or track is selected, disk controller waits until read/write head reaches an appropriate sector
    • Time required to reach the head at the beginning of an appropriate sector
    • It is measured in milliseconds (ms)
  • Transfer Time
    • Transfer time is the time required to transfer data, read from the disk into the main memory
    • Alternatively, it is the time required to write data on the disk from the main memory
  • Access Time
    • Access time is the sum of average seek time, rotational delay, and transfer time
    • Mathematically it is written as: Access Time = Average Seek Time + Rotational Latency + Transfer Time
    • Once read/write head is in position, read or write operation is performed
    • Typically, a disk can transfer several megabytes of data per second