3.4b Memory - excluding cache and register - in 3.4a Flashcards
(41 cards)
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.
What would happen without secondary storage + why
Secondary storage is non-volatile, long-term storage. Without secondary storage all programs and data would be lost the moment the computer is switched off.
There are three main types of secondary storage in a computer system:
(Examples as well)
- solid state storage devices, such as USB memory sticks
- optical storage devices, such as CD, DVD and Blu-ray discs
- magnetic storage devices, such as hard disk drives
What doesnt need secondary storage and why?
However, not all computers require secondary storage. Embedded computers, such as those found in a washing machine or central heating system, do not need to store data when the power is turned off. The instructions needed to run them are stored in read-only memory (ROM) and any user data is held in RAM.
Solid state storage:
- what’s is it made of?
- features (2)
- Solid state storage is a special type of storage made from silicon microchips.
- It can be written to and overwritten like RAM.
- However, unlike RAM, it is non-volatile, which means that when the computer’s power is switched off, solid state storage will retain its contents.
Where is solid state also used - example (2)
Solid state is also used as external secondary storage, for example in USB memory sticks and solid state drives.
2 benefits of solid state storage - EXPLAINED
One of the major benefits of solid state storage is that is has no moving parts. Because of this, it is more portable, and produces less heat compared to traditional magnetic storage devices. Less heat means that components last longer.
Solid state storage is also faster than traditional hard disk drives because the data is stored electrically in silicon chips called cells. (Explanation next card)
How solid state ACTUALLY works
Within the cells, the binary data is stored by holding an electrical current in a transistor with an on / off mode.
Unlike RAM which uses a similar technique, solid state storage retains this even when the power is switched off by using a technology known as flash memory.
Flash memory ?
Non-volatile memory that can be read from and written to. It is suitable for secondary storage
- it is the medium for solid state storage