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

Other questions on the subject: Computers and Technology

image
Computers and Technology, 21.06.2019 20:30, carter4026
Write 150 words on what kind of website would you like to make in the future? what sites would you like to model yours after?
Answers: 2
image
Computers and Technology, 22.06.2019 10:00, hailee232
What is a society that has moved to the internet rather than relying on physical media called
Answers: 2
image
Computers and Technology, 23.06.2019 00:30, devenybates
Which one of the following is the most accurate definition of technology? a electronic tools that improve functionality b electronic tools that provide entertainment or practical value c any type of tool that serves a practical function d any type of tool that enhances communication
Answers: 1
image
Computers and Technology, 23.06.2019 13:00, dimondqueen511
Which one of the following voltages should never be measured directly with a vom? a. 1200 v b. 500 v c. 800 v d. 100v
Answers: 2
You know the right answer?
Last assignment prompt: Create a HashMap class that allows you to store and retrieve exoplanet infor...

Questions in other subjects:

Konu
Social Studies, 26.02.2021 08:20
Konu
History, 26.02.2021 08:20
Konu
Business, 26.02.2021 08:20
Konu
Health, 26.02.2021 08:20
Konu
Mathematics, 26.02.2021 08:20