1/51
Looks like no tags are added yet.
what is RAM?
stands for random access memory
used to store applications that are currently running (can be read / written to)
volatile - loses data when the power is switched off
usually measured in gb
what is ROM?
stands for read only memory
used to store the boot-up / start-up instructios (bios)
non-volatile which means it keeps its information when the power is lost
usually measured in mb
what is virtual RAM?
RAM can fill up when lots of applications are open and may run out so we use virtual memory as an extension of RAM
virtual memory - a section of secondary storage that acts like RAM
processes that are not needed at any particular moment can be moved out of RAM into virtual memory
advantages of virtual RAM
allows more applications to be open at once
(increased RAM improves computer performance)
disadvantages of virtual RAM
slows down the computer due to all the swapping between ram and virtual memory
what is optical storage?
read using a laser
lands reflect light (1)
pits scatter beam (0)
laser can burn pits onto the disc (0)
examples of optical storage devices
cd, dvd, blu-ray
used for music and films
advantages of optical
relatively cheap
portable
disadvantages of optical
not very durable (fragile) - can easily be scratched / broken
slow
small capacity
magnetic
use magnetic fields to store data
magnetised = 1 and demagnetised = 0
read/write head moves across surface to read or write - magnetises tiny sections on a spinning metal disk
examples of magnetic
hdd - hard disk drives
advantages of magnetic
high capacity
faster than optical
low cost
relatively long lifespan?
disadvantages of magnetic
not portable due to many moving parts
not durable (can be damaged if dropped)
noisy
solid state
use flash memory technology
examples of solid state
ssd - solid state drives
usb sticks
advantages of solid state devices
durable & robust due to no moving parts
lightweight - portable
fastest
no noise
low power requirements
disadvantages of solid state
expensive
lower capacity than magnetic
why do computers use binary?
a computer uses binary because the computerโs processor is made up of millions of transistors, which are tiny switches that can either by on (1) or off (0), represented by 1s and 0s
bit
smallest unit
4 bits
nibble
8 bits
1 byte
1000 bytes
1 kilobyte
1000 kb
1 megabyte
1000 mb
1 gigabyte
1000 gb
1 terabyte
1000 tb
1 petabyte
sound file size
sample rate x duration x bit depth
image file size
colour depth x image height x image width
text file size
bits per character x number of characters
binary addition and binary shift - overflow?
an overflow occurs when there is no room in the register for the next bit
indicated by an overflow flag
binary shift - left
multiply (by 2)
binary shift - right
divide (by 2)
character set
list of all the possible characters that a computer can represent
each character is given a unique binary code
ascii
american standard code for information interchange
7 bits (27 characters) - enough for the english language
extended ascii
8 bits
28 possibilities (256) - includes extra symbols, etc.
unicode
16 bits (216 characters available) - universal
can represent characters of almost all languages in the world
how is sound converted to digital form?
analogue sound wave is sampled at regular intervals and the ampliturde at each interval is measured and stored as a binary number
sample rate
number of audio samples taken per second
measured in hertz (Hz)
duration
how many seconds of audio the sound file contains
bit depth
number of bits available to store each sample
bitmap images
series of pixels on a grid - each pixel is stored as a binary code
resolution
number of pixels
colour depth
number of bits used to store the colour for each pixel (number of bits used per pixel)
metadata
additional data about the image such as height and width
what is the effect of increasing the colour depth and resolution?
improves quality
increases size of the file
what is compression?
way to reduce file size
why do we compress files?
faster to download, upload and transfer/transmit files
requires less storage space (more files could be stored using same storage capacity)
uses less bandwidth
lossless compression
does not remove any data - original data can be reconstructed / original file can be restored
decompressed file = identical to the original
looks for patterns in data (repeated data)
stores how to restore it rather than all the data
what would you use lossless compression on?
used for text/numerical files where loss of data is unacceptable
pdf / gif
lossy compression
loss of data - permanently removed
reduce bit depth / colour depth
remove data that is not noticeable / least likely to be noticed
cannot be restored
what can you use lossy compression for?
sound, image and video
mp3 and jpeg
advantages of lossy
smaller data files - significantly reduces the file size compared to lossless