Podcast
Questions and Answers
In Scratch, what is the term for the area where sprites perform actions?
In Scratch, what is the term for the area where sprites perform actions?
- Canvas
- Workspace
- Backdrop
- Stage (correct)
What is the name given to a character that can be coded in Scratch?
What is the name given to a character that can be coded in Scratch?
- Sprite (correct)
- Actor
- Object
- Avatar
Which of the following best describes Scratch as an application?
Which of the following best describes Scratch as an application?
- Web browsing application
- Non-textual program application (correct)
- Text-based program application
- Data analysis application
In Scratch, which element is used to store values like points that can be modified during a project?
In Scratch, which element is used to store values like points that can be modified during a project?
What type of block is used to initiate the start of a script in Scratch?
What type of block is used to initiate the start of a script in Scratch?
Which type of block can be used above and below a block?
Which type of block can be used above and below a block?
What is the primary purpose of C-shaped blocks in Scratch?
What is the primary purpose of C-shaped blocks in Scratch?
Which type of blocks are used to represent a yes or no in Scratch?
Which type of blocks are used to represent a yes or no in Scratch?
In Scratch, which type of block is used to terminate a script?
In Scratch, which type of block is used to terminate a script?
What is the main purpose of using flowcharts when writing complex programs?
What is the main purpose of using flowcharts when writing complex programs?
In a flowchart, what shape typically represents a decision?
In a flowchart, what shape typically represents a decision?
In Scratch, which block is used to get a user's input?
In Scratch, which block is used to get a user's input?
What is the purpose of the repeat X times
block in Scratch?
What is the purpose of the repeat X times
block in Scratch?
What is a key characteristic of a forever
loop?
What is a key characteristic of a forever
loop?
What is the main difference between a repeat until
loop and a repeat X times
loop?
What is the main difference between a repeat until
loop and a repeat X times
loop?
In the example of generating every fifth number, what is the variable used for?
In the example of generating every fifth number, what is the variable used for?
In creating the 'Race of 2 Sprites' game, what is the purpose of the 'Finish Line' sprite?
In creating the 'Race of 2 Sprites' game, what is the purpose of the 'Finish Line' sprite?
In the 'Race of 2 Sprites' game, how is the speed of Avery determined?
In the 'Race of 2 Sprites' game, how is the speed of Avery determined?
What type of loop is used to control sprite movement in the 'Race of 2 Sprites' game?
What type of loop is used to control sprite movement in the 'Race of 2 Sprites' game?
If you wanted a sprite to move back and forth repeatedly between two points without stopping, which loop would you use?
If you wanted a sprite to move back and forth repeatedly between two points without stopping, which loop would you use?
A 'stage' in Scratch is where characters move during a project.
A 'stage' in Scratch is where characters move during a project.
A 'sprite' is a block of code used to make characters move.
A 'sprite' is a block of code used to make characters move.
Hat blocks can only be placed on the bottom of scripts.
Hat blocks can only be placed on the bottom of scripts.
Stack blocks cannot be placed above other blocks in a script.
Stack blocks cannot be placed above other blocks in a script.
C blocks are used for making the code repeat only once.
C blocks are used for making the code repeat only once.
Boolean blocks are used to perform complex mathematical calculations.
Boolean blocks are used to perform complex mathematical calculations.
Reporter blocks can hold both numeric and string, and can be inserted inside of other blocks when another block requires a numerical value.
Reporter blocks can hold both numeric and string, and can be inserted inside of other blocks when another block requires a numerical value.
Cap blocks are used at the beginning of scripts.
Cap blocks are used at the beginning of scripts.
Motion blocks can only control how a sprite looks, not actual movement.
Motion blocks can only control how a sprite looks, not actual movement.
Flowcharts are used to plan the logic of complex programs before coding
Flowcharts are used to plan the logic of complex programs before coding
The ask...and wait
block in Scratch will display a text box where the user can input a response to a question.
The ask...and wait
block in Scratch will display a text box where the user can input a response to a question.
In Scratch, only the built-in answer
variable can store a user's response and it cannot be copied to another variable.
In Scratch, only the built-in answer
variable can store a user's response and it cannot be copied to another variable.
The repeat 5
block is an example of a conditional loop in Scratch.
The repeat 5
block is an example of a conditional loop in Scratch.
A forever
loop will execute its contained code an infinite amount of times until the program is exited or the loop is otherwise stopped.
A forever
loop will execute its contained code an infinite amount of times until the program is exited or the loop is otherwise stopped.
In the example that creates a sequence of every fifth number (5, 10, 15...), the loop will stop when the displayed number exceeds $100$.
In the example that creates a sequence of every fifth number (5, 10, 15...), the loop will stop when the displayed number exceeds $100$.
In Scratch, a variable can be set to a random value using the random block.
In Scratch, a variable can be set to a random value using the random block.
In the race of 2 sprites game, Avery and Rover will always move at the same speed.
In the race of 2 sprites game, Avery and Rover will always move at the same speed.
A flowchart for a program that computes the area of a circle would have a diamond shape to calculate the value of Pi.
A flowchart for a program that computes the area of a circle would have a diamond shape to calculate the value of Pi.
If you need to repeatedly move a sprite until it touches another sprite, you could use a repeat until
loop for that.
If you need to repeatedly move a sprite until it touches another sprite, you could use a repeat until
loop for that.
In the 'Race of 2 Sprites' game, the sprites stop moving once they move off the visible stage.
In the 'Race of 2 Sprites' game, the sprites stop moving once they move off the visible stage.
What is the general term for a set of instructions grouped together to perform a task, commonly used in many programming languages?
What is the general term for a set of instructions grouped together to perform a task, commonly used in many programming languages?
Name two categories of blocks in Scratch used to control a sprite's appearance other than its costume.
Name two categories of blocks in Scratch used to control a sprite's appearance other than its costume.
Besides movement, what else can the 'Motion' category control?
Besides movement, what else can the 'Motion' category control?
What is the primary purpose of blocks in the 'Events' category?
What is the primary purpose of blocks in the 'Events' category?
What is one block type found in the 'Control' category, which is unique to using conditionals?
What is one block type found in the 'Control' category, which is unique to using conditionals?
In Scratch, how are the 'Sensing' blocks mainly used?
In Scratch, how are the 'Sensing' blocks mainly used?
What type of block in the 'Variables' category is used to store data?
What type of block in the 'Variables' category is used to store data?
What does a flowchart use to represent each step of a program?
What does a flowchart use to represent each step of a program?
If you needed a sprite to repeat a series of movements forever, what kind of loop would you use?
If you needed a sprite to repeat a series of movements forever, what kind of loop would you use?
In a program that uses the ask...and wait
block, how can the user input be accessed?
In a program that uses the ask...and wait
block, how can the user input be accessed?
In a flowchart, what shape represents a process or action step?
In a flowchart, what shape represents a process or action step?
In Scratch, after using the ask...and wait
block, where is the user's input stored?
In Scratch, after using the ask...and wait
block, where is the user's input stored?
What type of loop is best used when you need to repeat a block of code a specific number of times?
What type of loop is best used when you need to repeat a block of code a specific number of times?
Which type of loop continues executing until a specific condition becomes true?
Which type of loop continues executing until a specific condition becomes true?
In the example of generating every fifth number, what happens when the counter exceeds 50?
In the example of generating every fifth number, what happens when the counter exceeds 50?
In the 'Race of 2 Sprites' game, is the starting position for Avery and Rover the same?
In the 'Race of 2 Sprites' game, is the starting position for Avery and Rover the same?
In the 'Race of 2 Sprites', is the AverySpeed
variable initialized to a set value or a random value?
In the 'Race of 2 Sprites', is the AverySpeed
variable initialized to a set value or a random value?
In the 'Race of 2 Sprites' game, what condition causes the sprites to stop moving?
In the 'Race of 2 Sprites' game, what condition causes the sprites to stop moving?
What type of loop could you use if you need to repeat something forever?
What type of loop could you use if you need to repeat something forever?
In the race of 2 sprites game, is the RoverSpeed
variable set independently of AverySpeed
?
In the race of 2 sprites game, is the RoverSpeed
variable set independently of AverySpeed
?
The area in which sprites perform a given task is called the ______.
The area in which sprites perform a given task is called the ______.
A character to be coded in Scratch is called a ______.
A character to be coded in Scratch is called a ______.
______ is a non-textual program application.
______ is a non-textual program application.
A ______ can store values like points that can be modified during a project.
A ______ can store values like points that can be modified during a project.
______ blocks are used to start a script in Scratch.
______ blocks are used to start a script in Scratch.
______ blocks can be added above and below another block in a script.
______ blocks can be added above and below another block in a script.
______ blocks are C-shaped and are used in conditional programming.
______ blocks are C-shaped and are used in conditional programming.
______ blocks represent yes or no values used in logic.
______ blocks represent yes or no values used in logic.
______ blocks are used to end scripts in Scratch.
______ blocks are used to end scripts in Scratch.
When writing programs, ______ help to work out the flow and logic of the programs first.
When writing programs, ______ help to work out the flow and logic of the programs first.
In a flowchart, a rounded rectangle typically represents the ______ or end of a process.
In a flowchart, a rounded rectangle typically represents the ______ or end of a process.
In Scratch, the 'ask...and wait' block can be used to display a box for user ______.
In Scratch, the 'ask...and wait' block can be used to display a box for user ______.
In Scratch, a user's text entry in response to the 'ask' block is stored in the ______ variable.
In Scratch, a user's text entry in response to the 'ask' block is stored in the ______ variable.
A repeat X times
block in Scratch will repeat its contents a ______ number of times.
A repeat X times
block in Scratch will repeat its contents a ______ number of times.
A forever
loop in Scratch will execute its code an ______ number of times.
A forever
loop in Scratch will execute its code an ______ number of times.
The repeat until
loop will continue instructions until a specific ______ is met.
The repeat until
loop will continue instructions until a specific ______ is met.
In the 'Every Fifth Number' loop example, a variable called ______ is initialized to 5.
In the 'Every Fifth Number' loop example, a variable called ______ is initialized to 5.
In the 'Race of 2 Sprites' game, the 'Finish Line' sprite serves as a ______ for sprite movement.
In the 'Race of 2 Sprites' game, the 'Finish Line' sprite serves as a ______ for sprite movement.
In the 'Race of 2 Sprites' game, the variable AverySpeed
is set to a ______ number between 5 and 10.
In the 'Race of 2 Sprites' game, the variable AverySpeed
is set to a ______ number between 5 and 10.
The 'Race of 2 Sprites' uses a conditional loop so that the sprites keep moving until they ______ the 'Finish Line'.
The 'Race of 2 Sprites' uses a conditional loop so that the sprites keep moving until they ______ the 'Finish Line'.
Match the following block types in Scratch with their primary function:
Match the following block types in Scratch with their primary function:
Match the following Scratch block categories with the actions they control:
Match the following Scratch block categories with the actions they control:
Match the loop types in Scratch with their behavior:
Match the loop types in Scratch with their behavior:
Match the following Scratch terms with their definitions:
Match the following Scratch terms with their definitions:
Match the following block categories with the types of blocks they contain:
Match the following block categories with the types of blocks they contain:
Flashcards
Function
Function
A part of a Scratch program that performs a specific task.
Hat Block
Hat Block
A block in Scratch that starts a script. This block is typically at the top of a script.
Stack Block
Stack Block
A block in Scratch that can be added above or below other blocks. These blocks are used to perform main actions in a script.
C Block
C Block
Signup and view all the flashcards
Boolean Block
Boolean Block
Signup and view all the flashcards
Reporter Block
Reporter Block
Signup and view all the flashcards
Cap Block
Cap Block
Signup and view all the flashcards
Flowchart
Flowchart
Signup and view all the flashcards
Looping
Looping
Signup and view all the flashcards
Conditional Looping
Conditional Looping
Signup and view all the flashcards
What is a flowchart?
What is a flowchart?
Signup and view all the flashcards
What is input?
What is input?
Signup and view all the flashcards
How to get input in Scratch?
How to get input in Scratch?
Signup and view all the flashcards
What is a loop?
What is a loop?
Signup and view all the flashcards
What is the 'repeat x' block?
What is the 'repeat x' block?
Signup and view all the flashcards
What is the 'forever' block?
What is the 'forever' block?
Signup and view all the flashcards
What is the 'repeat until' block?
What is the 'repeat until' block?
Signup and view all the flashcards
How are variables and loops used together?
How are variables and loops used together?
Signup and view all the flashcards
What is a Sprite?
What is a Sprite?
Signup and view all the flashcards
What is a conditional loop?
What is a conditional loop?
Signup and view all the flashcards
How do you get input in Scratch?
How do you get input in Scratch?
Signup and view all the flashcards
What is a variable?
What is a variable?
Signup and view all the flashcards
What is a hat block?
What is a hat block?
Signup and view all the flashcards
How does Scratch get input?
How does Scratch get input?
Signup and view all the flashcards
What is a variable in Scratch?
What is a variable in Scratch?
Signup and view all the flashcards
What is a Sprite in Scratch?
What is a Sprite in Scratch?
Signup and view all the flashcards
What are C blocks in Scratch?
What are C blocks in Scratch?
Signup and view all the flashcards
What is a Function?
What is a Function?
Signup and view all the flashcards
What is Conditional Looping?
What is Conditional Looping?
Signup and view all the flashcards
Study Notes
Coding with Scratch
- Scratch is a program application for coding
- It has different block categories for coding (e.g., Motion, Looks, Sound, Events, Control, Sensing, Operators, Variables)
- Sprites are characters to be coded in Scratch
- The stage is where the sprites perform a given task
- Variables can be used to store and access data (e.g., storing points or other numerical or textual information)
- Events are actions or situations that happen in a program (e.g., when a green flag is clicked, or when a sprite touches another sprite)
- Control blocks control the order of events in a script (e.g., "repeat until", "forever", "if/else")
- Sensing blocks are used to detect situations like when sprites touch each other or the mouse pointer, or check if a condition is true.

