Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Read carefully the case study and the instructions that follows. CASE STUDY: OurSecurity Sdn. Bhd. has appointed you as their new system security developer. Your

image text in transcribed

Read carefully the case study and the instructions that follows. CASE STUDY: OurSecurity Sdn. Bhd. has appointed you as their new system security developer. Your first task is to code a new Java program that implements your teammates' new encryption procedures/steps. The encryption steps are as follows: Step 1: The program will ask the user to enter a text via console. Convert all the characters to lower case. Meet me at 10AM meet me at 10am Step 2: Swap all the vowels in the text using the following rules: a. Swap 'd' with ' b. Swape with 'a' c. Swap'i with d. Swap 'o' with e. Swap 'u' with 'd meet me at 10am maat ma ut 10um Step 3 Inverse the swapped text without inverting the words. maat maut 10um 10um ma maat Step 4 : Replace all alphabets and numbers in the inversed text with Morse Code alphabet using the following setting: H.... R.. F... P. Z-.. 1.. S... J. T- O- A. B -... D-.. E. K- L... M- N- U. V. W. X-.. Y 1.- 2.. 2...3...- 4..... 5..... 7--... 8-9--0----- Q- 6. Note: in Morse Code, each alphabet is separated by one (1) white space and each word is separated by two (2) white spaces. Step 4: The program will display the final encrypted message. (Note: represent empty space) QUESTION 2: In one (1) Java file, write a program implementing all the five (5) classes and their methods mentioned in Question 1. The body of each method is based on the encryption steps given in the case study. The implementation must include suitable control and data structure. But you are not restricted to the one discussed in class. The program must also have proper documentation/comments explaining key point of your program. This will assist with the code readability and tracing. The program will be graded based on correctness, program logic, implementation of control and data structure and documentations. (80 marks) 3 Example of expected output: Please enter a text Encrypted text : Meet me at 10AM : Do you want to try again? Press y orn: y Please enter a text Encrypted text : 123456 : .-..--- ..... .... Do you want to try again? Press y or n:n

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Modern Database Management

Authors: Jeffrey A. Hoffer Fred R. McFadden

4th Edition

0805360476, 978-0805360479

More Books

Students also viewed these Databases questions