HTW Berlin Medieninformatik

HTW Berlin
Fachbereich 4
Internationaler Studiengang
Internationale Medieninformatik (Bachelor)
Aktuelle Themen: Cryptography
Winter Term 2015/16

Lab 2 : Morse Code


Morse Code is an a dichromatic, prefix-free code that uses two different sounds, pulses, lights or other signals that can be discriminated by a trained listener. The first telegraphs used a sort of Morse code to transmit messages.
  1. Implement a program that transforms a plaintext into the appropriate dot-dash sequence for International Morse Code.
  2. Implement a program that decodes a dot-dash sequence of International Morse Code. Does the data structure that you use for this make a difference?
  3. Encode messages in dot-dash and post them on the forum. Can you decode the messages that the others post?
  4. (For the curious) Include German characters in your table.
  5. (For the internationally inclined) Implement Russian Morse Code.
  6. (For the media experts) Provide a method that takes a dot-dash sequence and produces appropriate sounds.
  7. (For the exceedingly bored) Decode Morse code sounds found in an MP3 file.

You may work in groups of two and submit the same report for both persons. The report is due the evening before your next lecture at 22.00!


Dr. Hermann Thiel & Prof. Dr. Debora Weber-WulffCC-BY-NC-SA

This material is jointly prepared by Dr. Hermann Thiel and Prof. Dr. Debora Weber-Wulff. Some of the material may come from other sources and is denoted by the copyright notices on the individual pages.