- Operators blocks are used for mathematical operations. (e.g., pick random numbers).
- Scratch 3.0 can be used on mobile devices
Flowcharts and Conditional Looping
- Flowcharts use diagrams to show steps in a program
- Each step is shown in a rectangle
- Decisions are shown in a diamond shape
- Flowcharts help to plan complex programs
- Scratch uses blocks to translate a flowchart for coding.
- Input is received using an "ask" block, which creates a variable that can be used in conditional statements.

- The "if...else" statement in Scratch translates to the Yes and No arrows from a flowchart
- Looping repeats specific blocks until a certain condition is met, based on the flowchart (e.g., repeat until a variable reaches a certain value, forever loops).
- A dry run (checking the logic step-by-step) is advised when using flowcharts
Loops
- Repeat X times block repeats a sequence of blocks for a set number of times
- Forever block repeats a sequence of blocks infinitely
- Repeat until block repeats a sequence of blocks until a specific condition is true
- The repeat loop allows a program to repeat an action multiple times
- Variables are often used with loops to keep track of a counter.
- Conditional loops allow the loop to run only if a specific condition is true.
Variables and Loops
- Variables are used to store data and used in loops to perform actions (e.g., store user input from an "Ask" block, store values for calculation in loops)
- Important to initialize variables before use, such as setting variables to initial values.
- Loops and variables are very often used together.
- Variables can be used to control the behavior of loops.
- Variables are important for storing, updating and using data during a program.
Game 1: Race of 2 Sprites
- Sprites can be moved, have their appearance changed, and use random numbers for speed adjustments. (e.g., generate a random number using "pick random 5 to 10").
- The program includes a loop to make sprites move based on speed.
- Sprites move until they reach a defined finish line (using "touching" block)
- Cartesian coordinates are used to describe sprite positions on the stage.
- X and Y values are used to position sprites.
- Sprites automatically stop when they reach the finish line.
- Variables record sprite speed (e.g., AverySpeed).
Game 2: To the Moon!
- The program includes backdrop switching and sprite movement.
- It uses specific points on the screen for sprite positions (using "go to x:y: coordinates").
- The sprite's direction can be changed ("point in direction").
- The sprite's costume or appearance can change during the program ("switch costume").
- The program involves movement, turning and landing to simulate a rocket's journey to the moon. (e.g., using "glide to x, y for seconds").
- The program includes the use of a loop to control the rocket's turning actions.
- The program displays messages to indicate landing with "say" commands.
- The program uses the "switch backdrop" block to change the background image.
- The program uses the "switch costume" to change a sprite's appearance.
- The Cartesian coordinate system to position the rocket
- The program uses the "repeat until" loop.
Studying That Suits You
Use AI to generate personalized quizzes and flashcards to suit your learning preferences.
Related Documents
Description
This quiz explores the fundamentals of coding using Scratch, focusing on block categories, sprites, and the significance of variables and events. Additionally, it covers the use of flowcharts for planning complex programs and translating them into Scratch scripts. Test your knowledge and improve your coding skills!