By Fatskills Exam Guides Team — the exam nerds behind 28,500+ quizzes and 2.1M practice questions across 500+ global exams.
By the end of this topic, students will be able to:
In Scratch, an event is something that happens in a program that can trigger a reaction. Events can be triggered by the user, such as clicking a button, or by the program itself, such as a timer going off. In Scratch, events are created using the "when" blocks, which are used to specify what action will trigger the event.
For example, the "when green flag clicked" block is an event that is triggered when the user clicks the green flag to start the program. This event can be used to create a reaction, such as making a sprite move or play a sound.
A loop is a way of repeating a set of actions in a program. Loops are used to create repeating patterns, such as animations or music. There are three types of loops in Scratch:
For example, a forever loop can be used to create a sprite that moves back and forth across the screen indefinitely.
A sprite is a visual object in a Scratch program that can be manipulated and controlled. Sprites can be used to create characters, animals, or other objects that can move, interact, and react to events.
In Scratch, sprites are created using the "make a clone of" block, which creates a copy of a sprite. Sprites can also be manipulated using the "move" and "turn" blocks, which change the position and direction of the sprite.
In this example, we will create a sprite that moves across the screen when the user clicks the mouse.
In this example, we will create a loop that repeats a sound indefinitely.
In this example, we will create a sprite that interacts with another sprite by moving towards it.
What type of loop repeats indefinitely until the program is stopped? A) Forever loop B) Until loop C) Repeat loop D) While loop
Correct answer: A) Forever loop
Why the distractors fail:
What is the purpose of the "when flag clicked" block? A) To create a new sprite B) To make a sprite move C) To trigger an event D) To repeat a set of actions
Correct answer: C) To trigger an event
What is the name of the block that creates a new sprite? A) Make a clone of B) Move C) Turn D) Flag clicked
Correct answer: A) Make a clone of
What type of loop repeats a certain number of times? A) Forever loop B) Until loop C) Repeat loop D) While loop
Correct answer: C) Repeat loop
What is the purpose of the "move towards" block? A) To make a sprite move away from another sprite B) To make a sprite move towards another sprite C) To make a sprite move in a straight line D) To make a sprite turn around
Correct answer: B) To make a sprite move towards another sprite
Explain the difference between a forever loop and a repeat loop.
Describe the use of the "when flag clicked" block in a Scratch program.
Explain how to create a sprite that moves towards another sprite.
Describe the use of the "make a clone of" block in a Scratch program.
Explain the purpose of the "move towards" block in a Scratch program.
Join 4M+ learners. Unlock unlimited quizzes, wrong-answer tracking, flashcards + reminders, study guides, and 1-on-1 challenges.