High-level & Low-level languages
Assemblers, Compilers & Interpreters
RAM, ROM & Virtual Memory
Storage Technologies & Media
Good notes will help you organise and process data and information
Volatile memory is computer memory that requires a power supply in order to maintain stored data. In other words, volatile memory will store information as long as power is being supplied to it. However, the moment that the power is turned off, the information is lost. Volatile memory is often referred to as ‘temporary memory’.
The RAM (random access memory) in your computer is a type of volatile memory. If there was a power cut when you were using your computer, any data that was stored on it when the power was disconnected is immediately erased. This is the reason why you should get into the habit of frequently saving your work to the hard disk (non-volatile memory – see below) when you work on your computer.
Normal RAM is dynamic (called DRAM). The advantage of DRAM is that each stored data bit takes up a very small space. The disadvantage is that to achieve this the stored charge does not last very long, so it has to be refreshed periodically by a control circuit in the RAM stick. Static RAM has six transistors used to store each bit, rather than the single one on DRAM.
Non-volatile memory is computer memory that will retain its information whether the power being supplied to it is turned on or switched off. Examples of non-volatile memory include ROM (read-only memory), flash memory and most types of magnetic computer hard disks and optical disks. Interestingly, early computer storage methods such as paper tape and punched cards are also referred to as non-volatile memory.
The purpose of non-volatile memory is to be used as secondary or long-term persistent storage. The CPU cannot fetch the data it needs direct from the hard disk. This is because even the slowest modern CPU processes data about 50 times faster than the fastest hard disk. So we need fast memory and the fastest memory is cache.
The cache system tries to ensure that relevant data is constantly being fetched from RAM, so that the CPU (ideally) never has to wait for data.
AQA Computer Science Tutor