Memory and Storage - may need completion. most info on other deckset Flashcards
3 types of storage
primary
secondary
tertiary (not covered in gcse spec)
primary storage types
ram
rom
cache
registers
secondary storage types
hard drives
optical
solid state drives
etc
wat is secondary storgae
any device able to hold OS, programs + data not currently in use
diffferences - primary vs secondary
primary:
all primary, except rom - volatile
smaller storage capacity vs secondary (RAM - GB, Hard disks - TB)
faster acces spedd than 2ndry
secondary:
all non volatile
larger storgae capacity
slower access speed thn primary
ROM
small piece of read only memory on motherboard
non volatile
contains 1st instructions 4 coputer (bootstrap)
software stored on ROM - firmware
RAM
temprary storage of instrctions and data
holds info being xecuted by processor
volatile
much faster than hard disk
beyond the spec
POST
power on self test
sends signals to all oher connected components
wakes up all connected components, makes cpu know they exist
virual mem
needed when not enough ram to store open programs
held on hard disk
programs transferred out to virtual mem from ram when not currently being executed
transferred ack to ram from virtual mem when needed
why is 2ndry storage needed
because rom read only and ram is volatile
needed for:
storage of programs + data when pwr turned off
semi permanent storage of data that can change
backup of data files
archive of data files
what is a drive and media
drive: the device that reads and writes data from 2ndry storage
media: what the data is actually stored on
features of optical
low capacity compared to other storage
slow 2 access data
thin, lightweight, portable
features of magnetic
high strgae capacity
quick to access data
moving parts which eventually fail
hard disks perform better if theyre defragmented
features solid state
medium storage capacity
very quick data access time
no moving parts, very reliable
no noise
low pwr
no need 2 defragment
limited num of read/write cycles
expensive
when choosig a storage type, what must you consider
capacity - how much it stores
speed - how quick data read/transferred
protability - how portable is stroage device
durability - how robust is it? will be damaged by shocks and extreme conditios?
relaibiltiy - can it be used repeatedly without failing
cost - how expensive per byte
what is optical storage suitable for
read only data distribution on a large scale
small capcity situations
what is magnetic sutiable for
when very high data capaivty required
fast access 2 data
low cost situations
cloud storage on server farms
what is ssd sutiable 4
low power small embedded systems
rugged applications: portable devices
small to medium data capaity requirements
silent operation
very fast access 2 data
situations where devices has to be small and lightweight
optical storage types
cd-r
cr-rw
dvd-r
dvd-rw
blu-ray
magnetic sotrage types
hard disk drive
magnetic tape
(flopy disks?)
soldi state sotrgae types
ssd
memory stick
flash mem cards
units of data capcity
bit - 1 or 0
nibble - 4 bits
byte - 8 bits
kilobyte - 1024 bytes (k)
megabyte - 1000000 bytes (m)
gigabyte - 1000000000 bytes (bn)
terabyte - 1 trilion bytes
petabyte - 1 quadrillion bytes
convering between units
if decreasing in size:
from pb - kb -> divide by 1000 per unit type
from byte to bit - divide by 8
if increasing in size:
bit - byte -> x8
kilobyte to petabyte - x1000 per unit type
e.g
1kb x 1000 = 1mb
difference between the units
MB/Mb
MB - the capital b means bytes
Mb - lower case b means bits
MB = Megabytes
Mb = Megabits
1MB = 8Mb
capaicty of drives and file sizes measured in bytes
data transfer speeds over networks mesasured in bits
in ram how is data represented
by capcitors
if they hold charge - 1 bit
if not - 0 bit
how data represented on optical
pit - 0
land - 1
how data represented on hard dsk
north magnet pole - 1
south magnet pole - 0
what does left binary shift adn right binary hsift do
left shift = multiaply og num by 2
right shift = divide og num by 2
how data repsresnted on solid state mem
trapped elec - - 0
free elec - 1
how calcualte size fle of image file
colour depth (num of bits needed to store each pixle) * image height (in pixels) * image width (in pixels)
how calculate file sizeof sound file
sample rate (num of samples per sec) * duration (in sec)*bit depth (num of bits needed to store each sample)
how to calculate file size of text file
bits per charachter (based on standard ascii char set) * num of character (inc. spaces)
what affects quality of digitally converted sound wave
sample rate + bit depth
why unicode and extended ascii released
not enough chars could be represented by ascii so extended ascii came out
needed representation of all international charachters for all langs so unicode came out
two ways of storing images?
bitmap
vector
how to add two 8 bit binary integers
1 + 0 = 1
0 + 0 = 0
1 + 1 = 0 (carry 1 across)
1 + 1 + 1(from being carried) = 1 (carry 1 acrsos as well)