Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-59081

Improve the UX of lessons with several question attempts

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.7
    • Fix Version/s: 3.7
    • Component/s: Lesson
    • Labels:
    • Testing Instructions:
      Hide
      • Make sure to have a two courses with at least three (3) students enrolled.
      1. Create a lesson with the following settings configured.
        • Flow control > Provide option to try a question again - Yes
        • Flow control > Maximum number of attempts - 2

      Normal catch all test

      1. Add a question page - Select Numerical.
      2. Add a title and contents as required.
      3. Add a correct answer in Answer 1.
      4. Set the jump to the next page.
      5. Scroll down to the bottom to "All other answers"
      6. Check enabled.
      7. Add some text to the response.
      8. Save the question.
      9. Add a new page... - A question page - Select short answer.
      10. Add a title and contents as required.
      11. Add a correct answer in Answer 1.
      12. Set the jump to the next page.
      13. Scroll down to the bottom to "All other answers"
      14. Check enabled.
      15. Add some text to the response.
      16. Save the question.
      17. Add a new page... - A content page.
      18. Add a page title and call it "Other answer page"
      19. Add some text in the contents section.
      20. In Content 1 add a description of some sort, it will lead to the end of the lesson.
      21. Set the Jump to End of lesson.
      22. Create another content page.
      23. Add a page title and call it "Good ending"
      24. Add some content.
      25. In Content 1 add a description of some sort, it will lead to the end of the lesson.
      26. Set the jump to End of lesson.
      27. Edit both the numerical and short answer questions.
      28. Scroll down to the "All other answers" section.
      29. Check that the checkbox is still enabled and that the response text is still there.
      30. For both question types update the "All other answers jump" to point to the "Other answer page" content page.
      31. For the short answer question (This should be the second question) update the Answer 1 jump to point to "Good ending".
      32. Log in as a student.
      33. Go to the lesson.
      34. Answer the numerical question incorrectly.
      35. Click on the button that says "No, I just want to go on to the next question"
      36. Check that you are sent to the "Other answer page" (as per the jump configuration).
      37. Log in as a different student and take the lesson again.
      38. Answer the first question incorrectly again.
      39. Click the "Yes, I'd like to try again" button.
      40. This time answer the question correctly.
      41. Check that you are sent to the next question (unless you filled in something in the response, then you will see a page with the content for the response).
      42. Answer the short answer question incorrectly.
      43. Click the "No, I just want to go on to the next question" button.
      44. Check that you are sent to the "Other answer page".
      45. End the lesson.
      46. Log in as a different student once again and take the lesson.
      47. This time answer all questions correctly.
      48. Check that you end on the "Good ending" page.

      Duplicating the lesson.

      1. Log in as a teacher or admin.
      2. Turn editing on.
      3. Duplicate the lesson (This is an option in the edit menu next to the lesson).
      4. Enter the duplicated lesson.
      5. Click the edit button on both the numerical and short answer questions.
      6. Check that the "All other answers" section is enabled, has the correct jump, and has the same response text.

      Setting the all other answers section as the correct response.

      • We will be updating the copy of the first lesson.
      1. Enter the lesson.
      2. Update the numerical question and set the score for Answer 1 to 0.
      3. set the jump for Answer 1 to "other answer page".
      4. Set the score for All other answers to 1.
      5. Set the jump for All other answer to "Next page".
      6. Update the short answer question and set the score for Answer 1 to 0.
      7. set the jump for Answer 1 to "other answer page".
      8. Set the score for All other answers to 1.
      9. Set the jump for All other answers to "Good ending".
      10. Login as a student and start the lesson.
      11. Answer the first question by giving the response for Answer 1 (currently set as incorrect).
      12. Click on "Yes, I'd like to try again"
      13. This time provide any other numerical value.
      14. Check that you are moved to the next question.
      15. Answer the second question by giving the response for Answer 1 (currently set as incorrect).
      16. Click on "Yes, I'd like to try again"
      17. This time type in any text that is not the same as the first answer given.
      18. Check that you are now shown the "Good ending" page.
      19. Log in as a different student and take the lesson.
      20. For the first question give the response for Answer 1 (currently set as incorrect).
      21. Click on "No, I just want to go on to the next question" button.
      22. Check that you are taken to the "Other answer page".
      23. Log in as the third student and take the lesson.
      24. Answer the first question correctly to move to the second question.
      25. Answer the second question incorrectly.
      26. Click on "No, I just want to go on to the next question" button.
      27. Check that you are taken to the "Other answer page".

      Creating a lesson with the catch all section disabled (Checking for double up of continue buttons)

      1. Create a new lesson with the same settings at the ones listed above.
      2. Add a numerical question.
      3. Add an answer and set the jump to the next page. Ensure that the score is 1.
      4. Add a short answer question.
      5. Add an answer and set the jump to the next page. Ensure that the score is 1.
      6. Add a content page.
      7. Add a description for Content 1 and set the jump to "End of lesson"
      8. Log in as a student and take the lesson.
      9. Answer the first question incorrectly.
      10. Check that there is only one button with the text "Yes, I'd like to try again" and there is no button that says "No, I just want to go on to the next question"
      11. continue with the lesson and answer the question correctly.
      12. Next answer the short answer question incorrectly.
      13. Check that there is only one button with the text "Yes, I'd like to try again" and there is no button that says "No, I just want to go on to the next question"

      Backup and restore.

      1. With the first lesson that you created (hopefully you didn't delete it) back it up.
        1. Go into the lesson and depending on if you are using boost or clean go to the administration block / settings cog and select Backu.
        2. It's fine to click the button "Jump to final step"
      2. If you don't have a second course, then create one.
      3. Go back to the restore page (You will have to go back into the activity that you backed up the lesson from).
      4. Restore the lesson into the second course. All other settings are fine as default.
      5. Go to the course that you just restored the lesson into.
      6. Check that the "All other answers" sections for the numerical and short answer questions is intact (Enabled with the correct response, jump, and score).
      Show
      Make sure to have a two courses with at least three (3) students enrolled. Create a lesson with the following settings configured. Flow control > Provide option to try a question again - Yes Flow control > Maximum number of attempts - 2 Normal catch all test Add a question page - Select Numerical. Add a title and contents as required. Add a correct answer in Answer 1. Set the jump to the next page. Scroll down to the bottom to "All other answers" Check enabled. Add some text to the response. Save the question. Add a new page... - A question page - Select short answer. Add a title and contents as required. Add a correct answer in Answer 1. Set the jump to the next page. Scroll down to the bottom to "All other answers" Check enabled. Add some text to the response. Save the question. Add a new page... - A content page. Add a page title and call it "Other answer page" Add some text in the contents section. In Content 1 add a description of some sort, it will lead to the end of the lesson. Set the Jump to End of lesson. Create another content page. Add a page title and call it "Good ending" Add some content. In Content 1 add a description of some sort, it will lead to the end of the lesson. Set the jump to End of lesson. Edit both the numerical and short answer questions. Scroll down to the "All other answers" section. Check that the checkbox is still enabled and that the response text is still there. For both question types update the "All other answers jump" to point to the "Other answer page" content page. For the short answer question (This should be the second question) update the Answer 1 jump to point to "Good ending". Log in as a student. Go to the lesson. Answer the numerical question incorrectly. Click on the button that says "No, I just want to go on to the next question" Check that you are sent to the "Other answer page" (as per the jump configuration). Log in as a different student and take the lesson again. Answer the first question incorrectly again. Click the "Yes, I'd like to try again" button. This time answer the question correctly. Check that you are sent to the next question (unless you filled in something in the response, then you will see a page with the content for the response). Answer the short answer question incorrectly. Click the "No, I just want to go on to the next question" button. Check that you are sent to the "Other answer page". End the lesson. Log in as a different student once again and take the lesson. This time answer all questions correctly. Check that you end on the "Good ending" page. Duplicating the lesson. Log in as a teacher or admin. Turn editing on. Duplicate the lesson (This is an option in the edit menu next to the lesson). Enter the duplicated lesson. Click the edit button on both the numerical and short answer questions. Check that the "All other answers" section is enabled, has the correct jump, and has the same response text. Setting the all other answers section as the correct response. We will be updating the copy of the first lesson. Enter the lesson. Update the numerical question and set the score for Answer 1 to 0. set the jump for Answer 1 to "other answer page". Set the score for All other answers to 1. Set the jump for All other answer to "Next page". Update the short answer question and set the score for Answer 1 to 0. set the jump for Answer 1 to "other answer page". Set the score for All other answers to 1. Set the jump for All other answers to "Good ending". Login as a student and start the lesson. Answer the first question by giving the response for Answer 1 (currently set as incorrect). Click on "Yes, I'd like to try again" This time provide any other numerical value. Check that you are moved to the next question. Answer the second question by giving the response for Answer 1 (currently set as incorrect). Click on "Yes, I'd like to try again" This time type in any text that is not the same as the first answer given. Check that you are now shown the "Good ending" page. Log in as a different student and take the lesson. For the first question give the response for Answer 1 (currently set as incorrect). Click on "No, I just want to go on to the next question" button. Check that you are taken to the "Other answer page". Log in as the third student and take the lesson. Answer the first question correctly to move to the second question. Answer the second question incorrectly. Click on "No, I just want to go on to the next question" button. Check that you are taken to the "Other answer page". Creating a lesson with the catch all section disabled (Checking for double up of continue buttons) Create a new lesson with the same settings at the ones listed above. Add a numerical question. Add an answer and set the jump to the next page. Ensure that the score is 1. Add a short answer question. Add an answer and set the jump to the next page. Ensure that the score is 1. Add a content page. Add a description for Content 1 and set the jump to "End of lesson" Log in as a student and take the lesson. Answer the first question incorrectly. Check that there is only one button with the text "Yes, I'd like to try again" and there is no button that says "No, I just want to go on to the next question" continue with the lesson and answer the question correctly. Next answer the short answer question incorrectly. Check that there is only one button with the text "Yes, I'd like to try again" and there is no button that says "No, I just want to go on to the next question" Backup and restore. With the first lesson that you created (hopefully you didn't delete it) back it up. Go into the lesson and depending on if you are using boost or clean go to the administration block / settings cog and select Backu. It's fine to click the button "Jump to final step" If you don't have a second course, then create one. Go back to the restore page (You will have to go back into the activity that you backed up the lesson from). Restore the lesson into the second course. All other settings are fine as default. Go to the course that you just restored the lesson into. Check that the "All other answers" sections for the numerical and short answer questions is intact (Enabled with the correct response, jump, and score).
    • Affected Branches:
      MOODLE_37_STABLE
    • Fixed Branches:
      MOODLE_37_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-59081-master

      Description

      This is a follow-up of MDL-59068.

      The combination of the settings "Maximum number of attempts" and "Provide option to try a question again" should be improved since it can be confusing. Some examples:

      • The default value of jumps could be "Next page" instead of "This page".
      • The text of the button could be improved.
      • We could show only 1 button if both buttons (Yes/No) point to the same page.

        Attachments

        1. Test 1.png
          Test 1.png
          134 kB
        2. Test 2.PNG
          Test 2.PNG
          55 kB
        3. Test 3.PNG
          Test 3.PNG
          76 kB
        4. Test 4.PNG
          Test 4.PNG
          80 kB
        5. Test 5.PNG
          Test 5.PNG
          60 kB

          Issue Links

            Activity

              People

              • Votes:
                4 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  20/May/19

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 4 hours
                  4h