Skip to main content
jon_collins10
Participating Frequently
June 22, 2016
Answered

Quiz results slide - NaN errors in published Captivate 8 content

  • June 22, 2016
  • 1 reply
  • 2217 views

Hi,

I have been working on a number of modules with different content in each, which have a short quiz at the end. All but one work fine and the quiz results slide correctly shows the "score" and "max score" accordingly.

However, I have one module with an erroneous result being reported "0" out of "NaN" and I have no idea why this has suddenly appeared?

I've been working from a template for these modules (although admittedly this one was outsourced - they should have still used the same template)

I can't see any obvious difference in settings or results slide between this and the other modules - so I'm stuck!

I wondered if something had gone wrong with the results slide so as a test I copied all the slides apart from the quiz slides into a separate template which has worked fine, then updated the quiz and re-published and still had the same error. This leads me to suspect the content slides are part of the problem. Within the content slides there are some true / false questions which are set as "pretest" type - could these affect anything?

I am using Captivate 8.0.3.290 and I have checked the published output in both scorm cloud and our Moodle LMS - same erroneous result.

Hope someone can help?

Thanks

Jon

    This topic has been closed for replies.
    Correct answer Lilybiri

    Hi

    The way the template I am using works is that when the user clicks submit, no feedback is issued and no further clicks are required - the actions defined in quiz properties run (i.e. continue) and the next question slide is shown. The final quiz slides are graded multiple choice slides.

    If I create a blank cptx file and create a graded multiple choice quiz with the default settings - the differences are that in my project all the tickboxes are unchecked for "clear", "back", "next" buttons, and also "correct" is unchecked. Failure message is set to none. Success and last attempt both set to continue.

    On screen the only difference is there is no "review area" - could this be the problem? has this perhaps been deleted and corrupted the slide?

    What I find surprising is that this template I have used works fine in 20+ other modules? and also that as I mentioned in a previous reply - if I delete the pretest slides out then the final quiz works fine?

    Thanks

    Jon


    It is difficult to find out what is wrong with that template. I doubt very much that the presence of pretest slides is the cause. It is perfectly possible to have a Pretest and a Final Quiz in a project. To exclude that possibility: try to create a small project with one Pretest question and one real Question slide, using that same template.  Track the system variable. What is the result?

    Do you have any idea if that template was created originally for CP8 or is it an updated version of a template?

    I never delete the Review area, although it is only used in two circumstances:

    1. For the Pass/fail message on the Score slide
    2. When a question has been skipped (I still have the feeling that questions are considered to be skipped).

    1 reply

    Lilybiri
    Legend
    June 22, 2016

    NaN means not a number... Could you check Advanced Interaction panel (F9) to see if there are scores connected with question slides and/or interactive objects? If you see a Total score on top that is equal to 0, you have found the culprit.

    Pretest slides do get a score, which is not added to the Total score of the final quiz.

    jon_collins10
    Participating Frequently
    June 22, 2016

    Hi

    Thanks - I have checked that panel and I can see both the pretest and the quiz but not a total score of zero? I've filtered the view and copied below to show the details:

    I would have expected to see the true or false questions (pretest) to say include in quiz = No and the actual quiz questions to say include in quiz = Yes??

    I'm confused!

    Thanks for your help

    Lilybiri
    Legend
    June 22, 2016

    Slides 11-14 are Pretest questions.

    OK, so that is not the origin of the wrong indicators on the Score slide. You see that the Pretest slides have a score of 10pts, but that score is not added to the total score which is 5 points, coming from the regular quiz slides.

    The score of a question slide is added to the obtained socre (cpQuizInfoPointsscored is the system variable which tracks that score) after the two-step Submit process:

    1. User clicks on the Submit button, feedback appears
    2. User clicks on the slide, or presses Y, the playhead will be released and the actions Success or Last Attempt are done (there is only one attempt for the question slides).

    Is this the process that you see? If the developer has messed up with this process, and/or has deleted embedded objects on the question slides (or on the score slide) the built in functionality could be wrecked. Embedded object do not have an individual timeline, not in the master slide nor in the question slides. Some of them can be turned off by unchecking a check box (like Clear, Skip button), but some (like the Submit button and the Continue button on Score slide) are essential. Can you check this?

    Another way to see if everything works fine is to insert one or more quizzing system variables in a text container on the first quiz slide, time it for the rest of the project. That way you can see after each question slide if the system variable is updated. I suggest to use the previously mentioned variable cpQuizInfoPointsscored.