Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

I need help with a program that will sort names search for names and search for

ID: 3539026 • Letter: I

Question

I need help with a program that will sort names search for names and search for phone numbers. 20 names

The program should utilize modules and or functions should be include A message module that explains to the user the purpose of the program. An input module that loads the names into array. A sorting module or function that puts names into alphabetical order. A module that searches for a partical name.

As far as the phone number uses parallel arrays to input name and phone number. sort both array to do a number look up. Use the binary search to locate the phone number. For either version: Include functionality to store the array data in a file before exiting the program.

Modify user input functionality to permit the user to determine how many names will be input (partially filled array) Include search functionality that permits a partial values to be entered

I need this in pseudocode I DO NOT NEED PYTHON JAVA OR C++

Explanation / Answer

Just some tips: For the part that aloows user to determine how many names will be input you can dynamically allocate memory at run time, but also remember to unallocate that memory at the end of your program. This means to create a chunk of memory for the program to use based upon the number of entries the user has chosen.

Parallel arrays means to have an array with different field (Name and number in this case). Refer to wikipedia for more information about that: http://en.wikipedia.org/wiki/Parallel_array

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote