1.2.1 primary storage (memory) Flashcards
why do we need primary storage?
primary storage is needed to hold the data and instructions required by the CPU while the computer is running. the CPU can access data quicker from primary storage than from secondary storage
what does primary storage consist of?
primary storage consists of:
RAM (random access memory)
ROM (read only memory)
RAM characteristics
volatile (contents lost when the power is turned off
read and write
temporary memory
holds the operating system, data and programs while the computer is running
larger than ROM
can be increased
closer to the processor, therefore faster read/write access
ROM characteristics
non-volatile (contents remain when the power is turned off)
read only
cannot be increased
bootstrap (holds computers first instructions)
BIOS (basic input/output system)
firmware
smaller than RAM
what is virtual memory?
virtual memory is needed to store data when there isn’t enough RAM to store open programs
located on the hard disk (so its secondary)
temporary sotrage - its volatile
Swapping between RAM and virtual memory occurs when programs are not being executed
programs are transferred back in to RAM when needed
problems with virtual memory
Slows down the machine because its constantly swapping between programs
constant swapping can cause something called disk thrashing