combine/limit total score from two questions

combine/limit total score from two questions

Giovanni Casano -
Number of replies: 1

Hello,

in a quiz I have two questions, each of them has an associated total score of 40 points.

Now, after answering to both of them, I need to have a total score of maximum 40 points, even if the real total amount would be 80 or 70 or 60 or whatever.

Is there any way to do this with the default moodle 3 installation? Do I need instead to use a plugin?

Please let me know.

thank you in advance for your time and consideration.

-g

Ngā whakawākanga toharite: -
In reply to Giovanni Casano

Re: combine/limit total score from two questions

Dominique Bauer -
Pikitia o Documentation writers Pikitia o Particularly helpful Moodlers Pikitia o Plugin developers

Hello Giovanni,

Use Grade calculations ↗.

If I understood correctly what you want to do, the following formula will suffice:

=min([​[quizID]​],40)    ← rewrite, don't copy/paste

Ngā whakawākanga toharite: -