combine/limit total score from two questions

combine/limit total score from two questions

ដោយ Giovanni Casano នៅ
ចំនួនតប៖ 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

មធ្យមភាគនៃរង្វាយតម្លៃ: -
ឆ្លើយតបទៅកាន់ Giovanni Casano

Re: combine/limit total score from two questions

ដោយ Dominique Bauer នៅ
រូបភាព Documentation writers រូបភាព Particularly helpful Moodlers រូបភាព 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

មធ្យមភាគនៃរង្វាយតម្លៃ: -