Radford University Provide a Pseudo Code Comnputer Programming Task

Array Processing – Dictionary ProgramPseudo Code ONLY
NOTE:


Review the parallel array example from class
Another method of “Sequentially Searching an Array” is covered in the
book in Chapter 8.
Using Notepad, write psuedocode ONLY for the following situation.
Create and load an array with the following 7 values. Add one more word
(of your own choosing) for a total of 8 words.
wonky
vermilion
quixotic
oxymoron
jejune
hyperbole
capricious
Create a second array (parallel array). To hold the definitions to these
words. You will need to look up the definitions.
– Be sure to use lowercase, as shown above. This will make the processing
easier.
– Use an external .TXT file to load the words and the definitions into the
arrays (words.txt and definitions.txt).
Ask the user to enter a word
– Search through this array until you find a match with the word the user
entered.
– Once you find a match, output “Yes, that word is in the dictionary” and
output the definition.
– If you get to the end of the array and do NOT find a match, output “No,
that word is not in the dictionary”.
– The program should work with any set of words and definition in the
arrays. If I were to change the words and definitions in the arrays, it should
still work.
Raptor:


Using the psuedocode you created in (dictionary program), create a Raptor
version. With the following change.
Use .txt files to load the arrays. You MUST name the
files words.txt and definitions.txt.
You program should work with any list of words and definitions. In other
words, if I use my own .txt file instead of yours, the program should still
work.
Make sure that you test it thoroughly.
NOTE: It is best to create a small part of the code, test that and then move
on to the next piece. Do NOT try to code the entire program without testing
it along the way.
• Include logic that will ADD new words and definitions into the arrays if the
word is not in the dictionary. In other words, if there is no match, tell the user
that word in not in the dictionary, then ask them if they want to add the word.
If they say yes, ask them for the definition.
HINT: redirect_input_APPEND allows you to add records on to the end of
an existing file.

Save Time On Research and Writing
Hire a Pro to Write You a 100% Plagiarism-Free Paper.
Get My Paper
Still stressed from student homework?
Get quality assistance from academic writers!

Order your essay today and save 25% with the discount code LAVENDER