I think the pass rate for such course is very low, 50%-ish. I once took a similar course but was about mechanical architecture. Pass rate was 50-60-ish. I spent whole summer studying it and only got 4.75... But indeed, I learned a lot.
For clarification for non-Swiss people: Grades in Switzerland go 1-6, with 6 being the best, 4 being passing and 1 being the worst grade. A 4.75, typically rounded to a 5, is therefore a decent, though not amazing grade.
Could you enlighten me on something? Do you know why the grading scale has more failing grades than passing?