INFO 101 – Homework 2 (Morse Code) Write a program that asks the user for a string. Using the audio files in this folder, play the appropriate file for each character of the string. For example, if...

Write a program that asks the user for a string. Using the audio files in this folder, play the appropriate file for each character of the string. For example, if the user enters Hello, the program will play the h file, the e file, the l file twice, and the o file


INFO 101 – Homework 2 (Morse Code) Write a program that asks the user for a string. Using the audio files in this folder, play the appropriate file for each character of the string. For example, if the user enters Hello, the program will play the h file, the e file, the l file twice, and the o file. I demonstrated what the program does in class using the if statement method. DO NOT use this method. Instead, do the following: · Import the library to process the sound · Lists · Make a list of all the letters, digits, the period, the comma, and the question mark. · Make a list of all the file names · Make these lists in two other modules and import the lists into the main program · Loop · Use a loop to process each character · Enter the string to convert to Morse Code · Process the string (Play the sound) Due date is Friday, October 15. RUBRIC Homework 2 - Morse Code Points Is there a main function?   Yes (5) 5 Does the program begin in main?   Yes(5) 5 Are the results correct?   Yes (15) 15 Did you make two other modules?   Yes (20) 10 for each module 20 Did you import the lists from the modules? Yes (20) 10 pts for each list 20 Did you use a loop?   Yes (10) 10 Is standard variable naming used?   Yes (5) 5 Are all errors handled?   Yes (30) max of 3 @ 10 pts. each 30 Did you include a comment header?   Yes (5) 5 Did you include comments throughout?   Yes (10) 10 Is the code written neatly?   Yes (5) 5 2 Morse Code For Homework 2/,_file.wav Morse Code For Homework 2/._file.wav Morse Code For Homework 2/0_file.wav Morse Code For Homework 2/1_file.wav Morse Code For Homework 2/2_file.wav Morse Code For Homework 2/3_file.wav Morse Code For Homework 2/4_file.wav Morse Code For Homework 2/5_file.wav Morse Code For Homework 2/6_file.wav Morse Code For Homework 2/7_file.wav Morse Code For Homework 2/8_file.wav Morse Code For Homework 2/9_file.wav Morse Code For Homework 2/a_file.wav Morse Code For Homework 2/b_file.wav Morse Code For Homework 2/c_file.wav Morse Code For Homework 2/d_file.wav Morse Code For Homework 2/e_file.wav Morse Code For Homework 2/f_file.wav Morse Code For Homework 2/g_file.wav Morse Code For Homework 2/h_file.wav Morse Code For Homework 2/Homework 2 - Morse Code.docx INFO 101 – Homework 2 (Morse Code) Write a program that asks the user for a string. Using the audio files in this folder, play the appropriate file for each character of the string. For example, if the user enters Hello, the program will play the h file, the e file, the l file twice, and the o file. I demonstrated what the program does in class using the if statement method. DO NOT use this method. Instead, do the following: · Import the library to process the sound · Lists · Make a list of all the letters, digits, the period, the comma, and the question mark. · Make a list of all the file names · Make these lists in two other modules and import the lists into the main program · Enter the string to convert to Morse Code · Process the string (Play the sound) Due date is Friday, October 15. RUBRIC Homework 2 - Morse Code Points Is there a main function?   Yes (5) 5 Does the program begin in main?   Yes(5) 5 Are the results correct?   Yes (15) 15 Did you make two other modules?   Yes (20) 10 for each module 20 Did you import the lists from the modules? Yes (20) 10 pts for each list 20 Did you use a loop?   Yes (10) 10 Is standard variable naming used?   Yes (5) 5 Are all errors handled?   Yes (30) max of 3 @ 10 pts. each 30 Did you include a comment header?   Yes (5) 5 Did you include comments throughout?   Yes (10) 10 Is the code written neatly?   Yes (5) 5 2 Morse Code For Homework 2/i_file.wav Morse Code For Homework 2/j_file.wav Morse Code For Homework 2/k_file.wav Morse Code For Homework 2/l_file.wav Morse Code For Homework 2/m_file.wav Morse Code For Homework 2/n_file.wav Morse Code For Homework 2/o_file.wav Morse Code For Homework 2/p_file.wav Morse Code For Homework 2/q_file.wav Morse Code For Homework 2/question_file.wav Morse Code For Homework 2/r_file.wav Morse Code For Homework 2/s_file.wav Morse Code For Homework 2/t_file.wav Morse Code For Homework 2/u_file.wav Morse Code For Homework 2/v_file.wav Morse Code For Homework 2/w_file.wav Morse Code For Homework 2/x_file.wav Morse Code For Homework 2/y_file.wav Morse Code For Homework 2/z_file.wav
Nov 03, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here