3.3 data storage and compression Flashcards
.what is primary storage
- directly accessed by CPU
what is ROM
- small piece of memory located on motherboard
- contains startup instructions for computer
- non volatile
features of RAM
- volatile (contents lost if RAM turned off)
- used to store data, files
- can be written to / read from
- contents of the memory can be changed
when is RAM used
- when it needs to store and access data (immediately)
- that is actively being used/processed by user
advantages of virtual memory
- can be larger than physical memory provided in RAM
- avoid need to install/upgrade RAM (expensive)
- system wastes no storage on unwanted/unused data
why do you need primary storage
- access time faster than secondary
- quicker FDE cycle
what is ROM
- small memory chip located on computers motherboard
- primary storage that holds first instructions computer needs to start up (bootstrap)
- contains BIOS
- non-volatile
- read-only
features of ROM
- non volatile (contents remain even when ROM turned off)
- used to store start-up instructions (BIOS)
- data/contents of ROM can only be read, cannot be changed
what is secondary storage
not directly accessed by CPU, necessary for more permanent storage of data
examples of secondary storage devices
- hard disk drives (HDD)
- solid-state drive (SSD)
- CD/DVD
- blu-ray disks
- USB flash memory
- cloud storage
how does magnetic storage work
- data stored in digital format on magnetic surface of disk (platter)
- number of read/write head can access all surfaces of disk
- each platter will have 2 surfaces used to store data
- data stored on surfaces in sectors and tracks
example of magnetic storage
hard disk drive
advantages of magnetic storage
- cheap
- fast
- hold large amounts of data
how does optical storage work
- use laser to create and read pits (low) and lands (high)
- land reflect, pits scatter. detected by light sensor
DVD/CD vs blu-ray
- BR stores more
examples of optical storage
- compact disks (CDs)
- digital versatile disks (DVDs)
- blu-ray disks
features of optical storage
- low storage
- slow access to data
how does solid-state storage work
- use NAND or NOR technology
- transistors used as control gates and floating gates
- state of transistors represent binary
types of solid state storage
- solid state drives (SSDs)
- memory cards
- USB flash drives
advantages of SSD
- no moving parts: more durable
- lower power consumption
- fast data access
disadvantages of SSD
- bad longevity
when is virtual memory used
- computer doesn’t have enough RAM to store all data & programs currently in use
- problem with memory management, system has high chance of crashing
how does virtual memory work
- pages of data transferred between RAM and virtual memory (paging in/out)
- when data needed again, must first be copied back into RAM. v slow
what is cloud storage
- data stored remotely on servers
- require internet connection to access data
cloud vs local storage
- cloud can access from any computer, but require internet
- local fully under users control
- local always faster to access
- cloud can have unauthorised access
- cloud greater ability to increase capacity
Diagram for virtual memory