Old fashion Morse code uses a series of dots and dashes to stand for letters, digits and punctuation marks. This program will allow a user the option to: 1. Enter a series of words (including blanks) and encoded them into their equivalent Morse code. 2. Enter a series of encoded Morse code and translate it into its equivalent letters, digits and punctuation marks. 3. Allow the user to keep executing the application multiple times (i.e. encode than decode or vice versa). Some sort of loop depending on when the user chooses to quit? (User may want to simply encode then decode then return to decoding. Part of your grade is to allow a workable interface from the user’s standpoint) 4. Quit the program. Morse Code is: "A" .- "N" -. "1" .---- "B" -... "O" --- "2" ..--- "C" -.-. "P" .--. "3" ...-- "D" -.. "Q"

Answers

Answer 1

Answer:

public class TestMorseConverter

{

   public static void main (String[] args)

   {

       MorseConverter converter = new MorseConverter();

       String englishPhrase = "To be or not to be that is the question";

       String morsePhrase = converter.englishToMorse(englishPhrase);

       System.out.println(morsePhrase);

       System.out.println(converter.morseToEnglish(morsePhrase));

       

   }

}

Explanation:


Related Questions

Jim has downloaded, installed, and is running too many programs simultaneously. At what pace will his computer be performing?
Jim's computer's pace will become
.

Answers

Answer:

Jim's computer will be performing at a slow pace

Explanation:

When you have too many programs open in the background, they eat up your cpu and core memory, causing your PC to lag. Jim's computer is likely to experience lag if he's running a bunch of programs at the same time.

Computer networks make setting appointments easier by _____.

telephoning attendees
sending out invitations
reassigning tasks to enable attendance
sending electronic reminders
providing a common calendar

Answers

Probably providing a common calendar

Answer:

The correct answer is: "Computer networks make setting appointments easier by sending electronic reminders".

Explanation:

This is a feature almost all computer networks have, and if not there are still applications and plugins for that. These networks schedule, organize and set appointments and others according to the calendar, weeks, days, time, and working plan. Their reminders depend on the ones previously chosen, such as by email notifications, system's alarm, networks' events, mobiles' agenda, among others.

JavaScript is the same thing as Java?

Answers

Not really, because Java is an OOP programming language and JavaScript is an OOP scripting language.

Hope I helped!

~Mshcmindy

Key differences between Java and JavaScript: Java is an OOP programming language while Java Script is an OOP scripting language. Java creates applications that run in a virtual machine or browser while JavaScript code is run on a browser only. Java code needs to be compiled while JavaScript code are all in text.

A computer professional who has access to sensitive information shares this information with a third party. Which professional code of conduct did the person violate?A.
diligence in service
B.
company discipline norms
C.
confidentiality of information
D.
conflict of interest

Answers

The correct answer is c

The correct answer is C. Confidentiality of information

Explanation:

The Confidentiality of information is a principle of ethical and professional code that implies sensitive information of clients or others is protected appropriately and therefore is not shared with a third party or used for other purposes. In the case presented, the computer professional violated this principle because he had sensitive information and he shared it with a third party which means the information of other people was not protected appropriately which is against ethics because this information can be used maliciously.

Which team behavioral characteristic helps team members to freely express ideas and foster approachability?
A.
communication
B.
spirit of appreciation
C.
leadership
D.
respect

Answers

Answer: Communication

Explanation:

g Your task is to provide the three classes: AppendUndoModel1, AppendUndoView1, and AppendUndoController1 so that they implement the corresponding interfaces. The easiest way to get started is to copy the DemoModel1.java, DemoView1.java, and DemoController1.java files from the DemoGUI3 project into the src directory of the AppendUndoGUI project, rename them appropriately, and then edit them until all compiler errors are gone and their behavior matches the corresponding interfaces. Note: if you cannot get everything compiling and/or working it is OK. You will get a chance to complete this task in lab with help from the instructors. However, you should try to get as far as you can on your own.

Answers

Answer:

Hey Bro! Have any of your question got deleted? Every time I post a question my questions get deleted. Do you know why?

Explanation:

someone who protects valuable online information, like phone numbers and passwords would be considered​

Answers

Answer: i believe a digital citizen

i am not 100% sure about that answer but i reaserached a little and thats what i found :)

I hope this helps u out a little a thank and a brainlist would be greatly appreciatecd :)

To gain experience of using and combing different sorting algorithms: election sort, insertion sort, merge sort, and quick sort. Project Description It is a written assignment, you just need to submit a text file in txt, or docx or pfd format and don't have to submit your testing codes. For the following array x [10] = { 45, 20, 50, 30, 80, 10, 60, 70, 40, 90} show the contents of x after the function call split Pos = split(x, 0, 9) is executed, and give the value of the array index splitPos (the first is the pivot). ( 10 points) Modify quicksort() to incorporate this modification: In quicksort, we do not splitting sublists further when they have fewer than LOWER_BOUND elements for some constant LOWER_BOUND. When execution of the quicksort algorithm terminates, simply sort the whole list using insertion sort. (15 points) Use the similar diagram as

Answers

Answer:

Motivation? The search problem.

Sorting algorithms: insertion sort, shellsort, heapsort, mergesort, quicksort, bubblesort

