Storage
Storage
generally only used by companies to back up X – Low CAPACITY: 700MB (CD), 4.7GB (DVD), The small size of USB sticks and memory
or archive large amounts of data. 25GB (Blu-ray). cards mean they are very PORTABLE and
can fit easily in a bag or pocket.
- Large CAPACITY and cheaper COST per X – Not DURABLE because discs are very
Solid State storage has the fastest ACCESS
gigabyte than solid state. fragile and can break or scratch easily.
SPEED because they contain no moving
X – Not DURABLE and not very PORTABLE X – Optical discs have the slowest ACCESS parts.
when powered on because moving it can SPEED.
X – High CAPACITY but more expensive COST
damage the device.
Solid State Storage: per gigabyte than magnetic.
X – Slow ACCESS SPEED but faster than optical
There are no moving parts in solid state UNITS:
storage.
storage.
All computer systems communicate, process
Optical Storage:
SSDs (Solid State Drives) are replacing and store data using binary.
Optical storage uses a laser to project beams magnetic HDDs(Hard Disk Drives) in modern
Binary is a number system consisting entirely
of light onto a spinning disc, allowing it to read computers and video game consoles because
of 0s and 1s.
data from a CD, DVD or Blu-Ray. they are generally quieter, faster and use less
power. Why do computers use binary?
This makes optical storage the slowest of the
four types of secondary storage. A USB flash drive (USB stick) is another type of Computer systems consist of billions of tiny
solid-state storage that is used to transport transistors which are switches that only have
Disc drives are traditionally internal but
files easily because of its small size. two values – on(1) or off(0). Therefore, all data
external disc drives can be bought for devices
must be represented and processed in this
like laptops. Memory cards, like the SD card in a digital
way.
camera or a Micro SD card in a smartphone,
Magnetic Disks are spelled with a k and
are another example of solid-state storage. Everything that a computer needs to process
Optical Discs have a c.
must be converted into binary including text,
- Usually DURABLE but cheap USB sticks
- Discs are thin and very PORTABLE. Also, images, videos and audio.
can snap or break.
very cheap to buy in bulk.
MEMORY STORAGE
Units of Data Storage: Image Storage: Colour depth (also known as bit depth) is the
number of bits that are used to represent
All data in a computer system is made up of Bitmap images are made of pixels – single
each pixel’s colour.
bits. colour squares – arranged on a grid.
1000 megabyte are called a gigabyte – it can Vector images are drawn by the computer
store about 500 photos. following precise mathematical instructions to
The RGB(Red, Green, Blue) colour model uses
create lines and objects.
1000 gigabytes are called a terabyte – it can 3 bytes (a byte of 256 red shades, a byte of
store about 500 hours of films. Vectors are usually smaller in file size 256 green shades and a byte of 256 blue
compared to bitmaps because each pixel in a shades) that together can represent 16.7
1000 terabyte are called a petabyte – it can bitmap is stores as an individual binary value. million different colours.
store about 1.5 million CDs.
Vectors can be scaled up without any loss of Metadata:
quality and are typically used for logos and
Meta data is additional data about a file.
animations.
Common image metadata includes:
File size = Resolution x Colour depth height/width in pixels, colour depth,
resolution, geolocation, date created, last
Resolution = Width in pixels x Height in pixels
edited, file type, author details.
MEMORY STORAGE
The higher the sample rate, the better the Therefore, the quality is often higher as the
audio quality as the digital data more closely wave more closely resembles an analog wave.
Metadata is important, e.g. the dimensions
resembles an analogue wave.
must be known so the image can be displayed The file size will also be larger if the bit depth
correctly. However, higher sample rates result in larger is higher, as each sample stores additional bits.
file sizes because more data is stored for each
Sound Storage: Sound file size = Sample rate x Bit depth x
individual sample.
Duration
Converting Analogue Sound to Binary –
A low sample rate will result in a low-quality
Analogue sound waves must be digitally Compression:
sound because the digital does not closely
recorded and stored in binary.
resemble the original analog wave. To compress a file means to make its size
To record the sound, the amplitude (height) of smaller.
the analogue sound wave is measured and
Benefits of compression include:
recorded in binary at specific intervals.
Files take up less storage space(so more
Sampling an Analogue Sound Wave – Digital
files can be stored).
sampling is discrete (separate) and not
Files can be transferred quicker(because
continuous like analogue waves.
they are smaller).
To get the highest quality sound, many Files can be read from or written to
samples are taken to recreate the analogue A higher sample rate will result in a higher- quicker.
wave as closely as possible. quality sound because the digital data more
closely resembles the original analog wave. There are two methods that are used to
Sample Rate: compress files: Lossy and Lossless.
Bit Depth:
The sample rate (sampling frequency) is the
number of times per second the amplitude of The bit depth is the number of bits available
the sound wave is measured. It is measured in to represent each sample. A common bit
kilohertz (kHz). depth is 16 bits.
Lossy Compression:
Lossy compression uses an algorithm (set of Lossless compression is used with files that A character set is a table that matches
instructions) to analyse and remove data that would not work if data was removed, e.g. together a character and a binary value.
cannot be heard or seen by humans, to reduce executable files (programs and games) or
Each character in a character set has a unique
the size of the file. word documents.
binary number matched with it.
Further lossy compression will remove data Number Storage:
Character sets are necessary as they allow
that humans can see/hear.
Denary (also known as decimal) is a base 10 computers to exchange data and humans to
Lossy compression removes the data number system, so there is 10 possible values. input characters.
permanently, so the file can never return to its
Hexadecimal is a base 16 number system, so Two common character sets are ASCII and
original form.
there is 16 possible values. Hex is used as a Unicode:
This form of compression is often used with shorthand for binary because it uses fewer
ASCII (American Standard Code for
images, audio and video. characters to write the same value. This makes
Information Interchange):
hexadecimal less prone to errors when reading
or writing it, compared to binary. It does not take much memory space, ASCII
Lossless Compression: uses 1 byte (8 bits) which only gives 256
Hexadecimal only uses single-character values.
possible characters. This is enough for the
Lossless compression reduces the size of a file
An overflow error occurs when a binary value English language.
without permanently removing any data.
is too large to be stored in the bits available.
Because of this, the file is returned to its Unicode:
original form when decompressed, so no With a byte(8 bits) the largest number that
Unicode is more popular because it uses 2
quality is lost. can be held is 255. Therefore, any sum of
bytes (16 bits) that allow 65,536 possible
binary numbers that are greater than 255 will
A file that is compressed with a lossless characters.
result in an overflow error as it is too large to
algorithm is usually larger than a file
be held in 8 bits.
compressed with a lossy algorithm because no
data has been permanently removed.
MEMORY STORAGE