3.3 Data Storage

Primary Storage

RAM

What is stored on RAM?

ROM

What is stored on RAM?

ROM VS RAM

Static RAM VS Dynamic RAM

Differences between primary and secondary storage

  • Primary storage is directly accessible by the CPU
  • …whereas secondary storage is not directly accessible by the CPU
  • -Primary storage stores the data that is currently in use
  • …whereas secondary storage stores user’s files/data
  • Primary storage normally has a small capacity
  • …wherease secondary storage normally has a larger capacity
  • Some parts of primary storage are volatile
  • …whereas secondary storage is non volatile
  • some parts of primary storage the data cannot be changed
  • …whereas data in secondary storage can be changed
  • primary storage has faster access speeds to data
  • …whereas secondary storage has slower access speeds to data

Secondary Storage

Purpose of Secondary Storage

  • For non-volatile/permanent storage of files and data
  • To store data that is not currently required by the CPU
  • To store data to transfer it to another computer

Secondary Storage

Solid State (SSD) (operation/description)

Magnetic storage (operation/description)

HDD vs SSD

When to use HDD or SSD

Optical storage (CD/DVD) (operation/description)

Difference between Optical and Solid State

  • Solid state has no moving parts
  • …otpical does have moving parts
  • Solid state is faster to access data
  • …optical is slower to access data
  • Solid state uses less power to operate
  • … optical uses more power to operate
  • solid state runs quietly
  • …optical makes more noise
  • solid state is more durable
  • …optical is less durable
  • solid state storage has a large storage capacity
  • …optical has a much smaller limit to its storage capacity
  • solid state is more expensive per GB of data
  • …optical is cheaper per GB of data
  • solid state stores data onto chips/transistors
  • …optical stores data by using lasers burning pits and lands onto a disk

Virtual Memory

How is virtual memory created and used?

Explain why virtual memory is needed?

Drawbacks of virtual memory

Sample question: A computer has pages A,B and C that are stored in RAM. Page D needs to be sent to the RAM but the RAM is full. Page B is not needed immediately. Explain how Virtual memory is used in this scenario

  • The secondary storage/hard drive can be partitioned to create virtual memory
  • …and page B is sent to the virtual memory…
  • …which makes space for page D in RAM
  • …Once page A/C/D is not required/has been processed
  • …page B can be sent from the virtual memory back to RAM when it is required

Cloud Storage

  • A collection of servers
  • …that store data in a remote location
  • …that are accessed using an internet connection

Public cloud:

Private cloud:

Hybrid cloud:

Advantages of using cloud storage

Disadvantages of using cloud storage