1Suppose you live on a mountain and the only way you can send messages is via ca
ID: 3735782 • Letter: 1
Question
1Suppose you live on a mountain and the only way you can send messages is via carrier pigeon, which can carry a canister containing a slip of paper. You have a message to send to someone on a distant mountain, and the message consists of many parts. A single pigeon can only carry one part. Fortunately, you have several pigeons that know the route, as does your intended recipient. Of course, the pigeons fly at different speeds, and are subject to being attacked by predators, so there is no telling what order the parts will be received in, or at all.You want to ensure that your recipient receives the complete message, reassembled in order, and you need to get confirmation from the recipient (via carrier pigeon) that the complete message has been received. To do this, you must label the individual canisters somehow. How will you label the canisters, and what kind of messages must you get back from the recipient that indicate the complete message has been received?2Now, suppose there are many people you communicate with, and messages are being sent back and forth between all of you. Your pigeons can't tell who a message is for - they can only fly back and forth between "Pigeon Central Headquarters". The same situation is true for each person in your pigeon network. How must your algorithm change so that the people at Pigeon Central know where to route their messages, and you know for sure when your messages have been received?
1Suppose you live on a mountain and the only way you can send messages is via carrier pigeon, which can carry a canister containing a slip of paper. You have a message to send to someone on a distant mountain, and the message consists of many parts. A single pigeon can only carry one part. Fortunately, you have several pigeons that know the route, as does your intended recipient. Of course, the pigeons fly at different speeds, and are subject to being attacked by predators, so there is no telling what order the parts will be received in, or at all.You want to ensure that your recipient receives the complete message, reassembled in order, and you need to get confirmation from the recipient (via carrier pigeon) that the complete message has been received. To do this, you must label the individual canisters somehow. How will you label the canisters, and what kind of messages must you get back from the recipient that indicate the complete message has been received?
2Now, suppose there are many people you communicate with, and messages are being sent back and forth between all of you. Your pigeons can't tell who a message is for - they can only fly back and forth between "Pigeon Central Headquarters". The same situation is true for each person in your pigeon network. How must your algorithm change so that the people at Pigeon Central know where to route their messages, and you know for sure when your messages have been received?
2Now, suppose there are many people you communicate with, and messages are being sent back and forth between all of you. Your pigeons can't tell who a message is for - they can only fly back and forth between "Pigeon Central Headquarters". The same situation is true for each person in your pigeon network. How must your algorithm change so that the people at Pigeon Central know where to route their messages, and you know for sure when your messages have been received?
Explanation / Answer
1. in the canister, we can mark with some sequence which is used to reassemble the message. If the pigeon carry the message part 5 and the total number of pigeon (or message parts) are 10, we have to label the canister to 5-10. 5th order, total message part is 10. Once the receiver received all the message part, receiver can send the acknowledgement using the carrier pigeon, the canister may contains the message "Success"
2. We can add the address of the receiver or name of the receiver and sender in the canister along with the canister label. So, the workers know the message is for who. While receiving the same way the workers in the Pigeon central know that the message received from who
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.