# Differences

This shows you the differences between two versions of the page.

Both sides previous revision Previous revision Next revision | Previous revision | ||

c4c:units [24/04/2012 10:30] andrew [Binary counting] |
c4c:units [10/10/2013 14:21] (current) |
||
---|---|---|---|

Line 11: | Line 11: | ||

One Byte is composed of 8 [[c4c:units#bits|bits]]. Why 8 bits and not 10? Data in computers is counted in what is referred to as Binary which just used 1's and 0's to count with. This might seem confusing, but as computers are electrical and electricity can be either on or off, it is convenient to use. \\ | One Byte is composed of 8 [[c4c:units#bits|bits]]. Why 8 bits and not 10? Data in computers is counted in what is referred to as Binary which just used 1's and 0's to count with. This might seem confusing, but as computers are electrical and electricity can be either on or off, it is convenient to use. \\ | ||

- | Normal counting uses numbers 0 to 9 and is called denary, sometimes also called base-10. Binary is also called base-2.\\ | + | Binary numbering is called base-2 meaning we carry over in powers of 2. So the sequence of numbers in binary is 1, 2, 4, 8, 16, 32. 10 is missed out of the sequence.\\ |

+ | | ||

+ | Normal counting uses numbers 0 to 9 and is called denary, sometimes also called base-10. Humans probably started to count in multiples of 10 because we have 10 digits between two hands. \\ | ||

+ | Compared to binary, the sequence of denary numbers is 1, 10, 100, 1000, 10000. \\ | ||

+ | | ||

Sometimes four bits are combined together and called a ''nibble''. likewise two bytes together are sometimes called a ''word'' and two words are called a ''long word''. \\ | Sometimes four bits are combined together and called a ''nibble''. likewise two bytes together are sometimes called a ''word'' and two words are called a ''long word''. \\ |