1.2 Memory and Storage Flashcards
The need for Primary Storage
When the computer is on, the operating system and any utilities and data required to run the computer are stored in primary memory.
When a program is loaded to a computer it, and any data it uses, are also stored in primary memory.
The Difference between RAM and ROM
ROM is non-volatile whereas RAM is volatile
Content of ROM cannot usually be changed whereas the content of RAM can be changed
Purpose of ROM in a Computer System
- Provides storage for data and instructions for starting up and initialising the computer
- It is Read-Only memory because the computer cannot overwrite its content
- Information stored on ROM is usually programmed by the manufacturer
Purpose of RAM in a Computer System
- RAM is the main memory in a computer
- RAM holds the operating system, applications, and data currently in use by the computer
- The CPU can access RAM very quickly and access times are much faster than those for secondary storage e.g. hard disk
- The more RAM in a computer, the more programs, and data it can keep available
- Data is transferred from secondary storage, to RAM, to Cache, to the CPU
Virtual Memory
Part of the hard disk used as a temporary store for some of the data in main memory
Flash Memory
Solid-state memory and is used in portable or removable devices to store data
It is faster than a magnetic hard disk but slower than RAM
The Need for Secondary Storage
To store data once the computer is turned off/non-volatile storage
Optical Storage
- Ideal for distributing data
- Low cost
- Robust
- Ideal for archive storage
Magnetic Storage
- Large storage capacity
- Cost to purchase is low
- Compact in size
- Reliable method of storage
Solid State Storage
- Large storage capacity
- Durable/Robust
- Fast data access
- Cost to purchase is low
- Runs quietly
- Produces little heat
- Uses little energy
- Compact/Lightweight
Bit
Smallest unit of data measurement
0 or 1
Nibble
4 bits
Can represent 16 unique values
Byte
8 bits
Kilobyte
1024 bytes
Megabyte
1024 kilobytes
Gigabyte
1024 megabytes
Terabyte
1024 gigabytes
Petabyte
1024 terabytes
Character Sets
All the different characters a computer can represent
ASCII
An 8 bit character set.
Can represent a maximum of 256 different characters - not enough for all the international languages
Unicode
Uses 16 bits per character so it can represent all the characters in most international languages
Representing Images as a Series of Pixels
Each colour has a unique binary code
A bitmap is made of pixels
Metadata
Can store file information on image height, width, colour, date, Geolocation, File size, File type, Compression Type and Creator
The Effect of Colour Depth and Resolution on the Quality of an Image
The number of bits used to store each pixel in an image dictates how many colours an image can contain.
The number of bits per pixel is referred to as the colour depth
If the colour depth is increased, more bits are used to represent each pixel and the overall size of the image will increase.