Moodle 2.6
Hi,
I am also trying to achieve a similar thing as Muhammad to record the time spent for each question in a quiz.
I am trying to make a speed maths quiz in which each question is timed and answered quickly.
Then, I realised that there is a major issue for me with the moodle timer for a quiz.
The time is elapsing even when the system is taking time to move from one question to another question. So, for example, it may take only 2 seconds for a student from the moment a new question is loaded till when he hits Next Button, but the system is counting time even when it is loading another question (sometimes it takes a few seconds to load a new question). The time recorded for each question should be from when a question is loaded on the screen to when a student presses the Next button.
The total "time taken" in review.php should be the sum of the times taken for all the questions, instead of the system count of the whole quiz attempt duration for what I am trying to achieve. How can I fix this issue?
So, for example, if the time limit is 3 minutes. The moodle should be counting the times a student is answering the questions (and it should not count the loading and processing time of each question and answer within the system, which is unfair to the student and is not an accurate measurement of his speed of answer). When the total time taking when answering questions reaches the time limit, the quiz should be terminated automatically for my kind of quiz.
In addition, when I set a time limit for a quiz, the time limit should not be the time limit for the system count of the quiz attempt. Instead, it should be checking the sum of the times taken for the questions so far answered, against the time limit.
Any help on this matter is highly appreciated.
Kind regards,
Noby