Search Header Logo

Quiz on Scratch: If and Else

Authored by Faiza Iqbal

Computers

3rd Grade

Used 1+ times

Quiz on Scratch: If and Else
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In Scratch 3, you are building a quiz game where a sprite asks a question and checks if the player's answer is correct. If the answer is correct, the sprite should say "Well done!" and if it is wrong, it should say "Try again!" Which sequence of blocks would best achieve this goal using an if-else structure?

Use only an "if" block and repeat the question if the answer is wrong

Use an "if-else" block where the "if" checks if the answer equals the correct answer, then says "Well done!" in the if section and "Try again!" in the else section

Use two separate "if" blocks, one checking if the answer is correct and another checking if it is wrong, without connecting them

Use a "forever" loop without any if-else block to keep checking the answer

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You are creating a quiz in Scratch 3 where a player scores points. The rule is: if the player answers correctly, add 10 points to the score; otherwise, subtract 5 points. You have a variable called "Score." Which plan best describes how to set up this logic using if-else?

Set the Score variable to 10 always, regardless of the answer

Use an if-else block where the condition checks if the answer is correct, changes Score by 10 in the if section, and changes Score by -5 in the else section

Use an if-else block where both sections add 10 points to the Score

Use a "wait" block before checking the answer and then add 10 points without any condition

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In your Scratch 3 quiz, you want the background to change to green if the answer is correct and red if the answer is wrong. You also want the sprite to move to a new position after each answer. How would you plan the order of blocks inside the if-else structure to achieve both effects correctly?

Place the background change block outside the if-else block so it always runs, and put the sprite movement inside

Inside the "if" section, place the block to switch backdrop to green and move the sprite; inside the "else" section, place the block to switch backdrop to red and move the sprite

Use only the backdrop change block and ignore the sprite movement entirely

Place all blocks after the if-else block so they run regardless of the answer

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You are designing a Scratch 3 quiz with 3 questions. After each question, the quiz should check the answer and keep track of how many questions the player got right using a variable called "Correct Answers." At the end, if the player got all 3 correct, the sprite should say "Perfect Score!" otherwise it should say "Keep Practising!" How would you plan this using if-else?

Use an if-else block only at the start of the quiz before any questions are asked

Use an if-else block after each question to add to "Correct Answers," and then use another if-else block at the end to check if "Correct Answers" equals 3 to display the correct message

Use a single if block at the end that only checks if the player got 1 question right

Use a "stop all" block after the first question regardless of the answer

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In Scratch 3, you want to create a quiz where the difficulty of the next question depends on whether the player answered the previous question correctly. If correct, the next question should be harder; if wrong, the next question should be easier. Which approach best uses if-else to plan this branching quiz structure?

Always show the same question regardless of the previous answer

Use an if-else block after each answer: in the "if" section, broadcast a message to trigger the harder question; in the "else" section, broadcast a message to trigger the easier question

Use a "repeat" block to show all questions in order without checking answers

Use only the "if" block and leave the else section empty so nothing happens when the answer is wrong

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You are building a Scratch 3 quiz where the player has only 2 chances to answer each question. You need to plan how to use if-else and a variable called "Attempts" to track this. If the player answers correctly on the first try, they get 10 points. If they answer correctly on the second try, they get 5 points. If both attempts are wrong, they get 0 points. Which plan best describes this logic?

Use a single if block that only checks the first attempt and ignores the second

Use nested if-else blocks: first check if the answer is correct and Attempts equals 1 to give 10 points; else check if the answer is correct and Attempts equals 2 to give 5 points; else give 0 points

Use a "forever" loop to keep asking the question until the player gets it right without tracking attempts

Set the score to 10 always and subtract points at the end of the quiz

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In Scratch 3, you are creating a quiz where a timer is running. If the player answers before the timer reaches 10 seconds, they get a bonus point. If they answer after 10 seconds, no bonus is given. You have a variable called "Timer." How would you plan the if-else structure to include this timer condition alongside checking if the answer is correct?

Ignore the timer and only check if the answer is correct using a simple if block

Use an if-else block where the condition checks if the answer is correct AND the Timer is less than 10; if true, add a bonus point; otherwise, do not add the bonus point

Use a "wait 10 seconds" block before checking the answer so the timer is always over 10

Use the timer only to stop the quiz and never use it inside an if-else block

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?