1.2 Memory and Storage Flashcards
What does RAM store
Currently in use data and programs
Is RAM volatile or non-volatile
Volatile
Volatile meaning
Temporarily memory that is lost when the computer is switched off
What kind of memory is RAM
Main memory
What does RAM stand for
Random access memory
What is the speed of RAM
Faster than secondary storage but slower than cache
What happens to files when they are opened and then closed
They go form secondary storage to RAM then back to secondary storage when closed
What does ROM stand for
Read only memory
Is ROM volatile or non-volatile
Non-volatile
What does non-volatile mean
Permanent memory even if the computer has no power
What is ROM on the motherboard
A small chip
What does ROM store
BIOS (basic input output system) which are the instructions for the computer to boot up
Why does ROM need to be non-volatile
Because it needs to retain the data when the computer is off so it can start the computer again
Why is secondary storage needed
Because RAM is volatile so it will lose everything when the computer is turned off therefore it needs somewhere to permanente store files
What is secondary storage
Long-term non-volatile storage of files and programs
What is the read/write speeds of secondary storage
Slow
What are the three types of secondary storage
Solid state, magnetic and optical
Name 2 examples of solid state
Solid state drive, memory disk
Name 2 examples of magnetic storage
Floppy disk and hard disk drive
Name 3 examples of optical storage
DVD, CD and blu-ray
Name 6 qualities of secondary storage
Cost per MB, capacity, portability, read/write speed, durability and reliability
Best storage for cost per MB
magnetic
Worst storage for cost per MB
Solid state
Best storage for capacity
Magnetic
Worst storage for capacity
Optical
Best storage for portability
Solid state
Worst storage for portability
Magnetic
Best storage for read/write speeds
Solid state
Worst storage for read/write speeds
Optical
Best storage for durability
Solid state
Worst storage for durability
Magnetic
Best storage for reliability
Magnetic
Worst storage for reliability
Solid state
Where is virtual memory located
In secondary storage
Why do you need virtual memory
If RAM is full and a new program needs to be loaded into RAM, programs that haven’t been used recently are transferred to VM
What does virtual memory create space for and where
Creates space for a new program in RAM
What happens when a program is needed from virtual memory
They are moved to RAM making the computer slower as the transfer rates are slower in secondary storage than RAM
What is a bit
Single binary digit - 1 or 0
What is a nibble
4 bits
What is a byte
8 bits
What is a kilobyte
1000 bytes
What is a megabyte
1000KB
What is a gigabyte
1000MB
What is a terabyte
1000GB
What is a petabyte
1000TB
Name the order if data capacity’s from smallest to largest
Bit
Nibble
Byte
Kilobyte
Megabyte
Gigabyte
Terabyte
Petabyte
What is a overflow error
The result of an addition that cannot fit into the number of bits available usually by a carry
0 + 0
0
1 + 0
1
1 + 1
10
1 + 1 + 1
11
What does one shift to the right do
Divide by two
What does one shift to the left do
Multiply by 2
Why do we use hexadecimal
It is easier for humans to read and use than binary and is less prone to mistakes
What is a character set
A list of defines characters, each with a unique binary code
What do character sets allow
Devices to communicate
What is ASCII
7 bits for 128 English letters/characters/numbers
What is extended ASCII
8 bits for 256 characters
What is Unicode
16 or 32 bits to express all world languages and emojis
Why is Unicode needed
ASCII doesn’t have enough data for other languages
How is analogue sound stored digitally
sampled at regular intervals where the amplitude of a sound wave is measured
What are the 4 factors affecting size and quality of a sound file
Sample intervals, sample frequency, bit depth and bit rate
What is a sample interval
The gap between each sample
What is a sample frequency
How many samples are taken per second
What happens if a sound frequency is increased
It is closer to the original
What is a bit depth for sound
The number of bits for each sample
What happens if you increase the bit depth for sound
It is higher quality and there is more detail like quieter sounds
What is the bit rate for sound
Number of bits per second
Sample frequency x bit depth
How do you calculate the file size for sound
Bit rate x bit depth x duration
What is bit rate measured in
Hz
What is duration measured in
Seconds
What is file size measured in
Bits
What are images stored as
Bitmaps
What is a bit map made of
Thousands of tiny squares called pixels
What is each pixel represented by
A binary number
What 3 factors affect the images file size
Colour depth, resolution and metadata
What is the colour depth of an image
Number of bits used by each pixel to show colour
What does increasing the colour depth do
Increase file size as pixel can represent more colours
How many colours is one bit
2
How many colours is 1 byte
256
How many colours is 24 bits
16.7 million
What is the resolution of an image
The density of pixels in an image
Width x height
What does a higher resolution image mean
Higher quality and larger file size
What is metadata
The information within the image that is used to recreate it on the screen
What are the 4 examples of metadata
Height, width, colour depth and resolution
How to work out the total number of colours in an image
2 to the power of n
N is the number of bits per pixel
How do you work out the file size of an image
Image resolution x colour depth
What is file size of an image measured in
Bits
What does compression do
Decreases a file size
What does compression allow
To store more files and it makes it faster to upload/download files
What does lossy compression do
Permanently deletes data to reduce the file size which cannot be retrieved
What 3 things can lossy compression be used on
Images, audio and videos
What is the most effective compression
Lossy
What is a problem with lossy compression
It can reduce the quality of
What is lossless compression
When an algorithm is used to temporarily reduces a file size which can be restored to its original size and quality
What two things can lossless compression be used on
Word documents and executable files