
If Then Else Statements
Authored by Raymond Ballard
Computers
7th Grade
Used 5+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
What is the primary purpose of an if-else statement?
To perform the same action
To repeat actions
To make a decision between two actions
To avoid making decisions
2.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
What happens to Scrat if he finds the acorn?
He moves forward
He continues searching
He turns left
He is happy
3.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
How does the if-else statement help Scrat?
It makes him sad
It helps him find the acorn
It confuses him
It stops him from moving
4.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
What is the function of an 'else' block in an if-else statement?
It stops the action
It skips the decision
It executes an alternative action
It repeats the action
5.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
What action does Scrat take in the 'else' part of the block?
He moves forward
He finds the acorn
He turns left
He is happy
6.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
What does Scrat do if there is a path ahead?
He keeps searching
He moves forward
He is sad
He turns left
7.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
What does Scrat do if the 'if' condition is met?
He turns left
He is sad
He keeps searching
He moves forward
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
10 questions
3.4 Microbit RETRIEVAL PRACTICE
Quiz
•
6th - 9th Grade
13 questions
Quiz 3: Internet safety, cyber security and encryption
Quiz
•
7th - 8th Grade
10 questions
Social media influencers
Quiz
•
6th - 12th Grade
14 questions
Introduction to Networks
Quiz
•
6th - 8th Grade
10 questions
ôn tập học kỳ 1-lớp 5
Quiz
•
2nd Grade - University
15 questions
Files and Documents Computer Basics
Quiz
•
KG - 8th Grade
9 questions
Technology Procedures
Quiz
•
3rd - 8th Grade
10 questions
Программирование вложенных условий
Quiz
•
1st - 10th Grade
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
10 questions
Exploring Valentine's Day with Charlie Brown
Interactive video
•
6th - 10th Grade
18 questions
Valentines Day Trivia
Quiz
•
3rd Grade - University
14 questions
Volume of rectangular prisms
Quiz
•
7th Grade
10 questions
Valentine's Day History and Traditions
Interactive video
•
6th - 10th Grade
11 questions
Valentines Day
Quiz
•
6th - 8th Grade
20 questions
Graphing Inequalities on a Number Line
Quiz
•
6th - 9th Grade
25 questions
7th Reading STAAR Vocabulary
Quiz
•
6th - 8th Grade
20 questions
Revising & Editing practice
Quiz
•
7th Grade