Bits and bytes Flashcards
Bit
Like an atom – smallest unit of storage; stores 0 or 1
Byte
Grouping of 8 Bits
1 bit distinct patterns
0 1
2 bit distinct patterns
00 01 10 11
3 bit distinct patterns
000 001 010 011 100 101 110 111
In general if you add 1 bit how is the number of patterns changed
It doubles
1 Byte # of patterns
256
Base 10
If we want to write any number, we have ten digits we can use: 0 1 2 3 4 5 6 7 8 9. If you notice, there is no one digit for the number ten- we need to use two digits, the 1 and the 0. We can only count to nine without the need for two digits. Therefore, we use base ten in order to make bigger numbers.
What is another name for Binary?
Base 2
How is 1 represented in Binary
1
How is 2 represented in Binary
1 0
How is 3 represented in Binary
1 1
How is 8 represented in Binary
1000
What is 1 1 +
1
1 0 0
What is 1 +
1
1 0 —– 1 + 1 = 0 carry one to next column