{"id":1016,"date":"2024-06-12T16:34:22","date_gmt":"2024-06-12T16:34:22","guid":{"rendered":"https:\/\/wordpress.moodleanswers.com\/randomizing-quiz-questions-in-moodle\/"},"modified":"2025-10-09T20:20:47","modified_gmt":"2025-10-09T20:20:47","slug":"randomizing-quiz-questions-in-moodle-2","status":"publish","type":"post","link":"https:\/\/sites.ulethbridge.ca\/moodle-answers\/2024\/06\/12\/randomizing-quiz-questions-in-moodle-2\/","title":{"rendered":"Randomizing Quiz Questions in Moodle"},"content":{"rendered":"<p>When adding questions to a quiz in Moodle you can choose to keep those questions in order, randomly select from categories, or create new questions as you go along.\u00a0In this tutorial, we will show you how to randomize questions in your Moodle quiz.<\/p>\n<p><!--more--><\/p>\n<p>To begin, click on the quiz you want to add questions to.<\/p>\n<p>From here, click on the <strong>Questions\u00a0<\/strong>tab at the top. This will take you into the editing quiz page.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\" size-full wp-image-558\" src=\"https:\/\/wordpress.moodleanswers.com\/wp-content\/uploads\/2015\/08\/quiz_questions-f83.png\" width=\"564\" height=\"145\" data-path=\"local-images:\/New Theme 4.1\/quiz_questions.png\" srcset=\"https:\/\/sites.ulethbridge.ca\/moodle-answers\/files\/2015\/08\/quiz_questions-f83.png 564w, https:\/\/sites.ulethbridge.ca\/moodle-answers\/files\/2015\/08\/quiz_questions-f83-300x77.png 300w\" sizes=\"auto, (max-width: 564px) 100vw, 564px\" \/><\/p>\n<p>On the right, you will notice a drop down list called <strong>Add<\/strong>. Click on the list and then choose <strong>+ a random question<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\" size-full wp-image-559\" src=\"https:\/\/wordpress.moodleanswers.com\/wp-content\/uploads\/2015\/08\/add_random_q_nt2-65d.png\" alt=\"\" width=\"301\" height=\"326\" srcset=\"https:\/\/sites.ulethbridge.ca\/moodle-answers\/files\/2015\/08\/add_random_q_nt2-65d.png 301w, https:\/\/sites.ulethbridge.ca\/moodle-answers\/files\/2015\/08\/add_random_q_nt2-65d-277x300.png 277w\" sizes=\"auto, (max-width: 301px) 100vw, 301px\" \/><\/p>\n<p>Choose the category from which you want Moodle to pull the random question(s) from. Then choose &#8216;APPLY FILTERS&#8217;. Without first clicking on this, the questions showing may be from a different category. You must choose &#8216;Apply Filters&#8217; to activate that category.<\/p>\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"786\" height=\"318\" src=\"https:\/\/sites.ulethbridge.ca\/moodle-answers\/files\/2024\/06\/Screenshot-2025-08-22-at-2.47.23\u202fPM.png\" alt=\"\" class=\"wp-image-4173\" srcset=\"https:\/\/sites.ulethbridge.ca\/moodle-answers\/files\/2024\/06\/Screenshot-2025-08-22-at-2.47.23\u202fPM.png 786w, https:\/\/sites.ulethbridge.ca\/moodle-answers\/files\/2024\/06\/Screenshot-2025-08-22-at-2.47.23\u202fPM-300x121.png 300w, https:\/\/sites.ulethbridge.ca\/moodle-answers\/files\/2024\/06\/Screenshot-2025-08-22-at-2.47.23\u202fPM-768x311.png 768w\" sizes=\"auto, (max-width: 786px) 100vw, 786px\" \/><\/figure>\n\n\n\n<p>In this example, there are 8 questions in the category and we want Moodle to randomly pull 4 of the 8 questions into the exam. Once you have chosen your category, and clicked on Apply Filters, click on the drop down list to choose the number of questions you would like randomized. This could be one, all, or any in between.<\/p>\n\n\n\n<p><strong>NOTE:<\/strong> In an exam attempt, Moodle will not choose the same question twice from any given category.<\/p>\n\n\n\n<p>Next, click on <strong>Add Random Question<\/strong>&nbsp;at the bottom.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"789\" height=\"140\" src=\"https:\/\/sites.ulethbridge.ca\/moodle-answers\/files\/2024\/06\/Screenshot-2025-08-22-at-2.50.21\u202fPM.png\" alt=\"\" class=\"wp-image-4176\" srcset=\"https:\/\/sites.ulethbridge.ca\/moodle-answers\/files\/2024\/06\/Screenshot-2025-08-22-at-2.50.21\u202fPM.png 789w, https:\/\/sites.ulethbridge.ca\/moodle-answers\/files\/2024\/06\/Screenshot-2025-08-22-at-2.50.21\u202fPM-300x53.png 300w, https:\/\/sites.ulethbridge.ca\/moodle-answers\/files\/2024\/06\/Screenshot-2025-08-22-at-2.50.21\u202fPM-768x136.png 768w\" sizes=\"auto, (max-width: 789px) 100vw, 789px\" \/><\/figure>\n\n\n\n<p>You will now have 4 randomly selected questions from your category showing in your quiz.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"812\" height=\"1037\" src=\"https:\/\/wordpress.moodleanswers.com\/wp-content\/uploads\/2015\/08\/10_questions-55a.png\" alt=\"\" class=\"wp-image-562\" srcset=\"https:\/\/sites.ulethbridge.ca\/moodle-answers\/files\/2015\/08\/10_questions-55a.png 812w, https:\/\/sites.ulethbridge.ca\/moodle-answers\/files\/2015\/08\/10_questions-55a-235x300.png 235w, https:\/\/sites.ulethbridge.ca\/moodle-answers\/files\/2015\/08\/10_questions-55a-802x1024.png 802w, https:\/\/sites.ulethbridge.ca\/moodle-answers\/files\/2015\/08\/10_questions-55a-768x981.png 768w\" sizes=\"auto, (max-width: 812px) 100vw, 812px\" \/><\/figure>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>When adding questions to a quiz in Moodle you can choose to keep those questions in order, randomly select from categories, or create new questions as you go along.\u00a0In this tutorial, we will show you how to randomize questions in your Moodle quiz.<\/p>\n","protected":false},"author":67,"featured_media":1938,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","_links_to":"","_links_to_target":""},"categories":[4],"tags":[41,70,115],"class_list":["post-1016","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-quizzes","tag-moodle","tag-quiz","tag-random-question"],"_links":{"self":[{"href":"https:\/\/sites.ulethbridge.ca\/moodle-answers\/wp-json\/wp\/v2\/posts\/1016","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sites.ulethbridge.ca\/moodle-answers\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sites.ulethbridge.ca\/moodle-answers\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sites.ulethbridge.ca\/moodle-answers\/wp-json\/wp\/v2\/users\/67"}],"replies":[{"embeddable":true,"href":"https:\/\/sites.ulethbridge.ca\/moodle-answers\/wp-json\/wp\/v2\/comments?post=1016"}],"version-history":[{"count":4,"href":"https:\/\/sites.ulethbridge.ca\/moodle-answers\/wp-json\/wp\/v2\/posts\/1016\/revisions"}],"predecessor-version":[{"id":4177,"href":"https:\/\/sites.ulethbridge.ca\/moodle-answers\/wp-json\/wp\/v2\/posts\/1016\/revisions\/4177"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/sites.ulethbridge.ca\/moodle-answers\/wp-json\/wp\/v2\/media\/1938"}],"wp:attachment":[{"href":"https:\/\/sites.ulethbridge.ca\/moodle-answers\/wp-json\/wp\/v2\/media?parent=1016"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sites.ulethbridge.ca\/moodle-answers\/wp-json\/wp\/v2\/categories?post=1016"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sites.ulethbridge.ca\/moodle-answers\/wp-json\/wp\/v2\/tags?post=1016"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}