
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
tin 8 bài 6
Quiz
•
6th - 9th Grade
12 questions
Основи програмування в Пайтон (7 клас)
Quiz
•
7th Grade
16 questions
Hour_of_Code
Quiz
•
5th - 12th Grade
14 questions
Robots and sensors G6
Quiz
•
5th - 7th Grade
11 questions
Think Like a Computer Scientist
Quiz
•
7th Grade
10 questions
Operating System
Quiz
•
2nd - 10th Grade
10 questions
DGT Vocab
Quiz
•
7th - 8th Grade
10 questions
P9-PSeInt
Quiz
•
1st - 10th Grade
Popular Resources on Wayground
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
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade