I need help with a computer science assignment

Dec 6th, 2015
Price: $100 USD

Question description

This program will import an input file that will have information on any number of families (up to 15). The information will consist of ID#, Number of family members, yearly income and state of residence. You do not know the number of families on the file being imported. Data in the input file will look like this (representing their ID, number of members, income and state).

3489 4 45000 WA

The graphic window you present to the user will allow them to choose what reports to generate. 
Report 1 - Write out to a file all the families that fall below the poverty level (see Poverty Guidelines below). 
Report 2 - Display in the window all the families that are above the average income. 
Report 3 - Display in the window the % of families that fall below the poverty level. 
Report 4 - Write out to a file all the data about the families and add a field that indicates if they fall below the poverty level.

When you import the data from the input file you will need to put the data into lists and then place those lists into amaster list. That master list will hold all the data from the original input file (and more). When processing any data for the above reports you need to pull it from the master list not from the other lists or the input file. There will be six buttons. One to import the input file and the others to generate the 4 reports, and an exit button. Use functions for this homework.

Here is the input filePreview the document. For the purposes of your code you can anticipate that any input file you will process will not have more than 15 entries and that for Report 2, in the window, the families that fall above the average income will not exceed 10. None of the interaction with the user should take place in the Python Shell.

  • Your code (both py and pdf)
  • Report 1: lastname_firstname_report01.txt
  • Report 4: lastname_firstname_report04.txt

Tutor Answer

(Top Tutor) professornico
School: University of Maryland

Studypool has helped 1,244,100 students

Review from student
" Wow this is really good.... didn't expect it. Sweet!!!! "
Ask your homework questions. Receive quality answers!

Type your question here (or upload an image)

1819 tutors are online

Brown University

1271 Tutors

California Institute of Technology

2131 Tutors

Carnegie Mellon University

982 Tutors

Columbia University

1256 Tutors

Dartmouth University

2113 Tutors

Emory University

2279 Tutors

Harvard University

599 Tutors

Massachusetts Institute of Technology

2319 Tutors

New York University

1645 Tutors

Notre Dam University

1911 Tutors

Oklahoma University

2122 Tutors

Pennsylvania State University

932 Tutors

Princeton University

1211 Tutors

Stanford University

983 Tutors

University of California

1282 Tutors

Oxford University

123 Tutors

Yale University

2325 Tutors