1.2 Storage and compression Flashcards
RAM
Random access memory
Volatile
Very fast
Read/ write
Holds data and instructions currently in use- for example:
* current volume, video, channel, browser, OS
ROM
Read only memory
Holds BIOS
Located on motherboard
Slower than RAM
Non-volatile
RAM vs ROM
RAM volatile, ROM non-volatile.
RAM is read/write, ROM is read-onnly
Virtual memory
RAM almost or completely full
Data not currently being executed sent to a small portion of seconday storage allocated for virtual memory
RAM is filled with data which needs to be executed
Data is transferred back as needed
Slow
Need for secondary storage
Long term storage of programs and data that are currently not in use
Storage devices
Magnetic
Solid State
Optical
Magnetic
Capacity - High storage
Cost - Low per gigabyte
Speed - Moderate read/write access
Durability - Moving parts can get damaged if dropped
Portability - Heavy & bulky making them less convenient for transport
Reliability - Prone to mechanical failure
Noise - Loud (spinning disks)
Solid State
Durability - No moving parts
Portability - Small and no moving parts
Noise - Silent
Capacity - Medium/high storage
Speed - Very fast read/write access
Cost - Very high per gigabyte
Reliability - Limited read/write cycles
Optical
Cost - Very low per gigabyte
Durability - No moving parts
Portability - Small and no moving parts
Noise - Silent
Reliability - Prone to scratches
Speed - Very slow read/write access
Capacity - Very low
Hard Disk Drive
Magnetic
500GB - 8TB (consumer-grade)
Low cost per GB
SSD
Solid-State Drive (SSD)
Solid Stae
128GB - 2TB (consumer-grade)
High cost per GB
USB Flash drive
Solid State
8GB - 256GB (common sizes)
Moderate cost per GB
CD/ DVD/ Blu-Ray
Optical
CD: 700MB, DVD: 4.7GB - 9GB, Blu-ray: 25GB - 50GB
Low cost per disc
What is a character set
All of the characters which can be understood by a computer
ASCII
7 bit = 128 possible characters
Extended ASCII
8 bit = 256 possible characters
ASCII/ extended ASCII limitations
ASCII cannot represent characters from languages other than English
ASCII does not include modern symbols or emojis common in today’s digital communication
UNICODE
128 bits = 65,536 possible characters
It can represent more characters than ASCII.
It can support all common characters across the world.
It can represent special characters such as emoji’s.
Uses a lot more storage than ASCII
BItmap
A bitmap image is made up of squares called pixels
A pixel is the smallest element of a bitmap image
Each pixel is stored as a binary code
Binary codes are unique to the colour in each pixel
A typical example of a bitmap image is a photograph
Vectors
A vector image is created from mathematical equations and points
Only the mathematics used to create the image are stored
For example, to create a circle the data stored would be:
Centre point (x, y coordinates)
Radius
Typical examples of vector images are logos and clipart
Resolution
Resolution is the total amount of pixels that make up a bitmap image
The resolution is calculated by multiplying the height and width of the image (in pixels)
In general, the higher the resolution the more detail in the image (higher quality)
Resolution can also refer to the total amount of pixels horizontally in a display, such as:
Color depth
Colour depth is the number of bits stored per pixel in a bitmap image
The colour depth is dependent on the number of colours needed in the image
In general, the higher the colour depth the more detail in the image (higher quality)
In a black & white image the colour depth would be 1, meaning 1 bit is enough to create a unique binary code for each colour in the image (1=white, 0=black)
Impact of higher color depth / resolution
As the resolution and/or colour depth increases, the bigger the size of the file becomes on secondary storage
The higher the resolution, the more pixels are in the image, the more bits are stored
The higher the colour depth, the more bits per pixel are stored
Metadata
Data about data
* Author - Who created the image?
* Date/Time - When and what time was the image created/taken?
* Location - Where was the image taken?
* Width & height of the image (resolution)
* Colour depth