Discuss Scratch

rengistan
Scratcher
58 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)


when green flag clicked
forever
imagine :: motion
program :: sound
share :: operators
end
violet_raven
Scratcher
100+ 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
forever
stop [whatever you're doing and go click the links below!]
end


Open “Mid-Air” PMV | Lemonade Tycoon | Art Dump | Pun Wars | Scratch World Animation


rengistan
Scratcher
58 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)


when green flag clicked
forever
imagine :: motion
program :: sound
share :: operators
end
19siram-rangan
New to Scratch
1 post

How to make a quiz on scratch

wazzzzzzzzzzzap
PrincessFlowerTV
Scratcher
1000+ 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”.

PrincessFlowerTV ✿
~~ Teen ~~ Christan ~~ Homeschooled ~~ Forum Helper ~~ Wiki Editor ~~


Check out my blog you won't regret it :3
violet_raven
Scratcher
100+ posts

How to make a quiz on scratch

You're welcome!

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


Open “Mid-Air” PMV | Lemonade Tycoon | Art Dump | Pun Wars | Scratch World Animation


Powered by DjangoBB

Standard | Mobile