0% found this document useful (0 votes)
58 views13 pages

Scratch Quiz Coding Concepts Explained

The document is a Scratch Coding Questionnaire divided into five sets, each containing multiple parts focused on understanding code, logic, application, and design challenges related to creating a quiz game. It includes multiple-choice questions, scenario-based questions, and open-ended prompts to encourage deeper thinking about programming concepts and game design. The questionnaire aims to assess knowledge of Scratch programming and the ability to apply that knowledge creatively in game development.

Uploaded by

gknew2018
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
58 views13 pages

Scratch Quiz Coding Concepts Explained

The document is a Scratch Coding Questionnaire divided into five sets, each containing multiple parts focused on understanding code, logic, application, and design challenges related to creating a quiz game. It includes multiple-choice questions, scenario-based questions, and open-ended prompts to encourage deeper thinking about programming concepts and game design. The questionnaire aims to assess knowledge of Scratch programming and the ability to apply that knowledge creatively in game development.

Uploaded by

gknew2018
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

🟡 Part A: Understanding the Code

1.​What block starts the program when the green flag is clicked?​
A. when sprite clicked​
B. when green flag clicked​
C. when space key pressed​
D. when I receive message​

2.​What is the purpose of the pick random (1 to 10) block?​


A. To choose the correct answer​
B. To make each question different​
C. To control time​
D. To change the background​

3.​Which variable holds the user’s input for the question?​


A. Answer​
B. Score​
C. Question#​
D. Result​

🟢 Part B: Logic & Flow


4.​What happens if the user's answer is correct?​
A. Nothing​
B. The game ends​
C. The score increases​
D. A sound plays​

5.​Which Scratch block is used to check if two values are equal?​


A. if < > then​
B. repeat until​
C. set [variable] to [value]​
D. wait [1] seconds​

6.​Why are math symbols like +, -, ×, and ÷ used in the program?​


A. For decoration​
B. To confuse the player​
C. To decide which operation the question asks​
D. To end the quiz​

🔵 Part C: Deeper Thinking


7.​The code uses this block to ask the user a question:​
ask [What is 5 + 3?] and wait​

○​ What happens after this block runs?​

8.​What does the join [ ] [ ] block do in the question display?​


A. Adds numbers together​
B. Joins words and numbers into one sentence​
C. Starts a loop​
D. Waits for input​

9.​Why is a forever loop or repeat until loop useful in a quiz game?​


A. It helps move the sprite​
B. It lets the program run only once​
C. It checks repeatedly for answers or conditions​
D. It resets the game​
🟣 Part D: Open Ended
10.​ How would you modify this program to make it a timed quiz?​

11.​ If the player answers incorrectly, how could you give feedback
or hints?

💻 Scratch Coding Questionnaire – Set 2


🟡 Part A: Concepts & Blocks
1.​Which block is used to compare whether the user's answer is
correct?​
A. if < > then​
B. repeat​
C. switch costume to​
D. change x by​

2.​What does the set [Score] to 0 block do at the start of the quiz?​
A. Sets the question number​
B. Starts the timer​
C. Resets the player's score​
D. Ends the game​

3.​Which of these blocks stores a value that can change while the
game runs?​
A. forever​
B. variable​
C. broadcast​
D. wait​
🟢 Part B: Applying Logic
4.​If you want the quiz to stop after 10 questions, what block would
you use?​
A. repeat 10​
B. forever​
C. wait until​
D. glide 1 secs to x: y:​

5.​How can you make sure division questions don’t result in


decimals or errors?​
A. Only use even numbers​
B. Make sure the first number is divisible by the second​
C. Ask the player to round​
D. Avoid using division​

6.​What happens if you don’t use wait until after a question is


asked?​
A. The sprite disappears​
B. The program skips the question before the player answers​
C. The game crashes​
D. Nothing changes​

🔵 Part C: Scenario-Based
7.​You want the game to randomly choose between addition and
subtraction. Which blocks would you use together?​
A. pick random, join, if​
B. ask, repeat, broadcast​
C. wait, go to x: y:, show​
D. glide, hide, next costume​
8.​If a player gets the answer wrong, how could you display the
correct answer?​
A. Use a say block after the else in an if else​
B. Reset the game​
C. Play a sound​
D. Move the sprite​

9.​What will happen if the answer block is not used correctly?​


