Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribedimage text in transcribedimage text in transcribed

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: 2 Swap all the vowels in the text using the following rules: a. Swap 'd' with ' b. Swap 'e' with a C. Swap 'with 'e d. Swap 'o' with 7 c. Swap 'u' with a meet me at 10am maat maut 10um Step 3: Inverse the swapped text without inverting the words. maar ma ut 10um 1 Oum ma maar Step 4 : Replace all alphabets and numbers in the inversed text with Morse Code alphabet using the following setting: A.- B - D. E. F... 1.. H.... R. P. S.. T- K- U.. M- W. N. X. V. 0 Y 5. Z-.. 2.. 8. 9- 0 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 1 : Table 1 : Class and methods Class Name Method In Class Input getInput() Swap getSwapo Inverse getInverse() MorseCode convert Morse Codec Purpose of the Method 1. Ask the user to enter a text 2. Return the original text 1. Receive the original text from the caller. 2. Swap all the vowels based on the setting given in the case study 3. Return the processed text 1. Receive the swapped text from the caller 2. Inverse the swapped text using the rule given in the case study 3. Return the inversed text 1. Receive the inversed text from the caller 2. Convert all alphabet and numeric to Morse Code alphabets 3. Return the final Morse Code text 1. The main class and method in the program 2. Call methods of other classes following the steps given in the case study 3. Display the final Morse Code text to console 4. Ask the user if they wish to try again or not. 5. If the user chooses to try again, restart from the first step. If not, the program will display "Thank you" and ends. Encrypt main() Using the information given in Table 1, draw a complete class diagram to represent the communication between the classes. Each method must include the possible parameter and return data type. (20 marks)

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

Database Modeling And Design

Authors: Toby J. Teorey, Sam S. Lightstone, Tom Nadeau, H.V. Jagadish

5th Edition

0123820200, 978-0123820204

More Books

Students also viewed these Databases questions

Question

Compare the current team to the ideal team.

Answered: 1 week ago

Question

R, = 100& C 424 11 JA = 220 Decade repstuner box switch power

Answered: 1 week ago

Question

1.Which are projected Teaching aids in advance learning system?

Answered: 1 week ago

Question

How do Excel Pivot Tables handle data from non OLAP databases?

Answered: 1 week ago