combine/limit total score from two questions

combine/limit total score from two questions

Höfundur 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

Meðaltal dóma: -
In reply to Giovanni Casano

Re: combine/limit total score from two questions

Höfundur Dominique Bauer -
Mynd af Documentation writers Mynd af Particularly helpful Moodlers Mynd af 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