At the very least, "general purpose" sorting algorithms require O(n log n) comparisons

Explanation:

For the following number, identify the numbering system used:

1 1101

Then explain what other numbering system a programmer might want to use and why

Answers

Answer:

Binary (base 2)

Explanation:

Another numbering system might be the hexadecimal system (base 16), for ease of representing long binary numbers, since it's easy to convert from hex to binary.

For instance, the 16 digit binary number 1111 0000 1011 1010 can be simply expressed as a 4 digit hexadecimal number F0BA, by doing the following quick math:

1111 (base 2) = 15 (base 10) = F (base 16)

0000 (base 2) = 0 (base 10) = 0 (base 16)

1011 (base 2) = 11 (base 10) = B (base 16)

1010 (base 2) = 10 (base 10) = A (base 16)

People usually append 0x at the front to indicate hex format, eg 0xFOBA.

Other Questions
Help please!Find the area of the trapezoid. Leave your answer in the simplest radical form. The figure is not drawn to scale. WHAT DO YOU WANT (REALLY, REALLY WANT) OUT OF YOUR COLLEGE EDUCATION?which statement identifies the central idea of the text? Laura and Lisa are mothers of two children from the same school. Once home, the kids narrate their experiences at school. Laura corrects her child as she narrates her experience. Lisa on the other hand listens attentively and shows her interest using a few terms . Which parent is involved in active listening?is involved in active listening. An atomic nucleus is composed of A)protons. B)protons and neutrons. C)protons and electrons. D)protons, neutrons, and electrons. Why did many Americans fear Communism?O A. They believed that Communists wanted to take over America.O B. They thought that Communists would start another world war.OC. They were afraid that Communists would take over all the jobs.O D. They were afraid that Communists would buy up American farms. What number is 1/64 of 640? The sum of the lengths of two opposite sides of the circumscribed quadrilateral is 12 cm, the length of a radius of the circle is 2 cm. Find the area of the quadrilateral. Which equation represents the hyperbola in general form? ABE is a triangle. can you use the sss postulate or the sas postulate to prove triangle ABC is congruent to triangle AED?1. Both apply 2. By SSS only 3.By SAS only 4. Neither apply PLEASE HELP!!!! ): PLEASE!!!If a person runs around a track that is in the shape of a circle at 5 m/s without speeding up or slowing down, explain how they are accelerating even though they are not changing speed. (Be sure to write a full sentence) Body-mass index, or BMI, takes both weight and height into account when assessing whether an individual is underweight or overweight. BMI varies directly as one's weight, in pounds, and inversely as the square of one's height, in inches. In adults, normal values for the BMI are between 20 and 25, inclusive. Values below 20 indicate that an individual is underweight and values above 25 indicate that an individual is overweight. A person who weighs 180 pounds and is 5 feet, or 60 inches, tall has a BMI of 35.15. Use the four-step procedure for solving variations to determine what the BMI is, to the nearest tenth, for a 210-pound person who is 5 feet 5 inches tall. Is this person underweight, normal, or overweight? What is the BMI of a 210-pound person who is 5 feet 5 inches tall? Which evidence best supports this counterclaim?To be healthier, people should avoid sodas and snacksmade with sugar.OA. Vegetables and fruit smoothies can taste as good as sugarysnacks.oB. A trip to the grocery store shows that sugary snacks often costmore money than healthful foods.OC. Dentists cite a sugary diet as one of the primary causes of toothdecay0D. Studies show that students reach for sugary snacks when they'retired. Based on the molecular data, which species is most closely related to humans A) Lemur Catta( lemur) B) Hypobates lar (gibbon) C) Gorilla gorilla (gorilla) D) Macaca Mulatta (Rhesus Monkey) thinking is hard work. gerund or gerund phrasenoun function What is a non-renewable resource?A resource that is found in forests.A resource that must be mined.A resource that can be replenished faster than it runs out.A resource that does not replenish itself faster than it is being used. Decomposers break down dead plant and animal materials. What happens next? What does the constitution say about the president removal power mrs. West took her class on a field trip to the museum cost of admission for the girls was $90 and the cost of admission for the boys who $75 each ticket cost the same amount what is the cost of each ticket What is the solute and solvent in an aqueous solution made from sugar and water? 1. Which of the following was not a provision of the National Energy Act?A. taxed low-mile-per-gallon automobilesB. removed priced controls on domestic oil and natural gas productionC. extended tax credits for the development of alternative energyD. required automobile manufacturers to ration gas2. Which factor was not a consequence of urban flight post-World War II?A. suburbanization of the United StatesB. movement of industries and jobs to suburbsC. decaying housing in citiesD. decreasing crime rates in cities3. Whose administration included more African Americans and women than any previous administration?A. Jimmy CarterB. Gerald FordC. neither Carter nor FordD. both Ford and Carter4. Which of the following did not make it easier for people to telecommute?A. cell phonesB. high-definition televisionsC. the InternetD. fax machines5. Why was there a need for the Telecommunications Act of 1996?A. media mergersB. to allow the free market to thriveC. advances in communications technologyD. to ban indecent material from the Internet6.Which was not a cause of the failure of many dotcoms?A.hard-to-use websitesB.inadequate advertisingC.lack of investmentD.corporate downsizing