Create a Quiz in scratch by following the instructions given below :
INSTRUCTIONS
There are five questions in the quiz.
Display the question with four options, A, B, C, and D.
The player has to choose any one option from the displayed choices.
The player has to give at least two correct answers to qualify the quiz.
For every correct answer, the player will score 20marks.
No negative marking is there for an incorrect answer.
Open a new project in scratch.
Delete the default cat sprite.
Add a new sprite to host the quiz. Here, we have added the Teacher sprite.
Select any suitable backdrop for the project of your choice. You can also download the backdrop the backdrop from the Internet.
Declare three variables, answers, clicked, and score using the Data block. The purpose of each variable is described below:
Answer variable - to store the value of the option clicked by the player,.i.e, A=1, B=2, C=3, and D=4.
Clicked variable - to store of the options button, i.e. if the value of clicked=1, it means the option is clicked and if the option value of clicked=0, it means the option is not clicked.
Score variable - to store the total score of the player.
Click on the checkbox of the score variable to display it on the stag. Uncheck the other two variables.