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.
Access all questions and much more by creating a free account
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
21 questions
Ls. 6 small basic for grade 6
Quiz
•
6th Grade
15 questions
History of Computers
Quiz
•
6th - 12th Grade
16 questions
Python Basics
Quiz
•
KG - University
20 questions
7.5 MCQ Assessment
Quiz
•
6th Grade
20 questions
SDA Chapter 1A VOCABULARY
Quiz
•
6th - 8th Grade
20 questions
Microsoft PPT. - Scavenger Hunt
Quiz
•
6th - 12th Grade
17 questions
Presentation Purpose
Quiz
•
6th - 8th Grade
20 questions
New Scratch
Quiz
•
6th - 8th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
