1.2 - Memory and Storage Flashcards
What does primary storage consist of?
- Random Access Memory (RAM)
- Read Only Memory (ROM)
- Registers & Cache
Why do we need primary storage?
- It holds the data and instructions which the CPU needs to access while a computer is running
- The CPU can access data from primary storage much more quickly than secondary storage
What is the difference between RAM and ROM?
RAM:
- Volatile
- Read and write
- Larger
ROM:
- Non-volatile
- Read only
- Smaller
What is the purpose of RAM?
- Holds the operating system, programs and data in use by the CPU when the computer is running
What is the purpose of ROM?
- Holds the first instructions for when the computer is first turned on, known as the bootstrap
Why is virtual memory needed?
- Virtual memory is needed when there isn’t enough physical RAM to store the open programs
How does virtual memory work?
- Programs are transferred
to virtual memory
from the RAM when there arenot being executed
- Programs are transferred
back to RAM
from virtual memorywhen they are needed
Why do we need secondary storage?
- It’s needed for;
– Storage of programs and data when the power is turned off
– Semi-permanent storage of data that can change
– Backup & archive of data files
What are the common types of storage?
- Optical (CD, DVD, Blu-Ray)
- Magnetic (Hard disk drive, tape)
- Solid State (SSD, Memory sticks, Flash memory cards)
What are the advantages of optical storage?
Thin, lightweight & portable
What are the disadvantages of optical storage?
Low capacity
Slow to access data
What are the advantages of magnetic storage?
High storage
Quick to access data
What are the disadvantages of magnetic storage?
Has moving parts which eventually fail
Hard disks perform better if defragmented
What are the advantages of solid state storage?
Medium storage
Very quick to access data
No moving parts, reliable
No noise
Low power
No defragmentation needed
What are the disadvantages of solid state storage?
Limited number of read/write cycles
Expensive