Inspector Morse
Problem
You may like to read the article on Morse code before attempting this question.
A
|
B
|
C
|
D
|
E
|
F
|
G
|
H
|
I
|
J
|
K
|
L
|
M
|
.-
|
-...
|
-.-.
|
-..
|
.
|
..-.
|
--.
|
....
|
..
|
.---
|
-.-
|
.-..
|
--
|
N
|
O
|
P
|
Q
|
R
|
S
|
T
|
U
|
V
|
W
|
X
|
Y
|
Z
|
-.
|
---
|
.--.
|
--.-
|
.-.
|
...
|
-
|
..-
|
...-
|
.--
|
-..-
|
-.--
|
--..
|
Translate the following message into Morse code:
Codes and hidden meanings
If each dit (dot) takes 1 unit of time, a dah (dash) 3 units of time, the pause between letters 3 units and the pause between words 7 units, how long will it take to send this message?
Samuel Morse gave E the symbol with the shortest time value (1dit) because he thought it was the most commonly used letter. I, apparently the next most common letter, uses two dits to represent it. However, the letter analysis was done over 150 years ago and language does change and, of course, it may be entirely different in different languages.
So, might there be a better allocation of symbols today?
To tackle this question try counting the number of times each letter occurs in the article on Morse Code and suggest an alternative coding based on the frequency of each letter (this is called frequency analysis).
Would it take less time to send the message above with your code than with Morse Code? To help you there is a list of the symbols and their time in the hints.
On average would you expect your code to take less time to send a message than the international Morse Code? Could there be a more efficient coding? You might also like to look at the letter frequency graph shown in Claire Ellis' article on Codes.
Of course there is always the problem of whether the style of writing you might use to send a message is the same as that of the article. In fact, if Morse were used today I think it would most likely resemble texting.
Getting Started
Copying and pasting the article into a word processor and then using the "replace" facility will quickly tell you how many of each letter there is.
A
|
B
|
C
|
D
|
E
|
F
|
G
|
H
|
I
|
J
|
K
|
L
|
M
|
.-
|
-...
|
-.-.
|
-..
|
.
|
..-.
|
--.
|
....
|
..
|
.---
|
-.-
|
.-..
|
--
|
4
|
6
|
8
|
5
|
1
|
6
|
7
|
4
|
2
|
10
|
7
|
6
|
6
|
N
|
O
|
P
|
Q
|
R
|
S
|
T
|
U
|
V
|
W
|
X
|
Y
|
Z
|
-.
|
---
|
.--.
|
--.-
|
.-.
|
...
|
-
|
..-
|
...-
|
.--
|
-..-
|
-.--
|
--..
|
4
|
9
|
8
|
10
|
5
|
3
|
3
|
5
|
6
|
7
|
8
|
10
|
8
|
Is there much variation in the order of frequency of use of letters you found in the article and what is implied by the choice of symbols and time values used by Morse? Is E the most frequent letter in the article and I the next?
Your coded message might be longer or shorter than when you use Morse but it is just one possible message. How would you compare the two systems more generally?
Student Solutions
This problem suited those of you who were very careful... and some of you made errors along the way ...
Tom and Joseph from D.A.P.S. demonstrate the value of close collaboration:
"Our problem was to find out the units of time in the sentence that had to be decoded - Codes and hidden meanings. The way we solved this problem: we compared our notes and found an answer that we both agreed on. Joseph's method was: a space between letters is three units of time, a space between words are seven units of time, a dah (a line-) is three units of time and a dot is one unit of time. First you add the units of time together to get the first number, then you add the three units of time for each space between letters, and at the end of each word you add seven units of time. Tom's method was to count all the spaces (there were 18 and there were 3 spaces between the words) so the next thing I did was to count the units of time in the letters. My answer was 166 units of time. Me and Joseph compared notes and we got the answer 166."
Jakob Plant, Ryan Campbell and Thomas Jewitt from Dauntsey's Aided Primary School set out their work very clearly:
c o d e s -.-. --- -.. . ... = 38 Units (including 3 units between letters) = 7 units (7 units between each word) a n d .- -. -.. = 19 units = 7 units h i d d e n .... .. -.. -.. . -. = 36 units = 7 units m e a n i n g s -- . .- -. .. -. --. ... = 52 units = 166 units KEY - =3 units . =1 units gap between words = 7 units gap between letters = 3 units
One of them added: "First I worked out the message in Morse code. I next worked out how many units there were in each word. Then I added up the units in the gaps. Next I added up the totals from each word and then I added the units from between the words and I got 166 units."
Well done to you all.
Teachers' Resources
Working in groups to analyse separate sections of the text may be a useful whole class activity even if pupils then work in smaller groups to analyse the data.
By sorting the letters by time values you can get an approximation to Morse's findings.
A simple frequency count would give a first clue to differences. Are there any letters whose frequency is significantly different when the two distributions are matched?
Using the new code and translating is there a "significant" difference in the times the messages would take?
By weighting letter time values according to their frequency it should be possible to see whether the average time taken to send a message using each of the two systems, or between systems generated by groups of pupils, differ.