Two questions about quizzes

mlapl1 Community Member Posts: 350 ♪ Opening Act ♪

I am using a rank/sequence question with 20 options.

I have used the "Grade each choice" option.

When the student clicks on the Submit button I would like the following to happen

(a) The question automatically reports the percentage score just for that question, BUT I cannot find the built-in variables that must be in Lectora that would enable me to perform the calculation.

(b) The question automatically reports which choices are correct (either with a check mark/tick) or by changing the background color of the correct choices. I wonder how to do this.

Thanks a lot for any help.


  • tea
    tea Community Member Posts: 128
    @mlapl1  I see you are following another thread on MCQ. We do not currently have built in variables like you are looking for, so you would have to write something to handle this as you mentioned in that other thread.
  • mlapl1
    mlapl1 Community Member Posts: 350 ♪ Opening Act ♪
    Hello @tea and thank you.

    When you say that I would have to write something I take it you mean that I would have to write a scoring routine from scratch with my own variables and completely by-pass the built-in system. Am I right?
  • wheels
    wheels Florida USACommunity Member, Administrator, Moderator, Rockstar Manager Posts: 665 eLearning ROCKSTAR Admin Team
    Hi @mlapl1

    Scoring is done when a test is processed and is done in the context of the entire test. Interaction data may provide the scoring you are looking for but that is currently only passed to the LMS and would not be easy to get at, especially on a test page.

    Lectora Desktop does not write out answers with the question data so you would have to write the correct answer into your own scoring, or conditional logic. I do not see any comparisons for individual items in our, in fact our scoring for the comparison isCorrect seems to look at only the entire answer being correct. Otherwise, it would need some idea of the number of points or percentage it would be to consider the question correct.

    So it seems we need a few things:
    1) Access to a score for a question that has "Grade each choice" selected, possibly a reserved variable set after process question.
    2) Correct and Incorrect indicators associated with a question that would be displayed per choice after a process question.

    Does that sound about right? I will work with @tea and make sure we get this written up. We will also consider if there are some quick things we could do to make these available via scripting (for JS access to the score or to indicate which choices are correct).
  • mlapl1
    mlapl1 Community Member Posts: 350 ♪ Opening Act ♪
    Thank Joe. That sounds about right.
  • carlfink
    carlfink Community Member Posts: 1,099 ✭ Legend ✭
    I'm not very clear on what you're looking for ... maybe you could have multiple one-page quizzes? Lectora can easily calculate an average of them all for some kind of summative pass/fail.