What is the purpose of an if-else statement?

Understanding If-Else Statements with Scrat the Squirrel

Interactive Video
•
Computers, Education, Instructional Technology
•
3rd - 5th Grade
•
Hard

Emma Peterson
FREE Resource
Read more
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
To repeat an action multiple times
To make a decision between two actions
To stop the program
To perform a single action
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In the example with Scrat, what happens if he finds the acorn?
He keeps searching
He moves backward
He is happy
He turns left
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What additional part does the if-else block have compared to the if block?
A 'stop' section
A 'repeat' section
A 'do' section
An 'else' section
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What action does Scrat take if there is no path ahead?
He stops
He turns right
He turns left
He moves forward
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Can if-else blocks be used inside repeat blocks?
No
Only with special conditions
Only in some cases
Yes
Similar Resources on Quizizz
6 questions
Body Rhythms 1

Interactive video
•
KG - 3rd Grade
6 questions
Reactions and Expressions in Videos

Interactive video
•
3rd - 6th Grade
6 questions
Extinction Rebellion - Ocean Rebellion Protest

Interactive video
•
2nd - 4th Grade
2 questions
The Number Song - Kids Learn To Count 1 to 10 - Bella And Beans TV

Interactive video
•
KG - 3rd Grade
2 questions
Ciclo de vida de un roble

Interactive video
•
1st - 6th Grade
3 questions
Life cycle of an oak tree

Interactive video
•
1st - 6th Grade
7 questions
Squirrel Behavior and Narration

Interactive video
•
1st - 5th Grade
11 questions
Alphabetizing Words and Concepts

Interactive video
•
3rd - 5th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
15 questions
Character Analysis

Quiz
•
4th Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
11 questions
Decimal/fraction conversions quick check

Quiz
•
5th - 7th Grade
14 questions
IREAD-3 Practice Test

Quiz
•
3rd Grade
10 questions
Identifying equations

Quiz
•
KG - University
15 questions
Multiplication Facts

Quiz
•
4th Grade
10 questions
Perimeter of Polygons!

Quiz
•
3rd Grade