Question: We are hired to implement an interactive dictionary. Our dictionary takes input from users and uses the input as search key to look up values
We are hired to implement an interactive dictionary. Our dictionary takes input from users and uses the input as search key to look up values associated with the key.
Requirements:
Coding: No hard coding
Data Source: Store the original data in a set of enum objects. Each keyword, each part of speech, and each definition must be stored in a separate data field. Do not combine them such as storing three parts in one String.
Data Structure: Use existing data structure(s) or creating new data structure(s) to store our dictionarys data.
Data Loading: When our program starts, it loads all the original data from the enum objects into our dictionarys data structure.
User Interface: A program interface allows users to input search keys and displays returned results. Our program searches the dictionarys data (not the enum objects) for values associated with the search keys.
Identical Output: Our programs output must be identical to the complete sample runs output. The complete output is


! Loading data.. . ! Loading completed. . . DICTIONARY 340 JAVA-- Search: pLacehOLder Placeholder [adjective]: To be updated... Placeholder [adjective]: To be updated... Placeholder [adverb] : To be updated.. . Placeholder [conjunction] : To be updated.. . Placeholder [interjection] : To be updated. .. Placeholder [noun] : To be updated. . . Placeholder [noun] : To be updated. . . Placeholder [noun] : To be updated.. . Placeholder [preposition] : To be updated... Placeholder [pronoun] : To be updated.. Placeholder [verb]: To be updated. . . Search pLACEholder distinct Placeholder [adjective]: To be updated... Placeholder [adverb] : To be updated.. . Placeholder [conjunction] : To be updated.. . Placeholder [interjection] : To be updated. .. Placeholder [noun] : To be updated. . . Placeholder [preposition] : To be updated... Placeholder [pronoun] : To be updated.. Placeholder [verb]: To be updated.. . Search: pLaCEholder noun Placeholder [noun] : To be updated. . . Placeholder [noun] : To be updated. . . Placeholder [noun] : To be updated.. . Search placeholder noun distinct Placeholder [noun] : To be updated. . . Search: placeholder adjective Placeholder [adjective]: To be updated... Placeholder [adjective]: To be updated... Search: placeholder oops Search: csc210 CSC210 [adjective] : Comfortable with Objects and Classes CSC210 [adjective] : Ready for CSC 220 CSC210 [noun]Intro to Java CSC210 [verb] : To learn Java Search: csc220 CSC220 [adjective] : Ready to create complex data structures CSC220 [noun] : Data Structures CSC220 [verb] To create data structures Search: csc340 CSC340 [adjective] : - C++ version of CSC210 CSC220 more ! Loading data.. . ! Loading completed. . . DICTIONARY 340 JAVA-- Search: pLacehOLder Placeholder [adjective]: To be updated... Placeholder [adjective]: To be updated... Placeholder [adverb] : To be updated.. . Placeholder [conjunction] : To be updated.. . Placeholder [interjection] : To be updated. .. Placeholder [noun] : To be updated. . . Placeholder [noun] : To be updated. . . Placeholder [noun] : To be updated.. . Placeholder [preposition] : To be updated... Placeholder [pronoun] : To be updated.. Placeholder [verb]: To be updated. . . Search pLACEholder distinct Placeholder [adjective]: To be updated... Placeholder [adverb] : To be updated.. . Placeholder [conjunction] : To be updated.. . Placeholder [interjection] : To be updated. .. Placeholder [noun] : To be updated. . . Placeholder [preposition] : To be updated... Placeholder [pronoun] : To be updated.. Placeholder [verb]: To be updated.. . Search: pLaCEholder noun Placeholder [noun] : To be updated. . . Placeholder [noun] : To be updated. . . Placeholder [noun] : To be updated.. . Search placeholder noun distinct Placeholder [noun] : To be updated. . . Search: placeholder adjective Placeholder [adjective]: To be updated... Placeholder [adjective]: To be updated... Search: placeholder oops Search: csc210 CSC210 [adjective] : Comfortable with Objects and Classes CSC210 [adjective] : Ready for CSC 220 CSC210 [noun]Intro to Java CSC210 [verb] : To learn Java Search: csc220 CSC220 [adjective] : Ready to create complex data structures CSC220 [noun] : Data Structures CSC220 [verb] To create data structures Search: csc340 CSC340 [adjective] : - C++ version of CSC210 CSC220 more
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
