1.2.3 units Flashcards
why does data have to be stored in a binary format?
data needs to be stored in binary format because computers only have 2 states: on/off, true/false, yes/no, 1/0
All data that we want a computer process needs to be converted into a binary format to be processed by a computer.
binary = base 2 denary = base 10
bit
a bit is a 1 or 0
it is the smallest unit of data a computer can store
nibble
4 bits
byte
8 bits or 2 nibbles
example: keyboard characters
kilobyte
1 kB = 1000 bytes
example: document file sizes
megabyte
1 MB = 1000 kB
example: measure storage space on a CD
gigabyte
1 GB = 1000 MB
example: hard drive sizes
terabyte
1 TB = 1000 GB
example: over 300 hours of videos
petabyte
1 PB = 1000 TB
example: 315 million photos
calculating sound file size
sound = sample rate X duration (s) X bit depth
calculating text file size
text = bits per character X number of bits
calculating image file size
image = colour depth X image height X image width