Primary and Secondary Storage Flashcards
What is RAM?
Random Access Memory, main memory in a computer
RAM is volatile and stores data while it is being used.
What is the primary characteristic of RAM?
It can be read and written, and is volatile
Data is lost when power is turned off.
What happens when a computer is booted up regarding RAM?
The OS, software, and open files are copied from secondary storage to RAM
This allows the CPU to access them quickly.
How does RAM compare in speed to CPU cache and secondary storage?
Slower than CPU cache but faster than secondary storage
What is ROM?
Read Only Memory, which is non-volatile
Built into the motherboard and contains boot instructions.
What is the function of ROM when a PC is powered on?
The CPU reads instructions from ROM to copy the OS to RAM
Define volatile memory.
Temporary memory that requires power to retain its data
Examples include RAM, CPU registers, and cache.
Define non-volatile memory.
Permanent memory that keeps its content without power
Examples include ROM and secondary storage.
What is virtual memory?
A method where sections of the hard disk are used for the CPU to store data when RAM is full
Is virtual memory volatile or non-volatile?
Volatile
Data is lost when the computer is turned off.
What process is referred to as disk thrashing?
The slow and noisy process of moving data between RAM and virtual memory
How can virtual memory compensate for a lack of RAM?
By using sections of the hard disk as temporary storage for the CPU
Why would it be beneficial to get more RAM instead of relying on virtual memory?
More RAM allows for faster data access and reduces the need for disk thrashing
Give two examples of data that can be stored in RAM.
- Open applications
- Active documents
What is the purpose of secondary storage?
To provide long-term storage of data, files, software, and the OS