A. The user won’t be able to type answers​
B. The game will always mark answers as wrong​
C. The questions won’t appear​
D. The sprite will disappear​

🟣 Part D: Open-Ended Thinking


10.​ What could you add to the game to make it more fun or
educational?​

11.​ How would you keep track of how many questions a player
answered correctly?​

12.​ Describe how the ask and answer blocks work together in a
Scratch quiz.​
Scratch Coding Questionnaire – Set 3

🟡 Part A: Code Understanding


1.​Which block lets you repeat a group of blocks a certain number
of times?​
A. repeat​
B. if​
C. wait​
D. broadcast​

2.​What is the purpose of using ask [ ] and wait in a Scratch


project?​
A. To show a message​
B. To get input from the player​
C. To move a sprite​
D. To wait for a costume change​

3.​What Scratch feature allows you to store and update changing


values, like score or questions?​
A. Costumes​
B. Backdrops​
C. Variables​
D. Sprites

🟢 Part B: Game Logic


4.​How can you use broadcast [message] in a quiz game?​
A. To change the background​
B. To switch between quiz screens or stages​
C. To move the sprite​
D. To ask math questions​
5.​If you want to check both the question number and the answer
together, what coding concept should you use?​
A. A costume​
B. A loop​
C. A compound if with and​
D. A forever block​

6.​What Scratch block would help you make random questions like
“What is 7 × 3?”​
A. pick random​
B. switch costume​
C. go to x: y:​
D. glide 1 secs to​

🔵 Part C: Debugging & Design


7.​A student’s quiz always shows the same question. What is most
likely missing?​
A. A repeat block​
B. A pick random block​
C. A sprite​
D. A sound effect​

8.​Why is it important to reset variables (like score) at the start of


the quiz?​
A. So the sprite looks better​
B. To stop the quiz​
C. So previous data doesn't affect new games​
D. To delete blocks​
9.​A quiz project works, but the score doesn’t change. What could
be the issue?​
A. The score variable is hidden​
B. The correct answer isn’t checked​
C. The score is a list, not a variable​
D. The sprite has no sound​

🟣 Part D: Creative Thinking


10.​ How would you change the game to support multiple difficulty
levels (easy, medium, hard)?​

11.​ Describe how you could add a timer to challenge the player.​

12.​ How would you allow the user to choose which type of math
(addition, subtraction, etc.) they want to practice?

Scratch Coding Questionnaire – Set 4

🟡 Part A: Code Recognition


1.​ Which block would you use to check if a number is greater than
another?​
A. if < > then​
B. if <> then​
C. if > then​
D. if ( ) and ( ) then​

2.​ Which of these blocks can help make custom messages like “What is
5 + 3?”​
A. join [ ] [ ]​
B. say [ ]​
C. glide [ ] secs to x: y:​
D. switch backdrop to [ ]​
3.​ How can you make your quiz sprite say the correct answer after a
wrong input?​
A. Use if else with say [The correct answer is ...]​
B. Use hide​
C. Use stop all​
D. Use forever​

🟢 Part B: Logic & Control


4.​ Which control structure lets the quiz ask multiple questions in a row?​
A. if​
B. wait​
C. repeat​
D. stop all​

5.​ If you want your game to ask 10 different questions, which block
helps do that?​
A. forever​
B. repeat (10)​
C. when sprite clicked​
D. broadcast [start]​

6.​ Why is the answer block important in your quiz game?​


A. It holds the score​
B. It stores the user's typed response​
C. It creates random numbers​
D. It changes backdrops​
🔵 Part C: Problem Solving
7.​ Your quiz displays the question correctly but never gives feedback.
What might be missing?​
A. A sprite​
B. A score variable​
C. An if <answer = correct> block​
D. A costume change​

8.​ What would happen if your score variable is never increased?​


A. The game ends early​
B. The questions stop appearing​
C. The user always gets 0 points​
D. The game becomes faster​

9.​ Why use set score to 0 at the beginning of your game?​


A. To give bonus points​
B. To reset from the last round​
C. To stop the quiz​
D. To hide the score​

🟣 Part D: Design Challenge


10.​ Describe how you would create a “Final Score” screen at the end
of the game.​

11.​ What kind of feedback would you add for a correct vs. incorrect
answer? (e.g., sounds, animations, words)​

