1.2 Memory and Storage Flashcards
Why do computers need primary memory?
The read and write speed on a hard disk is very slow compared to Main Memory yet the cost of faster speeds means that primary memory doesn’t have enough storage space
Features of RAM
- Random Access Memory
- Stores part of the OS and software in use
- Can be read from and written to
- Volatile
Features of ROM
- Read Only Memory
- Stores start-up programs, various firmware for the control of the components, bootstrap which tells the computer where to find the OS on the hard drive and Basic Input/Output System (BIOS) which controls the configuration of components
- Can only be read from
- Non-volatile
When is virtual memory needed?
When there isn’t enough physical RAM space to store open programs
Where is virtual memory stored?
On the hard disk
How does virtual memory work?
- Programs are transferred out to virtual memory from the RAM when they aren’t currently being executed
- Programs are transferred back to RAM when they’re needed
Optical storage
Lasers read and write data using light
Magnetic storage
Mechanical parts e.g. a driver head move over the disk to read and write data magnetically
Features of optical storage (Capacity, Speed, Portability, Durability, Reliability, Cost)
- Bad compared to others
- Bad, accessed in a spiral
- Good
- Bad, prone to scratches
- Medium, can become damaged easily
- Good, cheap to buy in bulk
Features of magnetic storage (Capacity, Speed, Portability, Durability, Reliability, Cost)
- Good
- Medium, can only be read sequentially
- Medium, moving when powered on can damage the device
- Medium, moving parts eventually fail
- Medium, can become damaged or moving parts can fail
- Good, cheaper cost per gigabyte than solid state
What are the features of virtual memory?
- Cheaper than increased RAM
- Prevents error message ‘out of memory’ while programs and files remain open
- Takes more time to access than data stored in RAM due to transfer time
Features of solid state storage (Capacity, Speed, Portability, Durability, Reliability, Cost)
- Medium
- Good, data doesn’t need to be accessed sequentially
- Good
- Bad, limited number of read/write cycles
- Good, no moving parts
- Medium, price is decreasing as technology improves
Nibble
4 bits
Byte
8 bits
What is the order of units of data?
kB, MB, GB, TB, PB
0+0
0
1+0
1