Question: USE JAVA PLEASE! DO NOT COPY FROM OTHER WEBSITE! Morse code is a code where each letter of the English alphabet, each digit, and various

USE JAVA PLEASE! DO NOT COPY FROM OTHER WEBSITE!

Morse code is a code where each letter of the English alphabet, each digit, and various punctuation characters are represented by a series of dots and dashes. Figure 1 shows part of the code. Write a program that asks the user to enter a string and then converts that string into Morse code. Use hyphens for dashes and periods for dots.

Some points to consider:

1. Design: Figure out what classes and methods you need to develop. Ex. Utility classes, class to represent Morse code generator, etc

2. Architecture: Create a UML of your architecture idea. Make it re-usable and configurable by someone other than yourself

3. The input can be given in two ways

a. Command line args

b. Passed into a function

4. Use string buffers when you are (or are going to) manipulating large Strings

5. Use appropriate accessors for your variables and methods

6. EXPLAIN: What strategy you used to store the morse code encoding table and WHY? (-10 points if this is missing). Can add it as comment on the class.

USE JAVA PLEASE! DO NOT COPY FROM OTHER WEBSITE! Morse code is

Table Code Character cter Code Character Code Character space Code comma period " estion mark

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!