example of grade calculation
assume grade = 50 % exams + 30 % cw/hw + 20 % lab
item points earned points possible category % score grade weigh grade "points" exam 1 80 90exam 2 70 100quiz 10 10 160 200<-- sum 160 / 200 (= 80 %) * 50 = 40 cw/hw 1 20 25cw/hw 2 30 30cw / hw 3 30 50 80 105<-- sum 80 / 105 (= 76%) * 30 = 22.9 lab 1 0 35lab 2 30 55 30 90<-- sum 30 / 90 (= 33 %) * 20 = 6.7 grade -> 69.6
notice that a category grade of B- (exam; 80 %), C (cw/hw; 76 %), and F (lab; 33 %), earns a course grade = 69.6 % (D+), i.e. do not ignore cw/hw and lab.
link to online grade calculator [there may be round-off differences between this program and my gradebook program; requirements for use: enable pop-up window & enable javascript]