In my experience, especially on science courses, marks were awarded on a pretty straight-forward basis determined by correct answers and often, clear and somwhat correct intermediate work on a problem. In arts-oriented classes, essay grading can be somewhat arbitrary but there was often a matrix like even sven mentions - points for language, for logic of the essay, etc.
In the original classes I took in the 1970’s, these marks would add up; the “marking scheme” was stated at the beginning, so much for assignments, so much for term test(s) and so much for the final exam. At one point, a certain percent had to be allocated (by some departments’ policy) to finals, so that the student had to demonstrate some of their own proficiency with the course material.
By the 80’s, as I mentioned the profs semed less dedicated to tailoring teaching, tests etc. to student proficiency. Grades had also become a concern all the way up the ladder, so that profs were under pressure to not have grades too far off the average. As a result, they used bell curves to adjust marks. In the 70’s, you could calculate your mark; in the 80’s many course, your final mark was based on some magical adjustment of the coursework. In many cases, you did not get your final exam back, so part of your mark was based on some unknown number that you guessed, comparing answers after the exam.
I’m sure many profs found it was less trouble to bell up than down, so it was simpler to make a test regimen where the marks were 50% than 80%. Nobody complained “I calculated my coursework and I should have gotten a 56% not a 75%”. Going the other way invited too many complaints.
I helped a high school teacher with her marks once, writing the early equivalent of a spreadsheet with BASIC. She took the course material, then fiddled with the weighting to get a better distribution and average. She also adjusted participation and even final marks, but generally upward to reward effort over ability. This way, if someone failed or had a bad mark the number was justifiable (“here’s the calculation”) but those who she felt deserved it, passed or went up a grade benefiting from magic boosts.
Thi was another problem with grades - students in college who don’t want to be there usually aren’t. Most high school students have no chaice, so the level of interest, participation and dedication can vary much more widely.