Need example of Visual Scripting for Quiz with score (10 questions)

Hi guys,
i want to make quiz filter, consisted of 10 questions. each questions will be scored as 10. so the maximum score will be 100. i need example of visual scripting how to make these questions in order until summary of the result too. There will be conclusion at the end of the quiz. For example if you scored 50, i will mention “your score is 50 and you are on medium level”. something like that. Can you share some files of visual script that has similar logic like my quiz? thanks

5 Likes

Thank you Tiktok, with your new effect house version update now i have example how to make this quiz! yeyyy

3 Likes

Can you please share a visual scripting example about how to alter the result based on the user score?
For if he scores 50 show medium level, if he scores 80 show master level etc.

Thanks in advance!

4 Likes

Hi, actually i want to make the same concept like yours but i havent got any idea about the visual scripting. I opened the one person quiz made by tiktok, but the example was little bit different. The total score can be higher than 100 as the questions are set to be repeated after 1 loop as long as there is remaining time. while i want to make quiz that stop after all 10 questions are revealed. and the total score should be 100 only (consist of 10 questions, each questions are equal to 10 points). i am still confuse about this.

3 Likes

Certainly! It sounds like you’re looking to create a visual script for a quiz with a scoring system and a conclusion based on the total score. While I can’t share files directly, I can provide you with a simplified explanation and pseudocode for achieving this in a hypothetical visual scripting tool. Here’s how you could structure the logic:

  1. Initialization:
  • Set a variable totalScore to 0.
  1. Question 1:
  • Display Question 1.
  • Provide answer choices and buttons.
  • When an answer is selected, add 10 to totalScore.
  1. Question 2 - Question 9 (Repeat for each question):
  • Display the next question.
  • Provide answer choices and buttons.
  • When an answer is selected, add 10 to totalScore.
  1. Question 10:
  • Display the last question.
  • Provide answer choices and buttons.
  • When an answer is selected, add 10 to totalScore.
  1. Calculate Result:
  • Check the value of totalScore.
  • Based on the score, determine the level (e.g., low, medium, high).
  • Display the conclusion message with the score and level.

In a visual scripting tool, you would likely connect different nodes or blocks to represent each step. Here’s a simplified textual representation of the logic using pseudocode:

vbnetCopy code

Initialize totalScore to 0.

Display Question 1 with answer choices.
On answer selected:
    Add 10 to totalScore.

Display Question 2 with answer choices.
On answer selected:
    Add 10 to totalScore.

... Repeat for Questions 3 to 9 ...

Display Question 10 with answer choices.
On answer selected:
    Add 10 to totalScore.

Calculate result:
If totalScore <= 30:
    Display "Your score is {totalScore} and you are on a low level."
Else if totalScore <= 70:
    Display "Your score is {totalScore} and you are on a medium level."
Else:
    Display "Your score is {totalScore} and you are on a high level."

Remember that the structure and design of the visual scripting may vary depending on the tool you are using. This is a conceptual representation, and you would need to adapt it to the specific visual scripting tool you’re working with.

2 Likes