1.2.1 primary storage Flashcards
what is RAM
it can directly access any memory location in random order AND IS VOLITILE
what is volatile
when storage looses its data when powered off
what is non-volatile
when the power is switched off the data stored isn’t lost
what is ROM
non-volitile factory made chip which is built into the motherboard
what is the purpose of RAM
Stores the data which is currently being used. Stores the parts of the program that are running to be used by the CPU.
WHAT IS THE PURPOSE OF ROM
ROM provides the necessary instructions for communication between various hardware components. Stores the BIOS.
what is primary storage
refers to the memory areas that the CPU can access very quickly. Primary storage is mostly volatile (except for ROM.)
what is secondary storage
is non-volatile, it’s where all data is stored when not in use. Secondary storage is much slower than primary.
examples of primary storage
Registers
Cache
RAM
ROM
what are secondary storage examples
Hard disks
USB
SD cards
what is virtual memory
Extra ram space that is saved on the hardrive
advantages of virtual memory
allows more programs to be opened even when there’s no space left in RAM
disadvantages of virtual memory
Takes time to write the code to the virtual memory
Takes time to write the code to the virtual memory
Cause disk thrashing
VM is slower to access than RAM direct (because it has to go back to RAM first)