We are hired to implement an interactive dictionary. Our dictionary takes input from users and uses...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
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 enum objects into our dictionary's data structure. User Interface: A program interface allows users to input search keys and displays returned results. Our program searches the dictionary's data (not the enum objects) 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 run: Search: csc220 ! 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 clas. CSC340 [noun) : Programming Methodology. 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. .. Search: csc340 noun distinct Placeholder [noun] : To be updated... Placeholder [noun] : To be updated... CSC340 [noun] : A CS upper division course. CSC340 [noun] : Many hours outside of class. csc340 [noun) : Programming Methodology. Placeholder [noun) : To be updated... Placeholder [preposition] : To be updated... Placeholder [pronoun] : To be updated... Placeholder [verb] : To be updated... Search: Facebook <Not found> Search: pLACEholder distinct Search: verb Placeholder [adjective) : To be updated... Placeholder [adverb] : To be updated... Verb [noun] : Verb is a word or group of words that expresses Placeholder [conjunction] : To be updated... Placeholder [interjection] : To be updated... Search: verb verb Placeholder [noun) : To be updated... Placeholder [preposition] : To be updated... <Not found> Placeholder [pronoun] : To be updated... Placeholder [verb) : To be updated... Search: verb noun Search: pLaCEholder noun Verb [noun] : Verb is a word or group of words that expresses Placeholder [noun] : To be updated... Search: !q Placeholder (noun) : To be updated... Placeholder [noun) : To be updated... -----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 <2nd argument must be a part of speech or "distinct"> 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 enum objects into our dictionary's data structure. User Interface: A program interface allows users to input search keys and displays returned results. Our program searches the dictionary's data (not the enum objects) 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 run: Search: csc220 ! 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 clas. CSC340 [noun) : Programming Methodology. 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. .. Search: csc340 noun distinct Placeholder [noun] : To be updated... Placeholder [noun] : To be updated... CSC340 [noun] : A CS upper division course. CSC340 [noun] : Many hours outside of class. csc340 [noun) : Programming Methodology. Placeholder [noun) : To be updated... Placeholder [preposition] : To be updated... Placeholder [pronoun] : To be updated... Placeholder [verb] : To be updated... Search: Facebook <Not found> Search: pLACEholder distinct Search: verb Placeholder [adjective) : To be updated... Placeholder [adverb] : To be updated... Verb [noun] : Verb is a word or group of words that expresses Placeholder [conjunction] : To be updated... Placeholder [interjection] : To be updated... Search: verb verb Placeholder [noun) : To be updated... Placeholder [preposition] : To be updated... <Not found> Placeholder [pronoun] : To be updated... Placeholder [verb) : To be updated... Search: verb noun Search: pLaCEholder noun Verb [noun] : Verb is a word or group of words that expresses Placeholder [noun] : To be updated... Search: !q Placeholder (noun) : To be updated... Placeholder [noun) : To be updated... -----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 <2nd argument must be a part of speech or "distinct"> 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.
Expert Answer:
Answer rating: 100% (QA)
package comcapiot import javautil public class Search create enum for all the parts of speech enum Speech ADJECTIVE Placeholder adjective To be updated ADVERB Placeholder adverb To be updated CONJUNCT... View the full answer
Related Book For
Macroeconomics
ISBN: 978-1464168505
5th Canadian Edition
Authors: N. Gregory Mankiw, William M. Scarth
Posted Date:
Students also viewed these programming questions
-
In a set of experiments on a hypothetical one-electron atom, you measure the wavelengths of the photons emitted from transitions ending in the ground state (n = I), as shown in the energy level...
-
In a set of 36 months of data for medical leave that has a mean of 12 days per month and a standard deviation of 4.24, how many months are expected to have fewer than 16.24 days per month reported...
-
In a set of 100 ACT scores that are normally distributed and with a mean of 23 and standard deviation of 4.69, (a) How many scores are expected to be lower than 18.31 (one standard deviation below...
-
CORPORATE FINANCE- RISK MANAGEMENT You manage a Swedish company that produces hats. You source your textiles mainly from Poland. The next input delivery from Poland is coming in three months. The...
-
Your firm is contemplating the purchase of a new $410,000 computer-based order entry system. The system will be depreciated straight-line to zero over its five-year life. It will be worth $30,000 at...
-
In Fig. Q9.4, all points on the chain have the same linear speed. Is the magnitude of the linear acceleration also the same for all points on the chain? How are the angular accelerations of the two...
-
On April 4, 2014, Athanasios Valsamis lost his appeal to get his money back from a friend to whom he had loaned \($700,000.\) As you will read, this case underscores the consequence of failing to...
-
(Entries for Zero-Interest-Bearing Note) On December 31, 2010, Faital Company acquired a computer from Plato Corporation by issuing a $600,000 zero-interest-bearing note, payable in full on December...
-
Levinn's utility function is expressed as the following: U= C1 C2 0.3 where C1 is his first period consumption and C2 is his second period consumption. His income in the first period is $2500 and...
-
Draw a decision tree for the problem of deciding whether to move forward at a road intersection, given that the light has just turned green.
-
There are two questions related to Trade Regulations and Industrial Policies 1. Has industrial policy contributed significantly to Japan's economic growth? 2. Explain how advocates of strategic trade...
-
Resistors are assigned a power rating. If the power rating is exceeded significantly, the resistor will overheat and crack. Suppose you have a 8 k , 0.3 watt resistor. What is the maximum voltage it...
-
Extractive industries have sustainable development potential. They may contribute to employment in remote and depressed areas and to a country's economic growth. Yet, they have also:In their book,...
-
What advantages from a knowledge and understanding of urban economics would accrue to your university or organization from your use of theoretical constructs learned since enrolling in Methods of...
-
At the end of the 2007-2008 football season, 38 Super Bowl games had been played with the current two football leagues, the American Football Conference (AFC ) and the National Football Conference...
-
The weight of the pendulum of an impact tester is 45 lb, and thelength of the pendulum arm is 32 in. If the arm is horizontalbefore striking the specimen, what is the potential energy of thetester?...
-
You finance the purchase of a $104,880 Porsche 911 Carrera Coupe for $1,199 per month for 36 months plus $7,199 down today and an additional final payment of $65,025.60 at the end of the 36 months....
-
Suppose that A is an m n matrix with linearly independent columns and the linear system LS(A, b) is consistent. Show that this system has a unique solution.
-
Use the dynamic ADAS model to solve for inflation as a function of only lagged inflation and the supply and demand shocks. (Assume target inflation is a constant.) a. According to the equation you...
-
The U.S. money supply fell during the years 1929 to 1933 because both the currencydeposit ratio and the reservedeposit ratio increased. Use the model of the money supply and the data in Table 19-1 to...
-
Some commentators argue that when a financial firm is rescued by the government in the midst of a financial crisis, the firms equity holders should be wiped out, but the firms creditors should be...
-
Interview three heads of household, each from a household representing a different stage of the life cycle orsocioeconomic status. Inquire about their financial planning process and their strategies...
-
Jimmy, an accountant, and Bethany just returned from their honeymoon in the Bahamas. They celebrated their marriage and the completion of Bethany's M.B.A. program. They have been encouraged by their...
-
Review the six financial accomplishments that may result from studying personal finance. In your opinion, which three are most important? Why?
Study smarter with the SolutionInn App