MATHEMATICS: Binary Math and Digital Electronics

Write the numbers 8,4,2, and 1 in descending order.  We will form binary numbers by choosing the numbers from this list that are needed to form the binary number wanted.  Below, we will see how we use the number 1 to choose which number out of the ( 8,4.2,1 ) sequence is being used to form a binary number, and we will subsequently place a zero in place of numbers not needed.

For example, using the ( 8,4,2,1 ) template, the number 1 is formed by choosing 1 from the sequence and placing a zero in place of all of the other numbers.  1 in binary = ( 0001 ).  2 in binary = ( 0010 ), because 2 ( out of the 8,4,2,1 sequence ) is the only number needed to form the number 2.

Trick question:  How do you get binary 3 from the ( 8,4,2,1 ) sequence?  Well, since 2 + 1 = 3, we need the 2 and the 1 to be selected from the list.  Binary 3 = ( 0011 ).

Q: What does the number ( 1111 ) stand for? 

A: 8 + 4 + 2 + 1 = 15.

Now, imagine a four-input device having four wires within which high voltage ( or current ) = 1 or a low voltage ( or current ) = 0 can be established. Let’s also imagine that a programmer has entered the binary sequence of ( 0001 ) into some interface connected to the four-input device. The first three voltage ( or current ) inputs into the device will be low ( 0 ), but the input farthest to the right will have a high voltage ( or current ) input of ( 1 ). In this circumstance, the three wires with inputs of ( 0 ) must supply electricity to the input device from an alternative source called a “ NOT Gate “.

Similarly, a four-input device designed to operate off of ( 0000 ) binary inputs must be wired up in such a way that four NOT Gates supply electricity to the input device. If another device is designed to be activated with a ( 1111 ) input, this device can be energized directly without any influence of NOT Gates on the inputs. Admittedly, this scenario is an oversimplification of how semiconductor circuits allow computer hardware to be programmable, but this description is a very fitting preliminary concept upon which further studies of digital electronics can be studied.

Here are all the possible numbers ( 1 to 15 ) in binary ( including 0 as the first number: 0000 ( zero ), 0001 ( one ), 0010 ( two ), 0011 ( three ), 0100 ( four ), 0101 ( five ), 0110 ( six ), 0111 ( seven ), 1000 ( eight ), 1001 ( nine ), 1010 ( ten ), 1011 ( eleven ), 1100 ( twelve ), 1101 ( thirteen ), 1110 ( fourteen ), and 1111 ( fifteen ).

Loosely speaking, a computer program can be regarded as binary number sequences stored in ROM, loaded to RAM, and read one by one according to how a programmer placed them into order. English letters are composed of different sequences of eight binary numbers known as ” bits “, and eight-bit groups of binary numbers are called ” byte “.

Each sequence of 1s and 0s, stored in semiconductor circuits known as ” registers “, have the ability to make many things happen.  For further study, please reference the ” fetch, decode, execute cycle “.

Published by George Tafari

In 2004, I became history's second African American student to earn a degree in physics ( chemistry minor ) from the College of Charleston in beautiful Charleston, South Carolina. Keep it 7!!! X

Leave a comment