Scratch Programming Quiz: Basics of Code

Quiz
•
Computers
•
6th Grade
•
Hard
Mr Vallally-Godfrey
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following best describes a variable in Scratch?
A command that repeats actions
A container that stores information, like a number or word
A sprite that moves on the stage
A background image
Answer explanation
In Scratch, a variable is best described as a container that stores information, such as numbers or words. This allows users to keep track of data and use it in their programs, unlike commands, sprites, or backgrounds.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of an 'if' statement in programming?
To repeat actions forever
To store information
To make decisions based on conditions
To draw shapes
Answer explanation
An 'if' statement is used in programming to make decisions based on conditions. It allows the program to execute certain actions only if specific criteria are met, making it essential for controlling the flow of execution.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which block in Scratch would you use to repeat a set of actions a certain number of times?
If block
Repeat block
Variable block
Say block
Answer explanation
The Repeat block in Scratch is specifically designed to execute a set of actions multiple times, making it the correct choice for this question. The other blocks serve different purposes and do not repeat actions.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct sequence of actions if you want a sprite to move 10 steps and then say "Hello"?
Say "Hello", then move 10 steps
Move 10 steps, then say "Hello"
Move 5 steps, then say "Hello"
Say "Goodbye", then move 10 steps
Answer explanation
To have a sprite move 10 steps and then say 'Hello', the correct sequence is to first move 10 steps and then say 'Hello'. This ensures the movement occurs before the speech, aligning with the desired action order.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If you want to store the number of times a sprite jumps, which Scratch feature should you use?
A sound block
A variable
A costume
A backdrop
Answer explanation
To store the number of times a sprite jumps, you should use a variable. Variables in Scratch can hold numerical values, making them ideal for counting actions like jumps.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is an example of selection in programming?
Repeating a dance 5 times
Moving forward 10 steps
If touching edge, bounce
Changing the background
Answer explanation
The correct choice, 'If touching edge, bounce', demonstrates selection in programming by using a conditional statement to determine an action based on a specific condition, unlike the other options which do not involve decision-making.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following Scratch code do?
```
if
Always says "You win!"
Says "You win!" only if the score is greater than 10
Says "You win!" if the score is less than 10
Never says "You win!"
Answer explanation
The code checks if the score is greater than 10. If true, it executes the 'say' command, displaying 'You win!'. Therefore, it only says 'You win!' when the score exceeds 10, making the correct choice the second option.
Create a free account and access millions of resources
Similar Resources on Wayground
17 questions
Microbit

Quiz
•
6th Grade
24 questions
Year 3 Computing Summer End-Term Assessment

Quiz
•
3rd Grade - University
21 questions
Grade 6 - Quiz

Quiz
•
6th Grade
15 questions
The basics of Scratch Programming

Quiz
•
7th Grade
18 questions
Scratch

Quiz
•
7th Grade
20 questions
Year 7 Scratch

Quiz
•
7th Grade
21 questions
Scratch Quiz

Quiz
•
1st - 8th Grade
17 questions
Game Elements

Quiz
•
6th - 8th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
typing

Quiz
•
6th Grade
18 questions
Company Logos

Quiz
•
6th - 8th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
20 questions
Input, Output, Processing or Storage

Quiz
•
5th - 6th Grade