Question: CASE STUDY : OurSccurity Sdn. Bhd, has appointed you as their new system security developer. Your first task is to code a new Java program
CASE STUDY : OurSccurity 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 /0AM > meet me at /0am Step 2: Swap all the vowels in the text using the following rules: la. Swap 'a' with 'u' b. Swap 'e with 'a C. Swap '7 with 'el d. Swap 'o' with 'i Swap 'u' with 'o' meet me at 10am > maat ma ut 10um Stop 3 : Inverse the swapped text without inverting the words. maat ma ut 10um > 10um ma maat Stop 4 Replace all alphabets and numbers in the inversed text with Morse Code alphabet using the following setting: B- L V ...- 2..-- C-. M W. -- 3 ..- 8 D-. N- X-..- F G--. Q- R.- 9 0 - Y -. 5 .... 0 F... P.-. Z-- 5 me 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. ? 34C
3 / 4 100% + 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
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
