Memory And Storage (part 2) Flashcards
How many bits are in a byte?
8
How many bytes are in a kilobyte?
1000
How would you calculate the file size of a text file?
Number of bits per character x number of characters
How would you calculate the file size of an audio file?
Sample rate x duration (s) x bit depth
How would you calculate the file size of an image?
Colour depth x image width (px) x image height (px)
What do binary shifts do?
Divide or multiply the number
What are the problems with binary shifts?
- Can create an overflow
- Number is rounded and therefore loses precision
What is metadata?
Additional information stored about an image eg. height, width
What is a character set?
A defined list of characters recognised by the computer
Give 2 examples of character sets
- ASCII
- UNICODE
What is ASCII?
Early 7 bit character set which was later extended to 8 bits
What is UNICODE?
The modern most commonly used character set that uses 24 bits
How many characters can be used in a 7 bit character set?
27 = 128
How are images represented on a computer?
As a series of pixels which is represented in binary, each pixel has a specific colour and each colour has a specific code
What effect does increasing the colour depth have on an image?
- Increased file size
- Increased quality