Docsity

lecture on computer fundamentals, Lecture notes of Computer Fundamentals

Partial preview of the text

Download lecture on computer fundamentals and more Lecture notes Computer Fundamentals in PDF only on Docsity!

Lecture 7

Secondary Storage Devices

Storing Data

  • (^) Penning it down on a piece of paper
  • (^) Typing it using typewriter and getting a hard

copy

  • (^) Storing it electronically on computer 08/22/20 EE121 2
6A- 4

Describing Storage Devices

  • (^) Storage terms
    • (^) Media is the physical material storing data
    • (^) Storage devices manage the media
      • (^) Writing data to storage device
      • (^) Reading data from storage device
      • (^) Diskette: storage medium, Diskette Drive: storage device
    • (^) Magnetic Storage
      • (^) Magnetic devices use a magnet
    • (^) Optical Storage
      • (^) Optical devices use lasers
    • (^) Solid-state devices have physical switches 08/22/20 EE

Magnetic

storage

Magnetic Storage Devices

  • (^) Diskette
    • (^) Single thin disk of plastic
    • (^) Stores data on both sides
    • (^) Each side has its own read/write head
  • (^) Hard Disk
    • (^) Contain multiple disks
      • (^) Platters
    • (^) Made of rigid material
      • (^) Aluminum 08/22/20 EE
6A- 8

Magnetic Storage Devices

Floppy Disk Floppy Disk

Hard Disk Hard Disk

Tape Tape

08/22/20 EE
6A- 10

Magnetic Storage Devices

  • (^) Data storage
    • (^) Media is covered with iron oxide particles
    • (^) Read/write head is an electro-magnet
    • (^) Magnet writes charges on the media
      • (^) Positive charge is a 1
      • (^) Negative charge is a 0
      • (^) Record 1s and 0s by alternating the direction of current 08/22/20 EE
6A- 13

Magnetic Storage Devices

  • (^) Data retrieval
    • (^) Read/Write head passes over surface while no current flows
    • (^) Storage medium charges the Read/Write head
      • (^) Small current flow with direction dependant on field polarity
    • (^) Direction of flow is sensed and data is sent into memory 08/22/20 EE
6A- 14

Data Retrieval

08/22/20 EE
6A- 16

Magnetic Storage Devices

  • (^) Data organization
    • (^) Format draws tracks on the disk
      • (^) Concentric rings
      • (^) Numbered from outermost to innermost, starting from 0
    • (^) Tracks is divided into sectors
      • (^) Smallest unit Magnetic disk drive can work with
      • (^) Entire sector read/written
      • (^) In most Hard Disks a sector can store upto 512 bytes
      • (^) All sectors on disk numbered in one long sequence
      • (^) Each sector uniquely addressable and accessible 08/22/20 EE
6A- 17

Magnetic Storage Devices

  • (^) Data organization
    • (^) Outermost track longer than innermost track
    • (^) Same number of sectors/track
      • (^) All sectors store same amount of data
      • (^) Don’t occupy same space
      • (^) Waste of disk material; Longer tracks can store more data
    • (^) Solution: More sectors to longer tracks
      • (^) Move towards disk center; number of sectors/track ↓
      • (^) More efficient method
      • (^) Sectors/track given as average 08/22/20 EE

Sector Track

Photo credits: www.howstuffworks.com