Home / Expert Answers / Computer Science / activity-3-use-binary-code-to-send-secret-messages-adapted-from-cs-unplugged-page-8-34-worksheet-pa190

(Solved): Activity 3: Use Binary Code to Send Secret Messages! Adapted from CS Unplugged: page 8, "Worksheet ...



Activity 3: Use Binary Code to Send Secret Messages!
Adapted from CS Unplugged: page 8,
Worksheet Activity: Sending Secret M

Activity 3: Use Binary Code to Send Secret Messages! Adapted from CS Unplugged: page 8, "Worksheet Activity: Sending Secret Messages" Tom is trapped on the top floor of a department store. It's just before Christmas and he wants to get home with his presents. What can he do? He has tried calling, even yelling, but there is no one around. Across the street he can see some computer person still working away late into the night. How could he attract her attention? Tom looks around to see what he could use. Then he has a brilliant idea-he can use the Christmas tree lights to send her a message! He finds all the lights and plugs them in so he can turn them on and off. He uses a simple binary code, which he knows the woman across the street is sure to understand. Can you work it out? Directions: Tom's building is shown below. Each row is a floor of 5 rooms. Decode Tom's message by first translating each floor into binary, then into decimal numbers. Finally, use the decoding table at the bottom to translate the decimal numbers into letters. Decimal \( \rightarrow \) Letter Code:


We have an Answer from Expert

View Expert Answer

Expert Answer


PYTHON CODE: # take the matrix building=[ [0,1,0,0,0], [0,0,1,0,1], [0,1,1,0,0], [1,0,0,0,0], [0,0,0,0,0], [0,1,0,0,1], [0,1,1,0,1],
We have an Answer from Expert

Buy This Answer $5

Place Order

We Provide Services Across The Globe