FA info icon.svg Angle down icon.svg Medical knowledge page data

This quiz shows examples of how to use the simplest, most common types of quizzes.

If this is your first time building a quiz, try it out first, and click "submit" to get a feel for how it works and what the feedback looks like (the correct/incorrect can be confusing to some).

Then go into "Edit Source" to see the structure and how to use these types of questions, you cannot (yet) use visual editor for setting up the question form, but you can use it to tweak wording later. While you are in "Edit Source", do two quick edits before you start writing in quiz questions:

  1. The banner at the top is autoloaded as part of creating the page. It shows up at the very top as {{GSTC notice}} when you use "Edit Source". Replace the generic GSTC banner with your own.
  2. You will also want to edit the "Part of" section to refer to the top level module page that this is part of so that users can easily navigate back to the main content

Any instructions that are not part of the questions must sit here above the "quiz display" indicator.

1 What do I do if I want to code for a single correct answer?

The correct answer.
Wrong or misleading answer.
Wrong or misleading answer.
Wrong or misleading answer.

2 How do I allow the user to choose several correct answers?

The correct answer.
Wrong or misleading answer.
Another correct answer.
Wrong or misleading answer.
As many extra wrong answers as you would like

3 Can I use either the round or the square brackets for a True/False question?

TRUE
FALSE

4 Can I have the user type an answer in to a field?

It turns out that

you can, but the answers are case sensitive and specific, so you need to include all the variants you would accept, and the spaces before and after the answer choices inside the brackets are important

5 What happens after I click "Submit"?

The quiz is graded
Nothing (incorrect answer, but try it)

6 These aren't enough! Can I make tabular quizzes, add images/videos and otherwise make really sophisticated quizzes? (Check all that apply)

Yes
Examples on the most common types are given here: more quiz examples
If you really want to go deep there are many options the full quiz help site


FA info icon.svg Angle down icon.svg Page data
SDG SDG03 Good health and well-being
License CC-BY-SA-4.0
Language English (en)
Related 0 subpages, 0 pages link here
Aliases Preload:Quiz
Impact 303 page views
Created March 23, 2021 by Emilio Velis
Modified February 10, 2023 by Felipe Schenone
Cookies help us deliver our services. By using our services, you agree to our use of cookies.