Computers and Technology , 22.06.2019 08:40 batman48000

1. the program must provide following functions to extract some statistics. note that the data_list parameter specified in these functions may be the same for all functions or different for different functions—that is your choice. a skeleton file is provided on mirmir. a) open_file()prompts the user to enter a year number for the data file. the program will check whether the year is between 1990 and 2015 (both inclusive). if year number is valid, the program will try to open data file with file name ‘year. txt’, where is the year. appropriate error message should be shown if the data file cannot be opened or if the year number is invalid. this function will loop until it receives proper input and successfully opens the file. it returns a file pointer and year. i. hint: use string concatenation to construct the file name b) read_file(fp)has one parameter, a file pointer read. this function returns a list of your choosing containing data you need for other parts of this project. c) find_average(data_list) takes a list of data (of some organization of your choosing) and returns the average salary. the function does not print anything. hints: i. this is not the average of the last column of data. it is not mathematically valid to find an average by finding the average of averages—for example, in this case there are many more in the lowest category than in the highest category. ii. how many wage earners are considered in finding the average (denominator)

ansver
Answers: 1
Show answers

Another question on Computers and Technology

Computers and Technology, 22.06.2019 04:50
Which are steps taken to diagnose a computer problem? a) reproducing the problem and using error codes b) reproducing the problem and troubleshooting c) using error codes and troubleshooting d) using error codes and stepping functions
Answers: 1
Answer
Computers and Technology, 22.06.2019 06:00
What are the most likely causes of conflict at the meeting? check all that apply.
Answers: 1
Answer
Computers and Technology, 22.06.2019 10:30
Choose the best explanation for the following statement communication is symbolic
Answers: 3
Answer
Computers and Technology, 23.06.2019 07:30
Your friend alice is a full-time college student, earned $4,000 working at the campus bookstore over two semesters last calendar year, and also got a part-time job as a cashier in february, earning $9,500. alice knows that you have been learning about taxes in your personal finance lessons and asks you, “do i need to file taxes this year? if i do, what is the process like? ” determine if alice needs to file taxes this year and explain your reasoning. if you conclude that alice does need to pay taxes, explain what forms she will need, what the deadlines are, and what method you recommend she use to file her taxes.
Answers: 3
Answer
You know the right answer?
1. the program must provide following functions to extract some statistics. note that the data_list...
Questions
question
Biology, 07.01.2021 14:00
What is the meaning of biosphere​...
question
Mathematics, 07.01.2021 14:00
How many 2/5 s are there in 4?...
question
English, 07.01.2021 14:00
Please those who know please ...
question
Mathematics, 07.01.2021 14:00
Write an equation of the line with a slope of - and y-intercept of -6. y...
question
Geography, 07.01.2021 14:00
1)Explain in one paragraph, the cause of the UK winter storms. Use the following key words in your explanation:Deep depression
question
Mathematics, 07.01.2021 14:00
Oof i need someone to talk to -_-...
question
English, 07.01.2021 14:00
Pls help me . ...
question
Mathematics, 07.01.2021 14:00
Find the length of side AB. Give your answer to 3 significant figures. С 41 degrees 13.5 cm А B...
question
Mathematics, 07.01.2021 14:00
Calculate the total distance? ...
question
Spanish, 07.01.2021 14:00
Ella lo . ​ Question 7 options: hice hizo...
question
Mathematics, 07.01.2021 14:00
Find the angle with straight line y is equals to root 3 x minus 4 makes angle with y axis​...
question
English, 07.01.2021 14:00
You did not make a mistakes. (affirmative)​...
question
Mathematics, 07.01.2021 14:00
A nutritionist filing her federal income tax return with the single filing status had a gross income of $34,000. She made an $1,000 contribution to an...
question
Physics, 07.01.2021 14:00
During the study of the objects, What we can observe​...
question
English, 07.01.2021 14:00
HELP PLZZZ Which of the following descriptions is NOT an example of irony in the story?(a very old man with enormous wings) Question 6 options:...
Computers and Technology, 07.01.2021 14:00
Lze použít mnohovidové vlákno pro přenos na velkou vzdálenost...
question
Mathematics, 07.01.2021 14:00
23.7-2.5x8= Work out...
question
Physics, 07.01.2021 14:00
BORED. SUP GUYS ...
question
Biology, 07.01.2021 14:00
classs 5 girls and boys come in zoom it is science class come fast with your name I am waiting classs is stated​
Computers and Technology, 07.01.2021 14:00
Multimode fiber can be used for long distance transmission...
Questions on the website: 13995981