Design a modular no global variables or constants program th
Design a modular (no global variables or constants) program that allows the user to enter 20 names into a string array. Sort the array in ascending alphabetical order and displays its contents. Then modify the Sorted Names Program that you wrote so it allows you to search arrray for a specific name.
Additional program requirements: • Program functionality should execute as follows: o Create an array of 10 names that is initially populated with values. The pseudocode format for this array is given below:Declare String names[10] = “Ross Harrison”, “Hannah Beauregard”, “Bob White”, “Ava Fischer”, “Chris Rich”, “Xavier Adams”, “Sasha Ricci”, “Danielle Porter”, “Gordon Pike”, “Matt Hoyle”
o Sort the array of 10 names in ascending (a to z) order using either the Bubble, Selection, or Insertion Sort algorithms. The names will be sorted by first and last name together (NOTE: Do not parse out the last name and sort by last name.) o Display the sorted list of names to the user with a descriptive message. o Prompt the user to enter a name to search and use the search name to determine if it is in the array of names. o If the name is found in the list, identify the ordered number (in the array) of the user requested name. If the name is not found in the list, display an error message indicating the name is not in the list. o Include a modular approach: no global variables, use parameters and return values to transfer data between modules and functions. • Include and use modules (at least) to do the following: o Main controlling start module to create variables, call sort and display modules, prompt for search name, call search function and display search results o Sort names array. o Display the names array • Include and use a function (at least) to do the following: o Search the names array for a given name and return the index of found, -1 otherwise. Use either the Linear Search or the Binary Search algorithms in your solution.
a) Use a software application to create the PSEUDOCODE (NOT JUST A COPY OF PYTHON CODE... ACTUAL PSEUDOCODE)
b) Create the Python source code that represents the pseudocode requirements from the previous step. The Python source code must have the following for full credit: •Program header comments that includes short problem description • End of program comments that include output from sample program run.
Solution
Sorting of Array:-
Searching of String :-
Input String :- \"Hello this Is an Example With cased letters\"

