Module 1
Module 1
Part one:
Decimal - base 10
Binary - base 2
Base 10 Base 2
0 0
1 1
2 10
3 11
4 100
5 101
6 110
7 111
8 1000
One short answer is that powers of 2 are most convenient. On computers, you will see groups of 4, 8, 16, 32, or 64 bits. (You may have
heard of 32-bit machines or 64-bit machines.)
When talking about basic ASCII, 128 characters were initially sufficient to represent the letters and punctuation marks that are used in
English. 128 characters can be represented using 7 bits but rounding up to the nearest power of 2 meant using 8 bits. Additionally, when
numbers were stored on computers, one bit was reserved to distinguish between positive numbers and negative numbers. In ASCII, all of
the characters are represented by positive numbers, so the 8th bit is zero for all. There is also an Extended ASCII character set, which
makes use of all 8 bits to store 256 characters