Build a complete gradebook with the following properties:
(1) You need a dictionary with the following keys:
Last name, First name, student id, group number, scores
The scores should consist of a list of tuples. Each tuple consists of three values, a date and a score and the maximum number of points. If the student did not take the 'exam' the score is 0.
(2) You need a data entry system to add names and ids to the gradebook.
(3) You need a project entry system, where names are matched to group names.
(4) You need a method to create a grade for each student in a team (a tuple). Given a team grade, the system will automatically create the same grade for each member in the group.
(5) You need a method for entering the grades for each individual "exam", (Creating tuples)
(6) You need a method for reading in the file (so that you can update it). You may want to keep a copy of the old file as a backup.
(7) You need a method for saving the file, once all the updates have been made
(8) You need a method for creating reports such as performance in an exam (eg, constructing histograms) and various statistics.
(9) You need a method for computing a final grade based on a set of rules.
(10) You need it to be fantastic, and fail proof.
版权所有:编程辅导网 2021 All Rights Reserved 联系方式:QQ:99515681 微信:codinghelp 电子信箱:99515681@qq.com
免责声明:本站部分内容从网络整理而来,只供参考!如有版权问题可联系本站删除。