1.4.1 Data Types Flashcards
What is a bit?
Either a 1 or 0
We use bits to represent the two electronic states: on and off.
How many bits are in a byte?
8 bits in a byte
How many bits are in a nibble?
4 bits in a nibble
How many values can be represented with n bits?
2^n
How many bytes are in a kibibyte?
1024
What is the power of kibi?
2^10
What is the power of mebi?
2^20
What is the power of gibi?
2^30
What is the power of tebi?
2^40
What is the power of pebi?
2^50
What is the power of exbi?
2^60
What is the power of zebi?
2^70
What is the power of yobi?
2^80
What is a character set?
A collection of characters, each assigned a unique binary value
How many bits does ASCII use per character?
7
How many bits does extended ASCII use per character?
8