1.2 Memory and storage Flashcards
Why do we need primary storage?
The processor cannot get instructions straight from the hard drive because the access speed is slow. RAM acts as a temporary storage for programs and data while the program is being executed.
3 features of RAM
Volatile - data is lost when the power is turned off, used to store data currently in use, can be written to / read from
3 features of ROM
Non-volatile - data is not lost when power is turned off, store the BIOS/bootstrap loader - required at start-up, read-only
Define virtual memory
A memory management capability that uses secondary storage as RAM and holds instructions that are in use.
Why do we need secondary storage?
Computers need to be able store programs and data that is non-volatile for later use.
3 common types of storage
Optical, magnetic, solid-state
3 features of optical storage
Low capacity, slow access to data, portable (thin/lightweight)
4 features of magnetic storage
High capacity, medium / quick access to data, moving parts which will eventually fail, perform better if defragmented
6 features of solid-state storage
Medium storage capacity, very quick access to data, reliable (no moving parts), no noise, limited number of read/write cycles, expensive
6 things to consider when choosing a storage device
Capacity, speed, portability, durability, reliability, cost
Smallest unit of data
Bit
How many bits in a nibble and byte?
4 and 8
Hexadecimal number A in denary
10
Denary number F in hexadecimal
15
How to divide a binary number by 2?
Move all the digits to the right.
Define character set, give 2 examples
The name given to a collection of characters matching to binary codes. Examples: ASCII, Unicode
How many bits are used to represent how many characters in ASCII?
7-bits to represent 127 characters.
How are images represented in binary?
Each pixel has a specific colour, represented by a binary number.
Define metadata
Data that stored before and after the image to tell the computer how to decode the image.
Define colour depth
The number of bits used to represent each pixel in a bitmap image.
Define resolution
The number of pixels contained on a display monitor, measured in DPI (dots per inch).
How is sound stored in digital form?
Using an analogue-to-digital converter. This will capture a sound wave at regular time intervals and convert it into binary form.
Define sample rate and what is it measured in
The number of samples recorded in any given period of time (measured in hertz - Hz).
Define bit depth
The number of bits used to record each sample (typical bit depths are 16 bit and 24 bit.
Why do we need compression?
To reduce the size of a file stored on secondary storage. This takes up less storage space and power when transferring data.
What is lossless compression?
Gets rid of unnecessary data to re-present data without losing any information - reversible process.
What is lossy compression?
Gets rid of the least essential data - irreversible process.