1.2 Memory and storage Flashcards
Why do computers need primary storage?
It holds data and instructions which the CPU needs to access while a computer is running. Plus to access this data is faster then secondary.
What is the RAM?
Random access memory
Volatile (loses memory when powered off) Holds the operating system, programs and data in use by the CPU.
What is the ROM?
Read only memory
Non volatile (doesn’t lose memory when it has no power) Contains the very first instruction for the computer (bootstrap)
What is the similarity and difference of RAM and ROM ?
similarities: - hold information - Both presented in binary form Difference: Ram is volatile Rom is non-volatile Ram can read and write Rom is read only
if the RAM runs out of storage where is data stored?
virtual memory
Why might virtual memory be needed in a system?
To allow space in the RAM to store data.
What is virtual memory?
non-volatile and secondary memory created to store data when RAM storage is full
How does virtual memory work?
Memory is transferred from the RAM to the hard drive where virtual memory is stored .
Why do computers need secondary storage?
- it stores the programs when switched off
- back up of data files
What is the common types of storage?
Optical
Magnetic
Solid state
What are the advantage and disadvantage of optical storage?
Advantages: -cheap - portable Disadvantage: - not durability (can easily be scratched) - speed is slow
What are the advantages and disadvantages of magnetic storage?
Advantages:
- cheap
- large capacity
disadvantages: - fragile
- slow access time
What are the advantages and disadvantages of solid state drives?
Advantages: - durable - fast access Disadvantages: -expensive - limited read and writes
What is an example of magnetic, solid state and optical storage?
magnetic - hard disk drive
Solid state - flash memory cards, SSD, memory stick
Optical - DVD and Blu-ray
How do you calculate text file size?
Bits per character x Number of characters
How do you calculate a sound file size?
Sample rate x duration (secs) x bit depth
How do you calculate a image file size?
colour depth x image height x Image width