First post, so I hope that I get this somewhat right:
I am hoping that someone can assist me in an issue I am having with grading the parts of a multi-step question. I have attached the xlm. file.
Please know that I have zero (0) coding and scripting experience and this is all trial and error for me.
There are 6 parts to the question I have attached, but I was mainly working in "part 1" and "part 2" in an attempt to get it working. I will use "part 1" as the reference for my discussion.
Issue: each answer box must contain a number in order to be validated as an answer.
ex. There are three student answer required for "part 1": _0, _1 and _2, each weighted 33.3% of that parts marks.
Entering 3 correct answers (one in each box) returns 100% of the grade for that part.
Entering 2 correct answers and 1 wrong answer will return 66.67%, and
Entering 1 correct and 2 wrong will return 33.3%
The error occurs if any one box is not filled. So if the student enters the first two answers correctly and forgets, misses, cannot solve the last of the three and leaves it blank, the question returns 0% for that parts marks, regardless of the other correct entries; I would like this example to return a grade of 66.67%
This is the scripts that I was using in part 1 of the question: (variable assignment can be found in the xlm file)
***GRADING VARIABLE SECTION***
#ERROR CALCULATIONS
absoluteError0=abs(R75-_0);
relativeError0=absoluteError0/R75;
absoluteError1=abs(XL75-_1);
relativeError1=absoluteError1/XL75;
absoluteError2=abs(Z-_2);
relativeError2=absoluteError2/Z;
# GRADING CRITERION
criterion0=relativeError0<=0.02;
criterion1=relativeError1<=0.02;
criterion2=relativeError2<=0.02;
***GRADING CRITERIA SECTION***
(1/3)*criterion0+(1/3)*criterion1+(1/3)*criterion2
I'm sure that there must be a way to tell the grading criteria to assign a mark of 0 for each box left blank, but like I said, I have no coding experience.
Any help in adding in lines to ignore empty answer boxes and assign blank answers a score of zero (0) would be greatly appreciated.
Thank you.