Skip to main content
Known Participant
December 4, 2014
Question

Problem with $$cpQuizInfoTotalUnansweredQuestions$$

  • December 4, 2014
  • 1 reply
  • 463 views

Hello, I'm having a problem with the system variable $$cpQuizInfoTotalUnansweredQuestions$$. In a quiz with no branching and no question pools, the variable works as one would expect. (I'm speaking here about a simple quiz with a set number of questions and no question pools.)

However, I've just tried the variable in a quiz with questions pools and branching possilities (i.e. a quiz with a possible total of 10 questions, but where the quiz-taker may only have to do 5 or 6, etc., depending on his or her results). And here the variable didn't work at all: it continually returns a value of zero (= the initial value).

Does anyone know what's going on here?

Thank you.

Marvin DuBois

This topic has been closed for replies.

1 reply

Lilybiri
Legend
December 4, 2014

Is Branch aware activated? I know some quizzing system variables are not

adapting to branching, but I am not sure about that one. Do you have

Pretest slides as well?

DawvenAuthor
Known Participant
December 4, 2014

Hello Lilybiri,

Yes, Branch Aware is activated. But there are no pretest questions. The two elements that are probably relevant are these:

- Branch Aware is on, and

- the quiz contains question pools.

It could be that the first (Branch Aware) is the only operative factor here. I could test this.

Kind regards, Marvin

DawvenAuthor
Known Participant
December 9, 2014

Hello again, Lilybiri.

I'm continuing to test this (the issue mentioned above). This is of some importance once one can use $$cpQuizInfoTotalUnansweredQuestions$$ ('the variable") to solve the age-old problem where quiz-takers click Next instead of Submit and land up failing the quiz.

In the test I've activated Branch Aware (BA) but have used no Question Pools. Activating BA does not, per se, appear to have a negative effect. That is, If I have four questions and BA is on, if I click Next for each question, then the variable has a value of 4. So far so good.

However, if I actually introduce branching in the quiz, the variable goes haywire. That is, if I set up an situation where, if the quiz-taker gets Qu. 1 correct, Qu. 2 is skipped, then the variable always reports value of 0, even when I click Next for Qu. 3 and/or 4. So the BA function must mess things up for this variable, at least where the project actually contains branching.

So goes it.

Kind regards, Marvin