Quarry School

Give one bit a meaning — quick review

In plain words

Two friends agree on a porch light ahead of time.

Rule

A bit has two possible states, so each mark on paper is either 0 or 1. A mark has no meaning until the sender and the receiver share a key, and that key must give the two marks two different meanings. Decode one mark at a time, from left to right, and write one word per mark. Keep the marks and change the key, and you get a different message.

Step

  1. Agree on the key with your partner and write it down before anyone sets a tile. In this lesson, Key A says 0 means waiting and 1 means ready.

  2. To reverse a key, swap its two meanings. Key B, the reversed lift key, says 0 means ready and 1 means waiting. Reversing the key never changes the order of the marks.

  3. Check the marks. Only 0 and 1 are allowed. If a mark is anything else, or a tile shows no clear face, write "not in the key" and stop instead of guessing.

  4. Start with an empty message. This is the starting point of your trace.

  5. Read the marks from left to right, one mark at a time.

  6. Look up each mark in the key and write its word at the end of the message. In this lesson a mark means the same thing wherever it sits in the row.

  7. Stop when no marks are left. Count the words: there should be one word for each mark.

  8. To encode, work the other way: look up each word in the key and write its mark.

  9. To check, encode your decoded message with the same key. If you get the original marks back, your decoding holds. This check is called a round trip.

Trap

The usual mistake is to treat the mark as if it were the meaning: "1 is ready, full stop." The tile shows only a face. Ready comes from Key A, and under Key B the same face means waiting. A computer keeps physical states, not the digits 0 and 1, so the digit names a state and the key turns that state into a meaning.

The second mistake is to reverse the marks instead of the key. The row 1, 0, 1 reads the same backwards, so flipping its order gives 1, 0, 1 again and repeats Key A's message without anyone noticing. Try 1, 1, 0 under Key A instead: it decodes as ready, ready, waiting.

Reversing the order of 1, 1, 0 gives 0, 1, 1, which Key A decodes as waiting, ready, ready. Reversing the key gives waiting, waiting, ready. These are three different answers, and only the last one answers "reverse the key".

A key that gives both marks the same meaning, such as 0 means ready and 1 means ready, also fails. Every message decodes as ready, and waiting can never be sent.