Humans use numbers that contain only ten different digits – 0 thru 9. The Latin prefix for ten is “dec”, hence, our number system is known as decimal.
Numeric values inside any electronic device are stored using only 2 distinct values – 1 and 0. The Latin prefix for two is “bi”, hence, the number system used inside electronic devices is known as binary).
For example,
● | The upper case letter “J” has a decimal value of 74, which is 01001010 in binary. |
● |
The lower case letter “m” has a decimal value of
109, which is 01101101
in binary.
|
● |
An image pixel with a shade of light green has a
3-part decimal value of 204 255 204, which is
11001100 11111111 11001100
in binary.
|
No comments:
Post a Comment