Scratch Programming Quiz: Basics of Code
Quiz
•
Computers
•
6th Grade
•
Practice Problem
•
Hard
Mr Vallally-Godfrey
FREE Resource
Enhance your content in a minute
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
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
20 questions
Quiz
•
7th - 12th Grade
20 questions
M1_Final_Quiz1_2017
Quiz
•
7th - 8th Grade
21 questions
Lecture Exercise Topic 1.3
Quiz
•
12th Grade
15 questions
Firewall and Network Security
Quiz
•
University
20 questions
L4 Homework
Quiz
•
8th Grade
20 questions
Computer Science - X
Quiz
•
8th - 10th Grade
15 questions
4.6.4 Logic Gates
Quiz
•
10th Grade - Professi...
20 questions
Information Management - QUIZ
Quiz
•
University
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
