Tutorial week 7

The Morse code is a communications protocol used before radio and the telephone. Each letter number and some punctuation characters are represented by a series of dots and dashes with a time delay between characters. See The Morse Alphabet. So "SOS" becomes "... --- ..."

  1. Write an input method that will take Latin characters as input and enter the corresponding Morse code
  2. Write an input method that will take dots, dashes and spaces as input and enter the corresponding Latin character
  3. Make this last input method predictive, so that as dots and dashes are typed a list is shown of possible completions

Jan Newmarch (http://jan.newmarch.name)
jan@newmarch.name
Last modified: Mon Apr 25 10:59:00 EST 2005
Copyright ©Jan Newmarch
Copyright © Jan Newmarch, Monash University, 2007
Creative Commons License This work is licensed under a Creative Commons License
The moral right of Jan Newmarch to be identified as the author of this page has been asserted.