Hi,
Ive set the quiz time to 30 minutes, but when the student changes his computer clock the countdown counter will change too ?!. How to avoid this and timer reads the counter from server not local computer of students?
I am using 3.5 version
Hi,
Ive set the quiz time to 30 minutes, but when the student changes his computer clock the countdown counter will change too ?!. How to avoid this and timer reads the counter from server not local computer of students?
I am using 3.5 version
If a student is sitting in an exam, 30 minutes form the end, and they change the time on their watch, do they get more time? No.
Same in Moodle quiz. The time limit is enforced on the server.
Of course, the time left displayed in the student's browser depends on the time on that computer (after the quiz page has first loaded), but that just means that if they student changes the time on their computer, they will be confused about how much time is left. They won't actually get more time.
In mod/quiz/module.js the new date().getTime() is incorrect can u introduce me how to change it to get its time from server not users local clock ?!
var secondsleft = Math.floor((M.mod_quiz.timer.endtime - new Date().getTime())/1000);
"Have you ever tried it yourself?!"
Looking at the history of that file it looks like Tim has done most of the updates for the last 8 years, so I suspect he has tried it.
If somebody could introduced me to solve the problem ...
I have explained this in more detail in the past, and I thought that had been captured in the Quiz FAQ, but it does not seem to be there now.
I am sure that
Here is the "Last submission grace period" description: There is a potential problem right at the end of the quiz. On the one hand, we want to let students continue working right up until the last second - with the help of the timer that automatically submits the quiz when time runs out. On the other hand, the server may then be overloaded, and take some time to get to process the responses. Therefore, we will accept responses for up to this long after time expires, so they are not penalised for the server being slow. However, the student could cheat and get this many seconds to answer the quiz. You have to make a trade-off based on how much you trust the performance of your server during quizzes.
Re point 3, if you can reproduce a student getting significant extra time to do a quiz. (E.g. a quiz with time-limit set to 3 minutes, and the student manages to submit having had the quiz open in their browser for 5 minutes (not the quiz being submitted by cron, and verifying that Last submission grace period is set to the default value of 60 seconds). Please post exact steps-to-reproduce in a new tracker issue, and tag that as a security issue. Please don't post detailed steps to reproduce in a public forum. Thanks.
This is true the time changes as you change the Clock time , but once the initial time is due it automatically submit. The Interesting part of his questions if the computer while taking the quiz develop a problem, by changing another computer to the student, the timer keep on counting (i.e. 5 minute left from computer one, 1 minute remaining switching to computer 2)..... How can we stop this problem?