Page 1 of 2

Is it possible to display one question per page?

Posted: Tue Apr 24, 2007 5:43 pm
by bammxx
Hello

Is it possible to display one question per page while taking quiz?

thanks

Posted: Wed Apr 25, 2007 7:18 am
by battye
No, that feature was removed several years ago.

Posted: Fri Jul 06, 2007 3:25 am
by xzc
Hello, battye. Is there any reason to remove this feature?
In fact, many of our certification online test need this ...
Can one admin option be added for choosing between the 2 styles?
Thanks!

Posted: Fri Jul 06, 2007 8:39 am
by battye
No, sorry.

Posted: Fri Jul 06, 2007 2:01 pm
by xzc
battye wrote:No, sorry.
Thanks the same way. :)
While could you pls tell me which old version have that feature? I just would like to have a check. Thanks again.

Posted: Fri Jul 06, 2007 2:28 pm
by battye
Hmm, I think 0.6.6 had it?

I would strongly recommend against using it though. There was a very good reason why I removed it (because if people left half way through the quiz it caused all sorts of problems), so it really isn't a good idea to go and use 0.6.6.

Not to mention how old it is, it may not be all that secure now (~3 years old?)

Posted: Fri Jul 06, 2007 2:41 pm
by xzc
By "all sorts of problems", do you mean transaction handling? Or memory consuming? Or?
I think perhaps we could improve, since I saw moodle (moodle.org) project got that feature and seems work well. While moodle is too too big, and make things worse ...

Posted: Fri Jul 06, 2007 2:43 pm
by xzc
I know some formal online testing system must show one question per page because they want testers take the quiz one by one sequencely ..

Posted: Fri Jul 06, 2007 2:46 pm
by battye
Mainly people trying to get around the system.

For instance, if you record the number of correct & incorrect through post data, then people would falsify this by making their own post data, hence 100% all of the time.

To get around this, I made it database driven, and recorded the number of correct and incorrect answers in the user row of the users table.

Unfortunately, this meant any users leaving the quiz half way through, then had values that weren't NULL next time they came to play a quiz, which caused problems, in that there were, say, 4 correct and 11 incorrect for a 10 question quiz. (suppose, 1 correct and 4 incorrect from the previous quiz they left half way through...).

Posted: Fri Jul 06, 2007 2:47 pm
by battye
xzc wrote:I know some formal online testing system must show one question per page because they want testers take the quiz one by one sequencely ..
Was it flash based? Java perhaps?

I remember it wasn't ideal using PHP only. Bear in mind, this was a few years ago, so perhaps things would be a little easier now.

Posted: Fri Jul 06, 2007 3:28 pm
by xzc
battye wrote:Mainly people trying to get around the system.

For instance, if you record the number of correct & incorrect through post data, then people would falsify this by making their own post data, hence 100% all of the time.

To get around this, I made it database driven, and recorded the number of correct and incorrect answers in the user row of the users table.

Unfortunately, this meant any users leaving the quiz half way through, then had values that weren't NULL next time they came to play a quiz, which caused problems, in that there were, say, 4 correct and 11 incorrect for a 10 question quiz. (suppose, 1 correct and 4 incorrect from the previous quiz they left half way through...).
OK, Let me have a further thinking of this and then reply to you ..
Thanks!

Posted: Mon Jul 09, 2007 10:15 am
by xzc
I think we could add a flag (not sure if it is already such a column in the table), called "valid_flag", the default value could be 0, means invalid.
Once testers start a quiz, then only at the final step, which means he clicked the "submit" button, then this value changed to 1, which means a valid quiz taken by testers.
When next time the tester wants to take the same quiz again, then we should first check the valid_flag is 1...
Not sure if I stated my ideas clearly... :)

Also, How can adjust my current quiz page settings?
Since I would like to have the following style:

question 1, ....
a, it is something 1
b, it is something 2
c, it is something 3
d, it is something 4

question 2, ....
a, it is something 21
b, it is something 22
c, it is something 23
d, it is something 24

......

Posted: Mon Jul 09, 2007 12:26 pm
by battye
Your method does sound okay, but it wouldn't work if a user quits the quiz half way through and then tried to return to it later.

Also, how would you keep track of the number of correct and incorrect answers? :)
Also, How can adjust my current quiz page settings?
Since I would like to have the following style:

question 1, ....
a, it is something 1
b, it is something 2
c, it is something 3
d, it is something 4

question 2, ....
a, it is something 21
b, it is something 22
c, it is something 23
d, it is something 24
I'm sorry, I don't understand :(

Posted: Mon Jul 09, 2007 1:40 pm
by xzc
battye wrote:Your method does sound okay, but it wouldn't work if a user quits the quiz half way through and then tried to return to it later.

Also, how would you keep track of the number of correct and incorrect answers? :)
If user quits the quiz half way, then if he tried to return back and continue, we will think it is invalid, which means, once user quit the quiz, then he can not resume ...
Or, improve it: we could add a parameter called quiz_timeout, if quiz_timeout is 5 mins, then user be back within 5 mins, then it is ok. Otherwise, user can not resume the current quiz. By this way, we can avoid some problems such as network down for just a while ...

Posted: Mon Jul 09, 2007 1:56 pm
by battye
That still doesn't resolve the issue of tracking correct and incorrect answers.

There will still be discrepancies in the database.