![]() |
||||||||||||||||||||||||||||||
|
Modern Computers Are Binary (continued) Why use Binary? Here's why: Consider this: when we write numbers in decimal form, we can count from 0 through 9 in any digit, and then we carry to the next digit. We never get to ten, because ten is the base of the number system; each digit represents another power of ten. Likewise, if we count in binary representation:
and
so on...
This is the key. Building a computer means building a machine with mechanisms that can represent the digits of numbers and that switch states according to the rules of arithmetic. We saw with our gear
example that in order to build a decimal (base-10) computer, for each
digit we required a mechanism A simple on/off switch can represent a binary digit ("bit"): ON = 1, and OFF = 0 . That is, if we need to represent a 1 in a binary digit; we set the switch to ON; if we need the digit to have a 0 in it, we set the switch to off. This is a much simpler mechanism for representing a digit than a gear that has to rotate between ten different positions! |
|
||||||||||||||||||||||||||||
|
If you encounter technical errors, contact computing@calvin.edu.
|
|