1.2 Memory and Storage Flashcards
What is Primary storage?
Holds the data and instructions which the CPU needs access to while a computer is running.
–> CPU can access data quicker from
primary than secondary
Examples of primary storages:
RAM
ROM
Cache & registers
RAM
Holds the operating system, programs and data while the computer is running
.Volatile (content lost)
.Read and write
.Large compared to ROM
ROM
Holds the first instructions for when the comp is turned on (bootstrap)
.Non-volatile (content remains)
.Read only
.Small compared to RAM
Why is virtually memory needed?
When there is not enough physical RAM to store the open program
Where is virtual memory held?
On the hard disk
Virtual memory uses
Programs transferred out to VM from RAM when not being executed.
Program transferred back to RAM from VM when they’re needed.
Why is secondary storage needed?
Because ROM is read only and RAM is volatile;
.storage of programs & data that can change
.backup of data file
.archive of data files
What are the 3 types of secondary storage
- Optical (CD-R, Blue ray)
- Magnetic (Hard Disk Drive, Tape)
- Solid State (SDD, memory sticks)
How do Optical storage work
Shining a laser at the media and processing the reflection of the media which can be determined by the pits and lands
Optical Storage stats
Capacity= Low
Accessibility= Slow
Portability= Thin, light weight
Cost= Cheap
Reliability= Prone to scratches
How does magnetic storage work?
Using the North and South pole of a magnet to store as 1 and 0
Magnetic storage stats
Capacity= High
Accessibility= Quick
Portability= Fragile
cost = Cheap
Reliability= Moving parts (drive head) will
eventually fail
How does Solid State storage work?
Flow of electricity forcing electrons into floating gates between 2 oxide layers causing a change in charge in the floating gate (can be measured in 1 and 0)
Solid State pros and cons
Capacity= Medium
Accessibility= Very quick
Portability= portable
Cost= Expensive
Reliability= No moving parts
- no noise
- low power
- no need to defragment
- limited numbers of read/write cycles