- Need Help In Asyn Grpc
- I Want Help With Coding Questions In C++
- Urgent Data Structures Term Paper Help
- Understanding The Basics Of Computer Science Principles Essay Writing Assignment
- Assignment On Principles Of Computer Science
- Which Characteristics Support A Sustainable Mis Infrastructure?
- Project For Ist - Computer Science Assignment Website Design 5 Pages
- Comptia Security+ Exam
- Networking Using Packet Tracer
- I Need Help With A Wireshark Assignment
- Can You Do Both My Comptia A+ For Me
- What Is An Algorithm In Computer Science?
- Can You Log Into My College And Do My Ucertify Labs For Each Week And Take My Final Exam?
- Which One Is True For Sprint Planning? The Work To Be Performed In The Sprint Is Planned
- The Cyberapolis Water Company Has Been Taken Over By The Carbon Spector Terrorist Organization
- Coursework writing help
- Term paper writing help
- Writing Help
- Paper Writing Help
- Research paper help
- Thesis Help
- Dissertation Help
- Case study writing service
- Capstone Project Writing Help
- Lab report Writing
- Take my online class
- Take my online exam
- Do my test for me
- Do my homework for me
- Do my math homework for me
- Online Assignment Help
- Do my assignment for me
- Essay Writing Help
- Write my college essay
- Write my essay for me
Post your project now for free and watch professional homework help answers experts outbid each other in just a few minutes.
Question: I Need Help With A Coding Homework Assignment.
In this assignment you will create a program that will calculate grades by reading individual scores from a csv file, and read the students names from a text file.
NOTE: Due to Python rounding discrepancies, on Sunday, Apr 5 we changed the problem requirements to require printing 3 decimal places rather than 2 in order to ensure that all student submissions are graded correctly.
Building on everything you have learned so far in this class, the objectives of this project are to demonstrate understanding of the following:
- Reading a CSV file
- User defined functions
- Incrementally developing a complex program from parts
Create a program that will calculate grades of students. The overall operation of the program from the users point of view is as follows:
Prompt the user for the text file containing the students names. Prompt the user for the csv file containing the students grades.
The prompts may be any appropriate prompt you wish.
You will then print out the student name, along with their summary of each grade component, as well as the final grade. For example, if there were two students represented in the two files:
Daniel Waterhouse Exam Average: 65.633 Lab Average: 76.917 Project Average: 69.367 Attendance Average: 61.538 Final grade: 67.868 Jack Shaftoe Exam Average: 70.333 Lab Average: 73.350 Project Average: 62.633 Attendance Average: 53.846 Final grade: 68.421
The students' names are in a text file, one name per line.
The individual grades are in a csv file with all grades for each student on one line in the following order, separated by commas:
- 3 exam grades
- 13 lab grades
- 3 project grades
- 15 attendance grades
Exam scores, Lab scores, and Project scores are all real numbers representing a score out of 100, ie, 95, 88.6, etc. Attendance scores are either 1 for present, or 0 for not present.
For this project, you must do the following:
- Use a function named
Overall_Lab_Scorewhich will take as a parameter a list of all the lab scores which are floats and return the overall lab score. The overall lab score is computed by taking the average of all the lab scores, after the lowest score has been dropped.
- Use a function named
Overall_Attendancewhich will take a list of all the attendance scores which are floats and return the overall attendance score as a number between 0 and 100, consistent with the other category averages. The overall attendance is computed by taking the average of all the attendance scores, after the lowest two scores have been dropped. Note that attendance values are 0 and 1 so you will have to adjust for that in order to return a value between 0 and 100.
- You may define and use other functions as you think you need them.
- Your first function must take a list of floats as a parameter, and your second function must take a list of floats as a parameter. Both functions must return the score (as a float). If your functions are not defined properly, you will not pass the unit tests.
- The Exam score is computed by finding the average of the 3 exams. You may define a function to compute this if you wish.
- Find the overall Project score. The Project score is computed by finding the average of the 3 projects. You may define a function to compute this if you wish.
- Compute the final grade according to the following weights:
- Exams are 60% of the final grade
- Attendance is 5% of the final grade
- Labs are 15% of the final grade
- Projects are 20% of the final grade
You may define a function to compute the final grade if you wish.
Hints and Suggestions
- Make sure you are reading in the file and storing the grades correctly before trying to write the functions and/or display everything else
- Write the program incrementally, and test small pieces of your program individually before trying to write the whole thing, and only add in the pieces you know are working. This will help enormously when you try to pinpoint bugs.
- Try using your own file that only contains a single student as you work through developing and testing your program, then use the larger file once you have it working for one student.
No answers posted
Post your Answer - free or at a fee
Login to your tutor account to post an answer
Posting a free answer earns you +20 points.Login
Ask a question for free and get answers to get Computer Science assignment help with a similar task to this question.