HTW Berlin Medieninformatik

HTW Berlin
Fachbereich 4
Internationaler Studiengang
Internationale Medieninformatik (Bachelor)
Aktuelles - Medien: Kryptographie
Winter Term 2010/11

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. Your report is due next Wednesday at 23.00!


Copyright 2010 Dr. Hermann Thiel & Prof. Dr. Debora Weber-Wulff - All rights reserved.
Questions or comments: <weberwu@htw-berlin.de>

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