Morse code encryption-decryption program

Assignment Help Business Management
Reference no: EM132194587

Morse Code Encryption/Decryption Program

Develop and test a Python program that allows a user to open a text file containing a simple message using only the (uppercase) letters A . . . Z, and saves a Morse code version of the message, that is, containing only the characters dash ('' - ''), dot ('' . ''). In the encoded version, put the encoding of each character on its own line in the text file. Use a blank line to indicate the end of a word, and two blank lines to indicate the end of a sentence. your program should be able to both convert an English message file into Morse code, and Morse code file into English. The Morse code for each letter is given below.

A . _ N _ .

B _ . . . O _ _ _

C _ . _ . P . _ _ .

D _ . . Q _ _ . _

E . R . _ .

F . . _ . S . . .

G _ _ . T _

H . . . . U . . _

I . . V . . . _

J . _ _ _ W . _ _

K _ . _ X _ . . _

L . _ . . Y _ . _ _

M _ _ Z _ _ . .

Reference no: EM132194587

Questions Cloud

Write the problem solving methodology of top down approach : Write the pseudocode for the following problem ( importantMsg ). Write the problem solving methodology of top down approach , iterative refinement .
What is the radius of curvature of the track : Consider a roller coaster as it travels near the bottom of its track as sketched in the figure below. At this point, the normal force on the roller coaster.
How many different strings over the alphabet : How many different strings over the alphabet {a,b,c} have length 6 and exactly one b? Be sure to show your work.
Is it possible to drag crate with a horizontal acceleration : You attach a rope to a 50 kg crate and use it to drag the crate across the floor. At the point where the rope is attached to the crate it makes an angle.
Morse code encryption-decryption program : Develop and test a Python program that allows a user to open a text file containing a simple message using only the (uppercase) letters A
Write a c function that computes the length of a string : Write a C function that computes the length of a string. Use the following function declaration int length(const char *str).
Computes and returns the product of an arrays elements : Write a C function multiply that computes and returns the product of an arrays elements. The array should contain elements of type int.
What is the velocity at the bottom of the hill : A pallet of bricks of mass 127 kg, slides down a hill that is 5 meters high and 6 meters long. At an angle of 27 deg. against a force of friction that is 13 N.
What is the tension in each of the two cables : A helicopter is lifting two crates simultaneously. One crate with a mass of 289 kg is attached to the helicopter by a cable.

Reviews

Write a Review

Business Management Questions & Answers

  Organizational psychologyexamine the field of

organizational psychologyexamine the field of organizational psychology. in your examination be sure to address the

  Example of trade union involvement in bargaining

Please use an example of trade union involvement in bargaining to illustrate your answer.

  Installation of a human resource information systems

Implementing and maintaining phases of the installation of a Human Resource Information Systems and or Human Resource Management System that will be great.

  Sport management curricula play in the development

What role might sport management curricula play in the development, growth, and acceptance of sales as a legitimate area of study? How is the industry driving?

  Substitution effect in response to a price change

When preferences are in perfectly fixed proportions (perfect complements) there is no substitution effect in response to a price change.

  Culture-diversity and leadership

The workplace is becoming more culturally diverse. It is important for leaders to understand and manage the differences in workplace culture and diversity.

  Situation that occurs when a persons values are in conflict

a situation that occurs when a person's values are in conflict, making it unclear whether a decision is the right thing to do?

  Specifying a probability distribution on an appropriate set

Model the situation by specifying a probability distribution on an appropriate set of type proles and describe each player's beliefs for each possible realization of his/her type. Are the players' type independent?

  Explain business located in state involved in lawsuit

Use the Internet to study the situation where the business located in state was involved in lawsuit(or draw from your own experience if you have been so unfortunate).

  Encourage creativity in a work environment

Discuss the positive factors that encourage creativity in a work environment.

  Determine the company resources and capabilities

Determine the company's resources, capabilities, and core competencies. Analyze the company's value chain to determine where they can create value using the resources, capabilities, and core competencies discussed above

  Problem regarding the diversity and multiculturalism

Conclude your paper by discussing how society views the social problem that you wrote about.  In addition, discuss your role as an advocate.   How can you work to create awareness and teach others about diversity and multiculturalism?

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd