subject

Last assignment prompt: Create a HashMap class that allows you to store and retrieve exoplanet information. For this program, you will need to write a driver file that allows the user to perform a search. You will have access to a file that contains information about exoplanets. An exoplanet is a planet that orbits a star outside our solar system. This database from NASA contains almost 30,000 such planets. Since we have limited time, I want you to pick one search category that the user can perform through your code from the list below. Your driver code should ask the user for a search word or value (depending on the search topic you chose), and then use your HashMap class to find it or them (some searches should return more than one result). 1. Search for and display results found with a particular “discovery method”. For example, display all planets that used “Imaging” as the discovery method 2. Be able to search for planets by the number of planets in the system 3. Search for planets by effective temperature 4. Search for a planet by name 5. Search by number of stars in system 6. Search by year exoplanet was discovered HINTS: 1. You will need to read from a csv file. Comma separated file (each entry is separated with a comma). You can use getline with a ',' as the delimiter 2. Create a class to hold an exoplanets information (Planet class) 3. Create RecordType with the planet info as the record and the second variable in this type should be a key (int type). You may need to write code that will generate the key.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 22:00
What operating system is a smartphone most likely to use? 1.bsd 2.mac os x 3.symbian 4.linux
Answers: 1
question
Computers and Technology, 22.06.2019 10:00
Wich technology can a website use to allow you to listen to a concert live over the internet?
Answers: 3
question
Computers and Technology, 22.06.2019 11:30
Hassan is writing his master’s thesis, which is a thirty-page document. he received some feedback from his professor in the form of comments, but does not see where the comments are. what is the fastest way for hassan to find the feedback?
Answers: 3
question
Computers and Technology, 22.06.2019 14:30
Hi plz 11 ! when planning a table, what step comes first: "define the column headers" or "calculate the number of columns/rows"? a. calculate the number of columns/rows b. define the column headers
Answers: 1
You know the right answer?
Last assignment prompt: Create a HashMap class that allows you to store and retrieve exoplanet infor...
Questions
question
Mathematics, 23.07.2019 14:00
Questions on the website: 13722363