COMPONENT 1.2
RAM
The function of RAM (Random Access Memory) is to store all the data associated with programs that
are currently open.
It has very fast read and write times
RAM is a form of volatile memory
This means that it will lose everything stored on it when the power is turned off.
RAM is found near the CPU in a computer. It is often just to one side or flanking both sides to allow
for the quick transfer of data as it does not then have to move as far.
ROM
ROM (Read Only Memory) is a form of storage which contains pre-recorded data, which can only be
read. This means its contents cannot be re-written.
It is non-volatile (memory is stored when power is turned off)
It only has a small capacity.
It is there to store essential programs.
Virtual Memory
Data which is in use, but hasn't been used in a while, will be sent to be stored on a section of
the hard-drive as a temporary measure.
The area of the hard drive which the data is stored in is called swap space. This is
because things can 'swap' into and out of the drive as they are needed by the CPU.
Using virtual memory is slow as it is accessing data from the hard drive and therefore the data needs
to move.