Weighted average math
Each category's assignments are converted to a percentage, that percentage is multiplied by the category's weight, and the products are added. A full weight set from the syllabus sums to 100 percent; a partial set yields a partial-course number, not a final grade. The unweighted figure divides total earned by total possible points, which agrees with averaging assignment percentages only when all assignments are worth the same.