[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Phptest-users] An Idea for extra answers
From: |
Brandon Tallent |
Subject: |
Re: [Phptest-users] An Idea for extra answers |
Date: |
Mon, 3 Feb 2003 08:00:44 -0800 (PST) |
I think I've already coded something similar to what
you're talking about. It's a short answer, fill in
the blank type question. It still uses the same
questions table in the db, but instead of having
correct, alt_1, alt_2, alt_3, it uses alt_1, alt_2,
and alt_3 to store alternate correct versions of the
answer. That allows you to account for stuff like 96
vs .96 vs 96 cents. So what happens if the user still
gets the answer correct but it's not recognized as
correct in the system? Well, I added this elaborate
'appeals' scheme. What happens is that a user can
review his answers, and if he feels he should have
gotten credit, he can appeal the question. Then, the
admin can look at an appeal queue and accept or deny
each appeal. When the appeal is accepted, the test
score is modified to reflect the appeal. I did this
for a teacher who wanted some customization, and I
figured it would probably be too specific to add to
the general phptest distribution, but I'll attach the
files in case you want to take a look at how it all
fit together. cshortanswer is the short answer class.
It will definitly be included in the next release.
view_appeals and view_answers are the updated appeal
stuff. Note that you can't just drop them in because
there was also a bunch of changes made elsewhere for
this teacher.
By the way, we should talk about the direction of
phptest and what you'd like to work on so work is not
duplicated. Right now the dev code is a mess because
I'm adding smarty template support and making a lot of
db changes to make things more flexible, but after
that's done I'll start updating cvs again. Maybe
you'd like to come on as a developer? Have you worked
on any other php stuff I could take a look at?
Brandon
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
cshortanswer.inc.php
Description: cshortanswer.inc.php
view_appeals.php
Description: view_appeals.php
view_answers.php
Description: view_answers.php