This is meant to be handed out to the students.
First, however, we need to understand the code computers use. This is like learning how they write letters. Then, we will see how they transmit this code in an error-free manner to each other. This will introduce us to the concept of "packets." Finally, we'll try it out and communicate with another computer using radios.
This is on the right track, except that computers can't understand the normal Arabic numerals that we use. Computers can only read two numbers! I won't go into the reasons for this, but it's a major fact of computers. What allows them to get away with this and get anything done is that they can do it very fast.
For simplicity let's use two numbers we know: 0 (zero) and 1 (one). This is called a binary number system. "Bi-" means two. How would we count with such a system? Well it's actually not that hard. You just have to think of it as similar to the usual system we always use, which is called the decimal system. "Deci-" means ten. Here's how you would count to five in binary.
1 10 11 100 101It's just like doing the counting you're used to, except that you don't have the other digits. When you add 1 to 1 you get 10, because you have to go to another place. In the spaces below, write the numbers up to 26 in the second column of the following table.
Decimal Number Binary Number 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26Now, create a code for the 26 letters we know as follows. Put zeros in front of the binary numbers above, as necessary, to make all the number have the same number of digits. This doesn't really change the value of the number, it just makes them consistent. It's like saying the number 09=9. Finally, then write the alphabet starting at the top of the third column and working your way down.
Make sure you get the letters in the right order! It would be a big problem if we didn't all have the same match between letters and numbers. We'd have different codes and wouldn't be able to communicate!
My name is JIM. Write it below in this binary code:
Now, write your own name in binary:
Radios transmit the information by giving a separate tone for each number. They send a 1200 Hz tone for a 0 and a 2400 Hz tone for a 1. (Hz is the symbol for frequency units. It stands for Hertz. Hertz means one cycle per second. The frequencies we can hear are typically 20 to 20,000 Hz. The higher the frequency the higher the tone.)
Let's see what it's like to transmit binary information. Let the word BEE stand for a 1 and the word BOP stand for a 0. That would mean the binary number 10011101010 would be:
Now, write your name in the binary code, only in terms of BEEs and BOPs.
Try and say it.
In the class we'll see who can say their name the fastest. How many letters were in the winner's name?
How many binary digits make up each letter? _______________
So, how many total binary digits in the name? _______________
How long did it take to say the name (someone will have to help with a stopwatch here)?
Now, divide the number of digits by the time it took. Write your answer here:
This last number is called the baud rate of transmission. Baud means "bits" per second. In our case a digit, whether it is a 1 or a 0 or a BEE or a BOP is a "bit" of data.
A really fast computer link can send its BEEBOPS at a baud rate of 56,000 bits per second. We'll now look at some radios and computers that send at a slower rate of 1,200 baud. How much faster is 1,200 baud than the fastest person in the class?
Let's break up the following sentence into two packets.
The quick brown fox jumped over the lazy dog's back.
Packet #1 = P1= The quick brown fox jump
Packet #2 = P2= ed over the lazy dog's back.
Computer A Computer B
This might seem to be very slow, but it happens very fast in reality and leads to an accurate way of transmitting information from one computer to another.
Let's do a little figuring. Suppose we had a book that had 200 pages and that each page had 60 lines. Further, suppose that each packet was 3 lines long. How many packets would it take to transmit the entire book?
Further, suppose that each line contained 40 characters and that each character requires 6 bits of information. How many bits in the entire book?
Suppose the effective baud rate of the packet transmissions is 2,400 baud. How long will it take to transmit the entire book? (Convert your answer to minutes.)
Important Disclaimers and Caveats