A category is a bucket of assignments with a name, a weight, and a color: Homework at 20, Quizzes at 30, Tests at 50. Every assignment goes in exactly one category, and the category's weight says how much that kind of work counts. Categories belong to the classroom, so two classrooms can weigh the same kind of work differently.
Three steps, each simple on its own.
| Category | Weight | Average |
|---|---|---|
| Homework | 20 | 90% |
| Quizzes | 30 | 85% |
| Tests | 50 | 92% |
(90 × 20 + 85 × 30 + 92 × 50) ÷ (20 + 30 + 50) = 89.5%
Three details follow from the arithmetic:
Administrators set default categories once, in Settings › Grades. Give each a name, a weight, and a color. When anyone creates a classroom, the form starts with a copy of that list. The teacher can keep it, rename a category, change a weight, or delete the lot and start fresh before saving.

Because it is a copy:
A classroom's General tab lists its categories with their weights. Edit the classroom to add, rename, recolor, or reweight them. Changing a weight recomputes every student's term and final grade in that classroom the next time they are read. Nothing is lost; the percentages are weighed again.

Pick the split most classrooms use and let the exceptions edit. A school where every teacher weighs differently is better served by a short list with round weights than by a long list that everyone deletes. Colors are only a visual aid in the gradebook; choose ones that stay distinct side by side.
Categories weigh work inside one term. How terms combine into a final grade is a terms matter, and the letter a percentage earns is a grading scale matter.