Memory and Storage Flashcards
1
Q
Why do computers have primary storage
A
Hold data and programs that are in use in the CPU
2
Q
Name 2 primary storage
A
RAM
ROM
3
Q
What does the RAM do
A
- Stores data in use
- volatile
- main memory
- When PC is booted, all of the OS is copied onto RAM
4
Q
What does ROM do
A
- non volatile
- Contains instructions for the computer to boot up
5
Q
What is VM used for and why is it slow
A
- When RAM is full, the computer moves data to VM
- Secondary storage
- If CPU needs to read data in VM, it needs to be moved back to the RAM, which is slow because secondary storage is slow
6
Q
What is secondary storage?
A
- Where data is stored when not in use.
7
Q
What is colour depth?
A
Number of bits used per pixel
8
Q
What is the formula for number of colours
A
2^colour depth
9
Q
What is resolution
A
Density of pixels in an image
10
Q
How are images stored
A
Each pixel has a specific colour, represented by a specific code
11
Q
What is the formula for image size?
A
colour depth * image size in pixels
12
Q
How is sound stored into a computer
A
- Recorded through mic
- sample the amplitude at regular intervals, dependent on bit rate.
13
Q
What is bit rate
A
- How many samples per second. Measured in kHz
14
Q
What is bit depth
A
- number of bits to store each sample