0% found this document useful (0 votes)
70 views1 page

Student Internet Messaging Protocol

The document describes an activity where two partners, Lily and Sara, develop a protocol to coordinate sending binary messages back and forth over an internet simulator. They agree that Lily will send the first bit of the message, Sara will read it after 5 seconds and send the bit back after another 5 seconds, and so on until the full 2-bit message is exchanged. They practice exchanging a 4-bit message in 7.5 seconds. The document prompts them to extend their protocol to handle longer messages and calculate the bit rate for one of their fastest runs.

Uploaded by

api-372568750
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
70 views1 page

Student Internet Messaging Protocol

The document describes an activity where two partners, Lily and Sara, develop a protocol to coordinate sending binary messages back and forth over an internet simulator. They agree that Lily will send the first bit of the message, Sara will read it after 5 seconds and send the bit back after another 5 seconds, and so on until the full 2-bit message is exchanged. They practice exchanging a 4-bit message in 7.5 seconds. The document prompts them to extend their protocol to handle longer messages and calculate the bit rate for one of their fastest runs.

Uploaded by

api-372568750
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Unit 1 Lesson 3

Name(s): Lily and Sara Period 3 Date ____________


 
 

Activity Guide - Coordination and Binary Messages 


 
 
Develop your Protocol:​ You and your partner will need to send a 2-bit message back and forth on the Internet
Simulator. One partner will have a secret 2-bit message (for example BA). When your teacher says “Go” that
partner will send the message using the Internet Simulator. The second partner will then send the same message
back. At the end you’ll check that the correct secret message was successfully sent back and forth.

Your Protocol: ​You will need to agree on rules, or a “protocol” to make this message exchange work. Develop
your protocol in the space below. Make sure you consider:

● How will you know when the exchange is supposed to begin?


● How will you know whose turn it is to send or receive the message?
● How will you coordinate your actions?

As soon as it starts, Lily will send a one-bit message. 5 seconds later, Sara will read the message. 10 seconds
after sending the first one, Lily will send another message. Sara will read the message after an additional 5
seconds. She will wait 5 seconds then send the first bit back. 5 seconds later, Lily will read the message. 10
seconds after sending the first one, Sara will send the other bit back. Lily will read the message after an additional
5 seconds.

Practice​: Practice sending a 2-bit message back and forth (4 bits sent in total). Try to get your time as low as
possible without making mistakes. Record your fastest time in the space below.

Bits Transmitted: 4 Time in Seconds: 7.5

Challenge: ​Extend your protocol so that it can send more bits. Can you make it work for 4-bit messages or 8-bit
messages? Keep improving your protocol so that you can send more bits as quickly as possible without making
mistakes.

Bit Rate:​ A bit rate is a measure of how fast a system transmits bits. You can calculate your protocol’s bit rate by
dividing the number of bits sent by the amount of time it takes. Calculate your bit rate for one of your fastest runs
of your protocol. Note: If you send 4 bits back and forth, you’ve actually transmitted 8 bits.

Bits Transmitted: 4 Time in Seconds: 30 Bit rate: 7.5 bits/sec

You might also like