Understanding Logic Gates

5 of 32


BINARY CODE EXAMPLE:

00000001 = 1

00000010 = 2

00000011 = 3

00000100 = 4

00000101 = 5

00000110 = 6

00000111 = 7

00001000 = 8

00001001 = 9

00001010 = 10

 


When the number place holder is empty, it has a zero in it. When full, there is a 1.

Look at the first example, the number one.

When we add a 1 to the number 1, the first place holder becomes a zero and we carry one place to the left. The zero (the second from the left) now becomes a 1. So a number 10 in the binary system equals a number 2 in the base 10 system.