ComputerScienceExpert

(11)

$18/per page/

About ComputerScienceExpert

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Applied Sciences,Calculus See all
Applied Sciences,Calculus,Chemistry,Computer Science,Environmental science,Information Systems,Science Hide all
Teaching Since: Apr 2017
Last Sign in: 103 Weeks Ago, 3 Days Ago
Questions Answered: 4870
Tutorials Posted: 4863

Education

  • MBA IT, Mater in Science and Technology
    Devry
    Jul-1996 - Jul-2000

Experience

  • Professor
    Devry University
    Mar-2010 - Oct-2016

Category > Programming Posted 29 Apr 2017 My Price 8.00

Can someone help me do this code

Can someone help me do this code? I tried doing it but I am getting lost in the process. Here is the link, https://docs.google.com/document/d/1fJ91KFtgO8sAmzSrBAnF9QovReeWVfGaotouhYyscBM/edit.

Here are the text files.

https://d1b10bmlvqabco.cloudfront.net/attach/ix3w0o2skpf1z6/i0sq4us8dja5dp/izn5yywgopvx/lab.txt

https://d1b10bmlvqabco.cloudfront.net/attach/ix3w0o2skpf1z6/i0sq4us8dja5dp/izn5zi88ops0/quiz.txt

https://d1b10bmlvqabco.cloudfront.net/attach/ix3w0o2skpf1z6/i0sq4us8dja5dp/izn5zzicehem/hw.txt

https://d1b10bmlvqabco.cloudfront.net/attach/ix3w0o2skpf1z6/i0sq4us8dja5dp/izn60hnimhjf/final.txt

 

Here is my code so far.

class Students:
    name = None
lab_scores = []
    hw_scores = []
    quiz_scores = []
    final_scores = 0
course_total = 0
letter_grade = None
class Gradebook:
    number_of_quizzes_assigned = 0
number_of_homework_assigned = 0
number_of_labs_assigned = 0
def make_gradebook():
    s = Gradebook()
    s.number_of_quizzes_assigned = 0
s.number_of_homework_assigned = 0
s.number_of_labs_assigned = 0
return s

def make_students(name:str) -> Students:
    s=Students()
    s.name =name
    s.lab_scores = []
    s.hw_scores = []
    s.quiz = []
    s.final_scores = 0
s.course_total = 0
s.letter_grade = 0
return s

def find_student(name:str,L:list)
    for i in L:
        if s.name == name
            return s
    s = make-students(name)
    L.append(s)

def add_lab_scores(gb, file_name):
    file = open(file_name,'r')
    gb = Gradebook()




def main():
    gb = make_GradeBook()
    add_lab_scores_from_named_file(gb, "lab.txt")
    add_hw_scores_from_named_file(gb, "hw.txt")
    add_quiz_scores_from_named_file(gb, "quiz.txt")
    add_final_scores_from_named_file(gb, "final.txt")
    fill_in_computed_course_totals_and_grades_from_gradebook(gb)
    print_course_totals_and_letter_grades_to_file(gb, "course_grades.txt")


Answers

(11)
Status NEW Posted 29 Apr 2017 07:04 AM My Price 8.00

-----------

Not Rated(0)