
IfThenElse
Interactive Video
•
Information Technology (IT)
•
7th Grade
•
Practice Problem
•
Easy
John Streety
Used 1+ times
FREE Resource
6 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a conditional statement used for?
To make decisions based on conditions
To display information
To store data
To repeat actions multiple times
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is an example of an 'if-then' statement?
If you eat, then you sleep
If you run, then you walk
If you study, then you learn
If it rains, then we stay dry
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens when a condition in a block of code is true?
The code performs the action inside the block
The code stops running
The code repeats the action
The code does nothing
4.
OPEN ENDED QUESTION
3 mins • 1 pt
What did you learn through this video?
Evaluate responses using AI:
OFF
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In the coding activity, what is the purpose of the 'if-then-else' block?
To print a message
To calculate the sum of ages
To compare ages and determine who is older
To compare two numbers
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the first step in creating the age comparison project?
Create a new project called Age Detector
Print the ages
Test the conditions
Run the code
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
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
Discover more resources for Information Technology (IT)
5 questions
Legends, Leaders, & Changemakers: Maya Angelou
Interactive video
•
6th - 8th Grade
22 questions
distributive property
Quiz
•
7th Grade
10 questions
Understanding Poetry and Literary Devices
Interactive video
•
4th - 8th Grade
20 questions
Ethos, Pathos, Logos Practice
Quiz
•
6th - 7th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
20 questions
Graphing Inequalities on a Number Line
Quiz
•
6th - 9th Grade
20 questions
Main Idea and Supporting Details
Quiz
•
7th Grade
15 questions
Main Idea and Supporting Details.
Quiz
•
4th - 11th Grade