Retake Course before Retake Quiz after first Failure

Intro

This short blog post is meant as an answer to a question posted today in the eLearning Community. Reason: it is not the first time I answered a similar question, will save me time when i can point to this post. This was the thread:

https://elearning.adobe.com/2018/08/retake-course-failing-quiz/

Situation was here a quiz preceded by content slides. The learner had two attempts on quiz level. After a first failure he should view the content slides again.  I will explain how to change the proposed solution if you have more than 2 attempts and want the watching of the content only to happen after a second (or later) failure.

Example movie

Watch this published short example: there is only one content slide after the title slide.  The quiz (3 questions) has two attempts. Make sure you fail on the first attempt, and you’ll be navigated back to the content slide before being able to start the second attempt:

Play

Solution

To achieve this I used a single advanced action, triggered by the On Enter event of the score slide. That action will check the value of two Quizzing system variables (you can read about those, and download a free table from this article):

  1. cpQuizInfoAttempts: that variable will be incremented when the Retake button is pressed. After the first Quiz attempt, on entering the score slide it will have the value 1.
  2. cpQuizInfoPassFail: is a Boolean, with value = 0 if the learner has failed, and value = 1 if he has passed.

Look at the advanced action:

The condition requires that it is the first attempt and that the learner failed at that attempt. If that is the case, the navigation is to the first content slide (content slides are before the quiz). If it is the second attempt, Continue will have the score slide appear with the results. After the first attempt that score slide will not be shown.

This action can be edited. If the number of attempts is 3, and the navigation to the content slides has to happen only after the second failure, the condition has to be modified to:

IF cpQuizInfoAttempts is equal to 2 AND cpQuizInfoPassFail is equal to 0

In this situation the score slide will appear after the first failure, and the user will have to press the Retake button for the second attempt. If you are not in a Fluid Boxes project I would recommend to drag the Review button under the Retake button in that case. That will prevent that the learner clicks the Review button, which would cancel all future attempts on quiz level. For a Fluid Boxes responsive project however this is impossible because you cannot have two objects stacked in the same location.

BTW: you can also use this workflow for question slides inserted on hotspots in a 360° image or video, and in an interactive project which has question slides.

The post Retake Course before Retake Quiz after first Failure appeared first on eLearning.

If possible to access on anytime that two buttons (Retake quiz and review quiz) in result slide.

I have inserted two buttons (Retake quiz and review quiz) in results slide. First, I’m clicking the review button going to showing them which is a correct and wrong answer, then come back result slide retake button hiding.

If possible to access on anytime that two buttons (Retake quiz and review quiz).

The post If possible to access on anytime that two buttons (Retake quiz and review quiz) in result slide. appeared first on eLearning.

Drag&Drop in Review mode?

Intro

Drag&Drop slides are very close to the other Quiz slides, but they do not have totally the same functionality.  One of the lacking features is the ability to show which answers were given, which were correct and incorrect, during Review. That question pops up regularly in the forums. I tried to find a workaround that is not totally satisfactory, but comes close. It also a good example to see the difference between InBuilt states and Custom states. Very often I see some confusion about those stat typess. Start by watching this

Example Movie

Tes movie has only one Drag&Drop slide in the Quiz. Quiz is set up with 2 attempts on quiz level, Retake button will appear after the first attempt in case of failure. After passing the quiz or after the last attempt the Review button will appear. To avoid the usual confusion between Retake and Review, I dragged the Retake button under the Review button.

The D&D slide is set up as scored slide by turning on Reporting. If you don’t do that, it would be considered as a Knowledge Check slide, and reset immediately after leaving the slide. Clcik on this arrow to start viewing the movie.

Play

Setup

States Drop Target (InBuilt)

The trapezoid shape which is used as drop target, will accept all drag sources. They will be tiled when dropped on the target, both size and opacity are reduced a bit. All drop targets (and drag sources) can have several InBuilt states as I explained in this post: States for D&D Objects.

Some of those states appear only temporarily but two InBuilt states will replace the Normal state definitely: the DropCorrect and the DropIncorrect state. Both appear after clicking the Submit button, and – for a scored D&D slide – will also be retained after leaving the slide and revisiting it during Review. I added those two states to the Drop target:

Typical for InBuilt states is that they only occur in specific situations,  as a developer you do not have the control like for custom states. In the mvoie you will have seen, based on your answer, one of these two states appear during Review.

States Drag Sources (custom)

Although drag sources have InBuilt states as well, none of them is suitable to help showing which sources were dragged correctly or wrongly during Review.  I need to control when the states appear, only during Review, which means I need to create a custom state for each of the drag sources.  Here is the object state panel for one of them:

The labeling of states allows to reuse the same state name for multiple items I sued ‘ReviewMode’ as state name for all the drag sources ‘(6).

I used the possibility to fill a shape with an image, and it still accept text.

Advanced Action EnterDD

Since a copule of versioss the system variable cpInReviewMode is exposed and can be used by developers. I used it to create this easily understandable advanced action, which will change the state for all the drag sources when the learner is reviewing the quiz. There is o need for a THEN part:

Some comments

Although Retake seems to clear the previous dragging actions, after taking two attempts, during Review you’ll see that all the drag sources which have been moved during the two attempts appear in the Drop target. I couldn’t figure ot how to avoid that, nor if  this is by design or a ‘bug’.  If I ever find an answer, will edit this blog post for sure.

Due to the way te score slide is designed (Continue button has to be clicked) it is good practice to add at least one slide after the Score slide. You’ll reach it when clcking the Continue button.

The post Drag&Drop in Review mode? appeared first on eLearning.