0% found this document useful (0 votes)
3 views

Programming a Question Activity Sheet - 3 Star

The document provides a step-by-step guide on programming a short quiz using selection, duplication, and sequencing in Scratch. It outlines how to start the quiz, ask questions, create conditional statements, and display outcomes based on user responses. Additionally, it includes a challenge to enhance the quiz functionality by handling incorrect answers.

Uploaded by

tr.myathirilwin
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views

Programming a Question Activity Sheet - 3 Star

The document provides a step-by-step guide on programming a short quiz using selection, duplication, and sequencing in Scratch. It outlines how to start the quiz, ask questions, create conditional statements, and display outcomes based on user responses. Additionally, it includes a challenge to enhance the quiz functionality by handling incorrect answers.

Uploaded by

tr.myathirilwin
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Programming a Question

To be able to use selection, duplication and sequencing to create a short quiz.

1. How do I start the 2. How do I ask a question?


algorithm?
• Select a Sensing block and snap this in
underneath the Events block.
• Start with an Events block so that
when the green flag is clicked, the • Type a closed maths question into the
quiz can start. empty space.

3. How do I create a 4. How do I add an Operators


conditional statement? Block?

• Choose a Control block and snap this • Choose an Operators block and nest
underneath the Sensing block. this inside the Control block.

• Choose the answer block and nest this


inside the Operators block.

• Type the answer which relates to the


closed question into the Operators
5. How do I create the block.
outcomes?

• Select the Looks block and type in a Challenge


statement to reflect the answer as
Try to create code so that when the
being correct.
question is answered incorrectly, the
• Select another Looks block and type Looks block says ‘Try again.’ and the
in a statement to reflect the answer as code runs to repeat the same question
being incorrect. again.

Computing | Coding with Scratch: Questions and Quizzes | A Short Quiz | Lesson 2 visit twinkl.com
Programming a Question
To be able to use selection, duplication and sequencing to create a short quiz.

I can:

start a quiz by using an Events block;

type a question into an ask block;

use a conditional if…then…else… block;

insert an Operators block to set the correct answer;

display a message to congratulate players when they type the correct answer;

display a message to let players know they have typed the incorrect answer.

Computing | Coding with Scratch: Questions and Quizzes | A Short Quiz | Lesson 2 visit twinkl.com

You might also like