-
Notifications
You must be signed in to change notification settings - Fork 139
/
grades.jl
46 lines (34 loc) · 1.79 KB
/
grades.jl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
using Statistics
#=
Grading policy
Your overall score in this class will be a weighted average of your scores for the different components, with the following weights:
16% for the lecture exercises (divided equally among the 16 out of 19 lectures)
18% for the homeworks (divided equally among 6 (out of 7) homeworks)
2% for the Project 0
36% for the Projects (divided equally among 4 (out of 5)
12% for the Midterm exam (timed)
16% for the final exam (timed)
To earn a verified certificate for this course, you will need to obtain an overall score of 60% or more of the maximum possible overall score.
Lecture Exercises, Problem Sets, and Projects
The lowest 3 scores among the 19 lectures will be dropped, so only 16 out of 19 lectures will count .
The lowest 1 scores among the 7 homeworks will be dropped, so only 6 out of 7 homeworks will count .
The lowest 1 score among the 5 projects (excluding project 0) will be dropped, so only 4 out of 5 projects will count .
=#
lectures_grades = [0/11,0/18,0/12,0/11,0/9,0/13,0/9,0/14,0/5,0/18,0/18,0/11,0/24,0/10,0/24,0/20,0/20,0/9,0/8]
homeworks_grades = [0/61,0/28,0/12,0/25,0/26,0/32,0/36]
projects_grades = [0/39,0/72,0/39,0/14,0/14] # exclude Project 0 here
project0_grade = 0
midterm_grade = 0/38
final_grade = 0
lectures_grades_retained=sort(lectures_grades)[4:end]
homeworks_grades_retained=sort(homeworks_grades)[2:end]
projects_grades_retained=sort(projects_grades)[2:end]
grades = [mean(lectures_grades_retained),mean(homeworks_grades_retained),project0_grade,mean(projects_grades_retained),midterm_grade,final_grade]
w_lectures = 0.16
w_homeworks = 0.18
w_project0 = 0.02
w_projects = 0.36
w_midterm = 0.12
w_final = 0.16
weigths = [w_lectures,w_homeworks,w_project0,w_projects,w_midterm,w_final]
overallGrade = grades' * weigths