12.​ How could you make the game more accessible for younger
players or students with different needs?​
Scratch Coding Questionnaire – Set 5

🟡 Part A: Variable Use & Logic


1.​ Which block changes a variable during the game?​
A. set [score] to [0]​
B. change [score] by [1]​
C. say [score]​
D. repeat [score]​

2.​ If your question is “What is 6 + 3?”, what blocks are most likely used
to build it?​
A. say and random​
B. join, pick random, and math operators​
C. ask and costume​
D. switch backdrop and score​

3.​ What is the main role of the if-else block in a quiz game?​
A. Repeating a question​
B. Hiding a sprite​
C. Checking the answer and giving feedback​
D. Generating random numbers​

🟢 Part B: Game Control


4.​ Why would you use repeat until <timer = 0> in a timed quiz?​
A. To give bonus points​
B. To change questions​
C. To stop asking when time runs out​
D. To reset the score​
5.​ How do you make sure the answer input is compared correctly in
Scratch?​
A. Use = answer with the correct answer value​
B. Use glide​
C. Type the answer in the sprite​
D. Change the costume​

6.​ What is the function of the wait block after asking a question?​
A. To move the sprite​
B. To let the user think before the game continues​
C. To hide the question​
D. To randomize the score​

🔵 Part C: Debugging Scenarios


7.​ A user enters the correct answer but doesn’t get points. What’s the
most likely issue?​
A. The sprite is hidden​
B. The score block is missing​
C. The condition doesn’t check answer = correct​
D. The background is wrong​

8.​ Your game crashes when using division. What should you check first?​
A. That division is only between numbers that divide evenly​
B. That addition comes first​
C. That costumes are correct​
D. That the sprite is visible​

9.​ The game won’t start when the green flag is clicked. What might be
missing?​
A. A when green flag clicked block​
B. A backdrop​
C. A sound block​
D. A forever loop​

🟣 Part D: Design & Extension


10.​ How could you make the game multiplayer? Describe your idea
briefly.​

11.​ What could you use the list feature for in a quiz game? (Hint: think
about tracking questions)​

12.​ How would you add a “Start Menu” screen before the quiz begins?

Common questions

Powered by AI

Variables are fundamental in a quiz game for storing dynamic data like user inputs and score tracking. They allow the program to remember a player's answer and update the score based on correctness, thus maintaining session continuity and providing real-time feedback .

The 'ask [ ] and wait' block prompts the user for input and pauses the execution until a response is received, integrating seamlessly with quiz game logic. It ensures players have time to respond and allows the program to capture and analyze user inputs for further processing, such as checking answer correctness .

If the 'wait until' block is not implemented correctly, the program may skip the user input phase, leading to questions being bypassed before the player can answer. This disrupts gameplay and player engagement as it prevents valid interaction with the quiz questions .

The 'if < > then' block is used to check if a condition is met, such as whether a player's answer is correct. It ensures the program executes specific actions based on the result, like increasing the score or giving feedback, thus providing correct responses to player inputs .

Feedback mechanisms using blocks like 'say [ ]' enhance learning by immediately informing players whether their answers are correct or incorrect. This not only aids in reinforcing correct concepts but also provides learning opportunities from mistakes, fostering a better educational outcome .

The 'broadcast [message]' block enables shifting between different game screens or stages by triggering appropriate responses, while 'repeat (10)' facilitates the iteration of a specific number of questions. Together, they enable structured game progression and transitioning between questions .

Using 'pick random' in question generation enhances a quiz game's replayability by introducing variability in question sequences each time. This randomness keeps the gameplay fresh and challenging, promoting sustained user engagement and preventing predictability .

A forever loop or 'repeat until' loop in a quiz game ensures ongoing checks for user interactions or conditions, such as awaiting player answers. This creates a responsive and dynamic environment, essential for maintaining engagement and ensuring the game reacts to user inputs continuously .

Math symbols like +, -, ×, and ÷ are crucial in a quiz program as they determine the type of mathematical operation the question involves. They directly affect game logic by defining what operation the player must perform to find the answer, making each question a unique challenge .

Resetting variables such as the score at the start is critical to ensure that previous gameplay data does not interfere with a new session. This ensures a fair start for every game and provides a consistent baseline for comparison across different sessions .

You might also like