SPY DODO

SPY DODO

Blog

Three illustrated experiments you can try in the code lab.

Send a Morse signal

Telegraph key and Morse signals

Morse turns letters into dots and dashes. Pick Morse Code, choose Encode, and type SOS to see the pattern.

  1. TypeSOS
  2. Encode... --- ...
  3. DecodeSOS
S has three dots and O has three dashes. Spaces separate letters.

Tap the pattern on a table and ask a friend to find the three letters.

Shift the alphabet

Two rows of letters offset by a shift

The Caesar cipher moves each letter by the same number of places. Set the shift to 3 and try CAT.

  1. MessageCAT
  2. Shift +3FDW
  3. Shift −3CAT
Encoding moves forward three places. Decoding moves back three places.

Try Z next. When a letter goes past Z, the shift wraps to the beginning.

Spot a letter pattern

Letters under a magnifying glass

The message BANANA A has four As, one B, and two Ns. A Caesar shift keeps those counts and changes which letters they belong to.

  • A4
  • B1
  • N2
Letter counts in BANANA A. Spaces are excluded.

Try a shift of 3. Which letter takes the place of all four As? Check your guess in the lab.

Try the code lab