3.4b Memory - excluding cache and register - in 3.4a Flashcards
Define memory
The part of a computer that stores data.
What is main memory:
- where?
- adv?
- practically?
Main memory is built inside the computer.
As a result, data can be read from and written to main memory extremely quickly.
This gives the processor fast access to the data and instructions that the main memory holds.
2 types of main memory
There are two types of main memory:
- read-only memory (ROM)
- random access memory (RAM)
What is ROM?
Contents retained/lost when turned off?
Read only memory. This is non-volatile memory or storage containing data that cannot be changed.
Its contents are not lost when the computer is turned off.
Quality of ROM - and what this makes ROM ideal for?
ROM can be read from, but not written to, hence the term “read-only”.
This makes ROM ideal for storing instructions and data that are needed for the computer to run.
These instructions and data are usually programmed by the computer’s manufacturer and cannot be overwritten.
Example of a program stored in ROM
- also when does it run
- what does it do
The Basic Input Output System (BIOS) is an example of a program that is stored in ROM.
The BIOS runs as soon as the computer is switched on.
It checks that the hardware is functioning correctly, then runs a second program known as the bootup or bootstrap program that loads the computer’s operating system from the hard drive into the RAM.
RAM
- what is it?
- when computer switched off?
Random access memory (RAM) is volatile main memory.
It does not retain its contents without a constant supply of power. When a computer is switched off, the data and instructions held in RAM are lost.
Why is RAM given the term ‘random access’
RAM is given the term “random access” because data can be stored and accessed from any location within the memory.
What is RAM used to store?
So, for example?
RAM is used to hold data and programs that are currently in use.
In a modern PC, RAM is used to hold the operating system and any open documents and programs that are running.
True/false?
RAM can be read from and written to, and is volatile.
True
How can contents of RAM be changed - and when
- give 2 examples
The contents of RAM can be changed at any time, simply by overwriting them with other data and instructions.
For example, a user might close one document and open a second, or run a different program.
More RAM = ?
The more RAM a computer has, the more data and programs it can hold simultaneously
Upgradability of RAM?
RAM can also be upgraded fairly easily, unlike other types of main memory.
2 marks - How does ROM differ from RAM?
Not in adv info
ROM is read only and non-volatile. RAM can be read from and written to and is volatile.
The need for secondary storage - explain nicely
Has been removed
Computers use main memory such as random access memory (RAM) and cache to hold data that is being processed.
However, this type of memory is volatile - it loses its contents when the computer is switched off.
General purpose computers, such as personal computers and tablets, need to be able to store programs and data for later use.
Therefore simply, secondary storage is needed to?
Secondary storage is needed to keep programs and data long term.