Code: The Hidden Language of Computer Hardware and Software
Rate it:
1%
Flag icon
The further back in time you go, the simpler the technologies become.
1%
Flag icon
Although Morse code has absolutely nothing to do with computers, becoming familiar with the nature of codes is an essential preliminary to achieving a deep understanding of the hidden languages and inner structures of computer hardware and software.
1%
Flag icon
code usually means a system for transferring information among people and machines.
1%
Flag icon
A code is useful if it serves a purpose that no other code can.
2%
Flag icon
The key word here is two. Two types of blinks, two vowel sounds, two different anything, really, can with suitable combinations convey all types of information.
3%
Flag icon
Morse code is said to be a binary (literally meaning two by two) code because the components of the code consist of only two things—a dot and a dash.
4%
Flag icon
electron theory, which says that electricity derives from the movement of electrons.
5%
Flag icon
Lightning is a lot of electrons moving very quickly from one spot to another.
5%
Flag icon
The thicker a wire, the lower the resistance it has. This may be somewhat counterintuitive. You might imagine that a thick wire requires much more electricity to “fill it up.” But actually the thickness of the wire makes available many more electrons to move through the wire.
5%
Flag icon
Voltage refers to a potential for doing work. Voltage exists whether or not something is hooked up to a battery. Consider a brick.
5%
Flag icon
Current is related to the number of electrons actually zipping around the circuit. Current is measured in amperes, named after André Marie Ampère (1775–1836), but everybody calls them amps, as in “a 10-amp fuse.” To get one amp of current, you need 6,240,000,000,000,000,000 electrons flowing past a particular point per second.
5%
Flag icon
Current is similar to the amount of water flowing through a pipe. Voltage is similar to the water pressure. Resistance is similar to the width of a pipe—the smaller the pipe, the larger the resistance.
5%
Flag icon
amount of water flowing through a pipe (the current) is directly proportional to the water pressure (the voltage) and inversely proportional to the skinniness of the pipe (the resistance).
7%
Flag icon
The earth is to electrons as an ocean is to drops of water. The earth is a virtually limitless source of electrons and also a giant sink for electrons.
8%
Flag icon
repeater, or a relay. A relay is like a sounder in that an incoming current is used to power an electromagnet that pulls down a metal lever. The lever, however, is used as part of a switch connecting a battery to an outgoing wire. In this way, a weak incoming current is “amplified” to make a stronger outgoing current.
9%
Flag icon
Yes, the zero. The lowly zero is without a doubt one of the most important inventions in the history of numbers and mathematics.
16%
Flag icon
What’s special about binary is that it’s the simplest number system possible.
17%
Flag icon
In the computer age, the bit has come to be regarded as the basic building block of information.
17%
Flag icon
information represents a choice among two or more possibilities.
17%
Flag icon
any information that can be reduced to a choice among two or more possibilities can be expressed using bits.
17%
Flag icon
The only requirement is that everyone who uses the code must know what the 0 and 1 bits mean.
18%
Flag icon
in binary the number of possible codes is always equal to 2 to the power of the number of bits:
21%
Flag icon
But most fundamentally, bits are numbers. All that needs to be done when bits represent other information is to count the number of possibilities. This determines the number of bits that are needed so that each possibility can be assigned a number.
21%
Flag icon
Organon
21%
Flag icon
logic was a means of analyzing language in the search for truth and thus was considered a form of philosophy.
21%
Flag icon
The Mathematical Analysis of Logic, Being an Essay Towards a Calculus of Deductive Reasoning (1847)
21%
Flag icon
An Investigation of the Laws of Thought on Which Are Founded the Mathematical Theories of Logic and Probabilities (1854), more conveniently referred to as The Laws of Thought.
22%
Flag icon
In conventional algebra, the operands (which are usually letters) stand for numbers, and the operators (most often + and x) indicate how these numbers are to be combined.
22%
Flag icon
Boolean algebra (as Boole’s algebra was eventually called), the operands refer not to numbers but instead to classes. A class is simply a group of things, what in later times came to be known as a set.
22%
Flag icon
The + symbol in Boolean algebra means a union of two classes. A union of two classes is everything in the first class combined with everything in the second class. For example, B + W represents the class of all cats that are either black or white. The x symbol in Boolean algebra means an intersection of two classes. An intersection of two classes is everything that is in both the first class and the second class.
22%
Flag icon
we can write F x T as F·T or simply FT (which is what Boole preferred).
22%
Flag icon
The symbol 1 in Boolean algebra means “the universe”—that is, everything we’re talking about.
22%
Flag icon
The other symbol that we need is the 0, and in Boolean algebra the 0 means an empty class—a class of nothing.
22%
Flag icon
Law of Contradiction and indicates that something can’t be both itself and the opposite of itself.
23%
Flag icon
When you form a union of two classes, you’re actually accepting things from the first class OR the second class. And when you form an intersection, you’re accepting only those things in both the first class AND the second class.
23%
Flag icon
The + (previously known as a union) now means OR. The x (previously known as an intersection) now means AND. The 1 – (previously the universe without something) now means NOT.
23%
Flag icon
Boolean test.
29%
Flag icon
The output of one gate (or inverter) can be the input to one or more other gates (or inverters). But the outputs of two or more gates (or inverters) are never connected to one another.
29%
Flag icon
The NAND gate
30%
Flag icon
An AND gate with two inverted inputs does exactly the same thing as a NOR gate:
30%
Flag icon
Formal Logic
30%
Flag icon
The Mathematical Analysis of Logic.
30%
Flag icon
When you come right down to it, addition is just about the only thing that computers do.