Podcast
Questions and Answers
How many pixels wide is the Scratch screen?
How many pixels wide is the Scratch screen?
480
How many pixels high is the Scratch screen?
How many pixels high is the Scratch screen?
360
What must all Scratch programs include?
What must all Scratch programs include?
Sprites & Scripts
What word describes each instruction used to control sprites in Scratch?
What word describes each instruction used to control sprites in Scratch?
Signup and view all the answers
What word describes a set of blocks used to control sprites in Scratch?
What word describes a set of blocks used to control sprites in Scratch?
Signup and view all the answers
What is Scratch?
What is Scratch?
Signup and view all the answers
In the Scratch programming environment, where can you change the background on a Scratch screen?
In the Scratch programming environment, where can you change the background on a Scratch screen?
Signup and view all the answers
What are just some of the things a Scratch program can do? (Select all that apply)
What are just some of the things a Scratch program can do? (Select all that apply)
Signup and view all the answers
What is the output of the following block of code?
What is the output of the following block of code?
Signup and view all the answers
What happens when the green flag is pressed followed by the right arrow?
What happens when the green flag is pressed followed by the right arrow?
Signup and view all the answers
Write the blocks of code to replace the Glide block shown from Sprite 'e's current location.
Write the blocks of code to replace the Glide block shown from Sprite 'e's current location.
Signup and view all the answers
How long does the following block of code take to execute once the green flag is clicked?
How long does the following block of code take to execute once the green flag is clicked?
Signup and view all the answers
What will be the final position in degrees for this Sprite after pressing the green flag?
What will be the final position in degrees for this Sprite after pressing the green flag?
Signup and view all the answers
Write the output for the following block of code.
Write the output for the following block of code.
Signup and view all the answers
Write the output for the following block of code.
Write the output for the following block of code.
Signup and view all the answers
Write the output for the following block of code.
Write the output for the following block of code.
Signup and view all the answers
Write the output for the following block of code.
Write the output for the following block of code.
Signup and view all the answers
What is the output of the following block of code?
What is the output of the following block of code?
Signup and view all the answers
Write the blocks of code to replace the glide block shown from Sprite the Bat's current location. HINT: You will need to use a 'repeat block' as it needs to simulate the glide.
Write the blocks of code to replace the glide block shown from Sprite the Bat's current location. HINT: You will need to use a 'repeat block' as it needs to simulate the glide.
Signup and view all the answers
Write the output for the following block of code.
Write the output for the following block of code.
Signup and view all the answers
Write the output for the following block of code.
Write the output for the following block of code.
Signup and view all the answers
Study Notes
Scratch Screen Dimensions
- Width: 480 pixels
- Height: 360 pixels
Essential Scratch Program Components
- All Scratch programs require sprites and scripts.
Scratch Development Environment Terminology
- Block: Each individual instruction controlling sprites.
- Script: A sequence of blocks forming a program for a sprite.
- Scratch: A programming language.
- Background changes are made via Stage Information.
Scratch Program Capabilities
- Scratch programs can move sprites, make them speak, hide them, change their size, and play music.
Code Output Examples
- A specific code block outputs the sequence: 2, 3, 4, 5, 8, 11, 14.
- Another code block outputs: 4, 5, 7, 9, 12, 15, 15.
- Yet another code block outputs: 2, 6, 8, 10, 14, 18, 18.
- Another example outputs: 3, 5, 5, 8, 11, 13, 15, 17, 19, 21.
- Another example outputs: 2, 5, 8, 11, 13, 15, 17, 19, 19.
- Another example outputs: 2, 5, 5, 9, 13, 16, 19, 19.
- Another example outputs: 4, 5, 8, 11, 14, 16, 18, 20, 20.
- Another example outputs: 3, 4, 8, 12, 15, 18, 21, 24, 24.
- Another example outputs: 2, 5, 7, 9, 11, 13, 17, 21, 25.
Sprite Movement and Green Flag Interaction
- Pressing the green flag followed by the right arrow moves the sprite 20 pixels to the right.
Replacing Glide Blocks with Loops
- A glide block moving a sprite 240 pixels horizontally and 180 pixels vertically over 6 seconds can be simulated using a repeat loop six times, changing x by 40 and y by 30 each iteration, with a 1-second wait.
Code Block Execution Time
- A specific code block takes 33 time units to execute after the green flag is clicked.
Sprite Rotation
- A specific code block results in a final sprite direction of 24 degrees.
Replacing Code Blocks with Loops (Example 2)
- A series of move blocks can be replaced with nested repeat loops to achieve the same sprite movement. The exact implementation details depend on the specifics of the original move blocks.
More detailed explanations of the code would make the notes even better, and allow for better comprehension of how the loops work.
Studying That Suits You
Use AI to generate personalized quizzes and flashcards to suit your learning preferences.
Related Documents
Description
Explore the foundation of Scratch programming through this quiz. Learn about essential program components, block terminology, and what Scratch can achieve. Test your knowledge on screen dimensions, code output examples, and more!