1.2 Memory and Storage Flashcards
flashcards made by my year 10 self so thanks <3 (60 cards)
What does primary storage consist of?
RAM, ROM, registers, and cache
Why is primary storage needed?
1) holds the data and instructions which the CPU needs access to while a computer is running
2) the CPU can access data from primary storage much quicker than secondary storage
What is RAM?
volatile, read and write, large in comparison to ROM
What does volatile mean?
Contents are lost when the power is turned off. Data is temporary and requires power to retain data.
What does RAM hold?
Holds the operating system, programs, and data in use by the CPU when the computer is running.
What is ROM?
non-volatile (contents remain when power is off), read only, small in comparison to RAM
What does ROM hold?
1) Stores the BIOS and instructions needed to boot up the computer.
2) Programs may be stored in ROM in embedded systems.
Why must ROM be non-volatile?
ROM must retain its start-up instructions when the power is off so must be non-volatile
Where is virtual memory stored and why is it needed?
1) Held on the hard disk
2) Needed when there’s not enough physical RAM to store the open programs
Describe how programs are transferred to and from virtual memory.
1) Programs are transferred out to virtual memory from RAM when they are not currently being executed, creating space in RAM for a new program.
2) Programs are transferred back to RAM from virtual memory when they are needed.
What is secondary storage and why is it needed?
1) Long term, non-volatile storage of files and programs
2) Needed because ROM is read only and RAM is volatile
What is secondary storage used for?
Storage of programs and data when the power is off, semi-permanent storage of data that can change, back up and archive of data files
Examples of optical storage
CD, DVD, Blu-ray
Characteristics of optical storage
1) Low capacity
2) Slow to access data
3) Thin, lightweight and portable
4) Prone to scratches
Examples of magnetic storage
HDD (hard disk drive), floppy disk
Characteristics of magnetic storage
1) high storage capacity
2) quick to access data
3) has moving parts which eventually fail
4) hard disks work better if defragmented
Examples of solid state storage
SSD (solid state drive), USB stick, memory card
Characteristics of solid state storage
1) medium storage capacity
2) very quick to access data
3) no moving parts, very reliable
4) no need to defragment
5) limited no. read/write cycles
6) expensive, low power, no noise
Suitability: reliability
worst-solid state, best-magnetic
Suitability: capacity
worst-optical, best-magnetic
Suitability: cost per MB
worst-solid state, best-magnetic
Suitability: durability
worst-magnetic, best-solid state
Suitability: portability
worst-magnetic, best-solid state
Suitability: read/write speed
worst-optical, best-solid state