Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please don't copy code from other Chegg answers (ironic). Thank you We are hired to implement an interactive dictionary. Our dictionary takes input from users

Please don't copy code from other Chegg answers (ironic).

Thank you

image text in transcribed

image text in transcribed

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, https://en.wikipedia.org/wiki/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 dictionary's data. Data Loading: When our program starts, it loads all the original data from the Data Source into our dictionary's data structure. Data Loading must finish before our program starts interacting with users. User Interface: A program interface allows users to input search keys. This interface then displays returned results. Our program searches the dictionary's data (not the Data Source) for values associated with the search keys. Identical Output: Our program's output must be identical to the complete sample run's output. The complete output is at: http://csc340.ducta.net/Assignments/Assignment-01-PartB-SampleOutput.pdf - - - - - - Search: csc220 un: !Loading data... ! Loading completed... CSC220 [adjective] Ready to create complex data structures CSC220 [noun]Data Structures CSC220 verb]: To create data structures -DICTIONARY 340 JAVA- Search: csc340 Search: pLacehoLder CSC340 [adjective] : C++ version of CSC210 + CSC220 + more CSC340 [noun] : A Cs upper division course CSC340 noun Many hours outside of class CSC340 [noun] Programming Methodology Placeholder [adjectivel: 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: csc340 noun distinct CSC340 [noun A CS upper division course CSC340 [noun]Many hours outside of class CSC340 [noun] Programming Methodology Search: Facebook Search: pLACEholder distinct Search: verb Placeholder [adjectivel To be updated... Placeholder [adverbTo be updated. .. Placeholder [conjunction]: To be updated... Placeholder [interjectionTo be updated... Placeholder [noun] To be updated... Placeholder [preposition] To be updated... Placeholder pronoun To be updated. .. Placeholder verb] To be updated... Verb [noun] Verb is a word or group of words that expresses Search: verb verb Search: verb noun Search: pLaCEholder noun Verb [noun] Verb is a word or qgroup of words that expresses Placeholder [noun] : To be updated... Placeholder [noun] To be updated... Placeholder [noun] : To be updated... Search: !q -THANK YOU 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 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, https://en.wikipedia.org/wiki/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 dictionary's data. Data Loading: When our program starts, it loads all the original data from the Data Source into our dictionary's data structure. Data Loading must finish before our program starts interacting with users. User Interface: A program interface allows users to input search keys. This interface then displays returned results. Our program searches the dictionary's data (not the Data Source) for values associated with the search keys. Identical Output: Our program's output must be identical to the complete sample run's output. The complete output is at: http://csc340.ducta.net/Assignments/Assignment-01-PartB-SampleOutput.pdf - - - - - - Search: csc220 un: !Loading data... ! Loading completed... CSC220 [adjective] Ready to create complex data structures CSC220 [noun]Data Structures CSC220 verb]: To create data structures -DICTIONARY 340 JAVA- Search: csc340 Search: pLacehoLder CSC340 [adjective] : C++ version of CSC210 + CSC220 + more CSC340 [noun] : A Cs upper division course CSC340 noun Many hours outside of class CSC340 [noun] Programming Methodology Placeholder [adjectivel: 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: csc340 noun distinct CSC340 [noun A CS upper division course CSC340 [noun]Many hours outside of class CSC340 [noun] Programming Methodology Search: Facebook Search: pLACEholder distinct Search: verb Placeholder [adjectivel To be updated... Placeholder [adverbTo be updated. .. Placeholder [conjunction]: To be updated... Placeholder [interjectionTo be updated... Placeholder [noun] To be updated... Placeholder [preposition] To be updated... Placeholder pronoun To be updated. .. Placeholder verb] To be updated... Verb [noun] Verb is a word or group of words that expresses Search: verb verb Search: verb noun Search: pLaCEholder noun Verb [noun] Verb is a word or qgroup of words that expresses Placeholder [noun] : To be updated... Placeholder [noun] To be updated... Placeholder [noun] : To be updated... Search: !q -THANK YOU 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

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions