Quizzes are a nice way to assess your users' knowledge of a certain topic.
BRYTER offers the possibility to build knowledge tests, assessments, and quizzes within an Application.
To do that, follow these steps:
- Open a new path for the quiz within a Module (alternatively you can build the quiz in a separate Module) and start the quiz by adding a Content Only Input Node. In this Input Node, explain how the quiz works. For example, it could read “Welcome to the quiz. Use our quiz to assess yourself in x common scenarios to ensure you understand…”.
- After that, you might want to ask the user for their email address so that they can receive their quiz results via email. Add an Email Address Input Node.
- As you probably want to include a score calculation in your quiz, you now need to introduce the variable Score as a dummy variable which will be calculated and updated throughout the decision tree – your Node path. You do that by adding an Action Node, specifically a Calculate Action. Set the start to = 0.
- Another variable (besides the score) you might want to include in your tree is some sort of color or emoji for correct/incorrect answers. Thus the emoji is another variable you want to adjust during the decision tree (depending on the path the user takes). As an example, let us consider that later on in the Module correct answers will be depicted by a check symbol ✅ and incorrect answers by a red cross ❌. Just like the Score variable you have to introduce the emoji variable as a Text Block Value Node in your decision tree as a dummy variable. Just give the Node a name that you will use later in the Module when you specify this dummy variable’s value through updating, e.g., Emoji1 for Question 1, Emoji2 for Question 2, etc.
- Optional: Another variable you could set at the beginning is an emoji for the overall result. Just add another Text Block Value and name it e.g. ResultColor.
- Now let us start adding questions to the tree: insert a Single Select Input Node with the first question. You could name this Node Question1. Do not forget to add assigned values to the answer options. This way, the score can be calculated at the end of the Module.
- Continue by adding Content Only Input Nodes in two branches, one for a correct answer and one for an incorrect answer. You could name them Question1correct, Question1incorrect. In this Node, you respond that the given answer was correct/incorrect and why.
- These Nodes are followed by the Emoji1 Text Block Value Nodes. One Emoji1 Node for the correct answer, and another Emoji1 node one for the incorrect answer. They have the same name as the initial Text Block Value Node named Emoji, as Emoji is a general variable that takes on different values – or in this case emojis – during the process.
- Optional: Include an Empty Action Node as a buffer Node to merge these two branches again before you create Question2.
- Follow steps 4-8 for every question you want to add to the quiz.
- Once you have included all questions, (you might want to add an Empty Action Node again to visualize that this is the end of the questions), you calculate the score the user has achieved. You do this by adding a Calculate Action Node (give it the same name as the score dummy variable which was introduced at the beginning of the decision tree, this way it will update its value) where you add up the score values for each question. Start with the dummy variable Score by @-referencing the Node. Then add a + and @-reference Question1>Value etc.
- Calculate the overall score as a percentage by adding a Calculate Action (you could name it "percentage" or "%") and @-referencing the Score Node multiplied by 100 and divided by the number of questions. I.e., if you have 5 questions, it would be = Score*20. If you have 2 questions, it would be = Score*50
- Optional: You could stop there and just provide the user with the overall score. If you would like to add an emoji to the overall score, however, you could re-mention the before introduced variable ResultColor variable as a Text Block Value Node that takes on an emoji depending on the score percentage. Let us call this variable ResultColor. For under 20% this color could be a thumbs down emoji 👎, for a score between 20% and 40% it could be a handshake emoji 🤝, etc. Just adjust the Conditions in the Transitions between the % Node and the ResultColor Nodes.
- Merge all branches in an Empty Action Node. You could stop here and provide the user with a summary of the quiz results or create a dynamic document with the quiz result that also will be sent by email to the user at the completion of the quiz. To do so, add a Create Document Action to your Module. In the document, you can include placeholders for the Question Nodes and the Emoji Nodes you have created, the document can draw the overall percentage from the % Node and you can show the result emoji by also adding a placeholder for ResultColor.
- Finish the Module by adding an Input Node that summarizes all questions and answers.
- Also, you could email the result by adding a Send Email Action Node. And finally, finish the Module by inserting a Result Node. Remember: by @-referencing the Create Document Node, you can make the document available for the user here as well.
Tips and tricks: do not forget to add little details like a link back to other Nodes if convenient. You will find that function within an Input Node under + Insert.