<<< Chapter 2, Bits, Data Types, and Operations | Index | Data Types >>> |
Wires conduct electricity. When there is a potential difference, it causes electric difference and flow of electric current.
High or low amount of electric current can represent a two types of signals...
...so one wire can represent a logical zero or a logical one.
Eight wires can represent 256 unique combinations of 1s and 0s.
In general, k wires can represent 2k different combinations of 1s and 0s.
A combination of bit patterns is a code that represents a data value.
<<< Chapter 2, Bits, Data Types, and Operations | Index | Data Types >>> |