Discuss Scratch

rengistan
Scratcher
30 posts

How to make a quiz on scratch

Hello everyone! Have you ever wanted to make a quiz but don't know how to? Well, you've come to the right place! Here, you'll get to know how to make a quiz on Scratch!


First, think of a title for your quiz. It should be very catchy. But first, you need to think about what your questions will be based on. Do want it to be a quiz based on some famous book series? Or do you just want to ask random questions? It's all up to you!

Add a sprite to ask the questions and a backdrop to suit your quiz. If you can't find a backdrop suiting your quiz, then you can make one.

After you've done all that, then put this script in your project. You can type anything in the ask … and wait block. This is just a sample script to show you.

when green flag clicked
ask [What is the green pigment in plants called?] and wait
if <(answer) = [chlorophyll]> then
say [Good] for (2) secs


else
say [Wrong answer!] for (2) secs
end
ask [What is the food factory of plants?] and wait
if <(answer) = [leaves]> then
say [Wow!] for (2) secs



else
say [Wrong answer]for (2) secs
end

Continue like that until your questions are done.


Hope you make a good quiz!
rengistan














Last edited by rengistan (Feb. 8, 2018 07:00:22)

violet_raven
Scratcher
69 posts

How to make a quiz on scratch

rengistan wrote:

Hello everyone! Have you ever wanted to make a quiz but don't know how to? Well, you've come to the right place! Here, you'll get to know how to make a quiz on Scratch!


First, think of a title for your quiz. It should be very catchy. But first, you need to think about what your questions will be based on. Do want it to be a quiz based on some famous book series? Or do you just want to ask random questions? It's all up to you!

Add a sprite to ask the questions and a backdrop to suit your quiz. If you can't find a backdrop suiting your quiz, then you can make one.

After you've done all that, then put this script in your project. You can type anything in the ask … and wait block. This is just a sample script to show you.

when green flag clicked
ask [What is the green pigment in plants called?] and wait
if <[answer] = [chlorophyll]> then
say [Good] for (2) secs


else
say [Wrong answer!] for (2) secs
end

Continue like that until you're done with the questions in your quiz. And you're done with your quiz!





Hope you make a nice quiz!
rengistan.









I think you have pretty good code, but I have a few questions. First off, I believe that the part where it says “if answer = chlorophyll” should be
<(answer) = [chlorophyll]> 
Also, could you include an example of another question added on? There might be other people that are unsure of how to attach another question's code.

when green flag clicked
stop [whatever you're doing and go click the links below!]

Scratch the Seeker - great game that's challenging and fun
Midnight Run - a game where you need time and patience to make progress
Rocket Rush - a game that's out of this world
Octopus Attack - a clicker game that's not exactly about attacking an octopus
The Troll Game - game that admittedly takes a while to load


rengistan
Scratcher
30 posts

How to make a quiz on scratch

thanks for the advice! and thanks for pointing out the mistake. People would have made the wrong script for their quiz if no one pointed this out.

Last edited by rengistan (Feb. 8, 2018 06:59:12)

19siram-rangan
New to Scratch
1 post

How to make a quiz on scratch

wazzzzzzzzzzzap
PrincessFlowerTV
Scratcher
100+ posts

How to make a quiz on scratch

19siram-rangan wrote:

wazzzzzzzzzzzap
Hi there! welcome to the forums!
Please don't spam a random “wazzap”.

Hi! I'm PrincessFlowerTV.
Links:
My profile
Endless Imaginations
Scratch Wiki
My 1st post
Jazz flute
Mybluerobot.com


(Removed by KajTheModerator- Please create a more exciting siggy.)
violet_raven
Scratcher
69 posts

How to make a quiz on scratch

You're welcome!

when green flag clicked
stop [whatever you're doing and go click the links below!]

Scratch the Seeker - great game that's challenging and fun
Midnight Run - a game where you need time and patience to make progress
Rocket Rush - a game that's out of this world
Octopus Attack - a clicker game that's not exactly about attacking an octopus
The Troll Game - game that admittedly takes a while to load


Powered by DjangoBB

Standard | Mobile