1.2 Memory and Storage Flashcards
Primary Storage
A computer system uses primary storage (also known as main memory) to hold data and programs that are currently being used and processed.
Non-volatile Memory
It is permanent memory - it keeps its content even when it has no power.
Volatile Memory
It is temporary memory. It requires power to retain its data
Random Access Memory (RAM)
Used as the main memory in a computer. It can be read and written to. RAM is volatile.
Purpose: temporary store of currently executing instructions and their data. E.g. applications and the operating system in use.
What is stored in RAM?
- Programs currently in use
- Data currently in use
- Operating system currently in use
Why might we need additional RAM?
- The current amount of RAM may not meet the requirements of the software we want to run.
- The computer may be running slowly.
- We may want to run more programs at once.
- It may be constantly using virtual memory
Read Only Memory (ROM)
Non-volatile memory. Read only.
Purpose: stores instructions for starting the computer called the bootstrap.
What are the differences of RAM and ROM?
- ROM is non-volatile and RAM is volatile.
- RAM loses memory when the computer is switched off, ROM doesn’t.
- RAM is easily expandable, ROM size is usually fixed for a given computer.
- Contents of RAM change frequently, contents of ROM hardly ever change
Virtual memory
Virtual memory is a section of volatile memory created temporarily on the storage drive. It is created when a computer is running many processes at once and RAM is running low.
How does virtual memory work?
Part of the secondary storage used when RAM is full.
Data can be moved from RAM when it is full to the VM so the RAM can be filled with data.
When you need the data, it is transferred back from VM to RAM
Why is virtual memory needed?
- When you need to run more applications on the computer than RAM can support. (too many applications or a memory-intensive application)
- More memory can be used than there is in the system
Disadvantages of virtually memory
Applications may run slower if the system is using virtual memory.
Likely takes more time to switch between applications.
Secondary Storage
- it is not directly accessible by the CPU
- the types of storage are hard disk drive (HDD) and solid state drive (SDD)
- it is non-volatile
Common types of secondary storage
- Optical
- Magnetic
- Solid State
Optical storage
Use: music, films and archive files.
Low capacity. Slow access speed. High portability. Prone to scratches. Low cost.”