Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Assignment1C Attached Files: D. AssignmentiC.pdf At (192.235 KB) ] AssignmentiCData.txt (25.428 KB) Assignment1C tests your knowledge of the concepts learned in Chapter 21 . It

image text in transcribed
image text in transcribed
Assignment1C Attached Files: D. AssignmentiC.pdf At (192.235 KB) ] AssignmentiCData.txt (25.428 KB) Assignment1C tests your knowledge of the concepts learned in Chapter 21 . It counts for 50 points. Open Assignment1C.pdf file for the instructions on the assignment and use the attached Assingment3Data.txt for the assignmient (zse itie assignment instructions). Submit all the assignment files (listed in the List soction of the PDF fio). Be aware that you are going to loose poinss if you do not name the files, the classes, the methods as requested. Follow the Assignment Code Convention or you are going fo loose ponty as well. Please make sure you can preview the submitted files on eCampus, so, SofeAssign can accoss them and f can grade in ina, Mudie sure you verify the submitted files in the eCampus assignment submission confirmation pago. Pease review the Assingment1C grading rubric to make suro you covered the entire assignment requirement and eden at the pents. Note: If you are having problem extracting the words form the fie, watch video to road from a fie and apilit the fines tions a fice and ine video to learn more about spliting the stringenines Assignment 1C tests your knowledge of Sets and Maps (Chapter 21). Design a program/project/driver class (the program/project/driver class file should be called YourNameAssignment1C: replace YourNome with your actual name or the name you go by, no spaces) with the following exact/precise functionality, and names: 1. Create an ordered map data structure called YourNameMap (replace YourNamewhth your actual name) - any type of map introduced in Chapter 21 like Map, LinkedtistMap, or TreeMap (use your knowiedge of the chapter and problem at hand to decide which type is better for this particular problem). 2. Read the data from the attached Assingment1CData.txt file that has the following format (with data separated by conmas and tabs): Area, state Population and store the state - Totalpoputation data into YourNameMap with the State as the key and Toca1popuzation (the total from all the geographical areas from that state) as the value. For example, when you read "Abilene otty, Texas 123420", you are going to add Texas-123420 to the YourNameMap map, then later when you read "Allen efty, Texaa 105623", you are going to add 105623 to the current Toxas value which is 123420 , and so on until at the end you get Toxas - 15581916 . You should read the file only once and use your YourNameMap to keep track of the state population for the geographical area you have read/processed (so far). 3. Print the values from YourNamemap in alphabetical order of the states in a table with first column for the state and second column for the total population. You should use printf columns and not tabs to build your table columns. Create a Microsoft Word document called YourNameAssignment1C-Screenshot.docx (replace YourName with your actual name) that contains screenshots of the editor window showing the complete LAVA source code in editor and screenshots of the complete output, in the logical order. If the entire class IAVA source code or the output does not fit in one screenshot or the screenshots cannot be easily read, create multiple screenshots and add them to the same document. Submit YourNameAssignment1C.java JAVA source code file and YourNome-Assignment1c-screenshots.docx Microsoft Word screenshots document on eCampus under the Assignment IC. Do not archive the files (no ZiP, no RAR, etc) or submit other file formats. Review the files in your eCampus submission contirmation window

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

Question

What is required for a greedy algorithm to be successful?

Answered: 1 week ago