Lesson 4 - Click the answer quiz

Create a quiz in Power Point
The quiz is already mostly done. Complete it by
filling in the boxes. Make sure your slides are in the
order you want them in your quiz.
Wherever you see a box with a dashed border,
click on it and type in the information.
When you are finished, save your work.
Create the JPG backdrops
After you have saved the file as a PPT file, each slide needs to be saved as a picture
file (JPG).
Click on “SAVE AS”.
Click on “Save as type:”
Scroll down the list to choose “JPEG” or it might say “JPG” File.
Save ALL slides in your STEM futures work folder.
Each slide
saves as an
individual
file called
“Slide #.jpg”
Open Scratch – Click the answer quiz
Open the “Click the answer quiz” file that you saved.
WHAT HAS ALREADY BEEN DONE FOR YOU:
1.
2.
Create a sprite for each
answer in your quiz.
If all questions are “A,
B, C, D”, create 4
sprites, then duplicate
each by the number of
questions.
Use the “Costume”
editor to change the
“Fill” colour of the
letters.
* This makes it easier to
keep track of which sprite
is on which slide.
If you are creating your own quiz
1.
Create a sprite for each answer in your quiz one of these ways:
Search ‘Google’ for some good pictures you can save.
Draw a sprite using a ‘Paint’ program.
Draw a sprite using the Scratch ‘Costume Editor’.
Use Sprites from the Scratch library.
2.
Upload each of your sprites if you ‘googled’ or ‘painted’ them.
Try to choose pictures without backgrounds.
You can use the ‘eraser’ in the editor to delete
some of the background on your sprite.
You can use the ‘fill’ bucket or other tools to
change the ‘costume’ of sprites that you
duplicate.
Upload the backdrops
1. Under ‘New backdrop’, click on
‘Upload’.
2. Find the JPG files you saved from your
Power Point presentation.
3. OPEN all of the files.
* SHORTCUT: If you hold down “Ctrl” while you click on
each of the files, you can open them all at once.
Sequence the backdrops
The “answer” slides need to be coded to appear
between the “question” slides.
The first slide needs to change when “any”
key is pressed.
The wait time to show the answer slides
should be anytime from 2 to 5 seconds.
Add a sound effect to the final slide.
* If you don’t have ‘answer’ slides, you don’t need to
do all of this step. Only the first block of code.
Showing the Multiple Choice Letters
The first “letter” sprite has been coded for you.
All of the sprites need to
“disappear” when the quiz starts.
The sprite needs to “re-appear”
when its question appears.
A “gong” sound will play if this sprite is the
wrong answer, and a “clapping” sound will
play if it is the right answer.
The sprite needs to “disappear”
again when the question changes.
Code the “A” answer sprite for Question 1
“Show” the “orange A” sprite when the
backdrop changes to “Slide2” (Australia
question)
“Hide” the “orange A” sprite when the
backdrop changes to “Slide3” (Australia
answer)
Add the “gong” sound effect
from the sound library.
Code the “B, C and D” answer sprites
SHORTCUT
Right click your mouse
to ‘tidy up’ your code.
Click and hold down the mouse button on
each sequence of code to drag it onto sprites
“B”, “C” and “D” and orange sprite “A”.
Drag the “hide” sequence onto ALL of the
other sprites too.
Add the sound effect to each sprite
SHORTCUT
Drag the “gong” sound effect to all of the
sprites.
Match the letter sprite to its answer
Drag each sprite so that each is
beside an answer.
For the sprite beside the right answer:
Add the “clapping” sound effect from the
sound library.
Add the code to switch to the next
backdrop (Australia answer slide).
You have completed Question 1!
Code a sprite for Question 2
“Show” the “green A” sprite when the backdrop
changes to “Slide4” (Canada question)
“Hide” the “green A” sprite when the backdrop
changes to “Slide5” (Canada answer)
Click and hold down the mouse button on each
sequence of code to drag it onto green sprites “B”,
“C” and “D” and yellow sprite “A”.
Drag each sprite so that each is beside an answer.
Add the “clapping” sound effect from the sound
library to the right answer.
Add the code to switch to the next backdrop
(Canada answer) to the right answer.
Repeat for Question 3.
Improve your quiz!
Now that you’ve got it, here are some ways that you might explore
to improve your quiz:
Add a scoring
function
Choose your
own quiz topic
Create different
backdrops in Power
Point
Add more
questions
Download pictures
of flags. Use ‘flag’
sprites as the
answers
Upload/record
your own
sounds