

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
8 questions
Spartan Way - Classroom Responsible
Quiz
•
9th - 12th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
14 questions
Boundaries & Healthy Relationships
Lesson
•
6th - 8th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
3 questions
Integrity and Your Health
Lesson
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
9 questions
FOREST Perception
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
Discover more resources for Information Technology (IT)
14 questions
Boundaries & Healthy Relationships
Lesson
•
6th - 8th Grade
3 questions
Integrity and Your Health
Lesson
•
6th - 8th Grade
7 questions
SMS Playground Expectations Quiz
Quiz
•
6th - 8th Grade
16 questions
Mario Trivia Challenge
Quiz
•
6th - 8th Grade
14 questions
SMS Car & Bus Expectations Quiz
Quiz
•
6th - 8th Grade
14 questions
Volume of rectangular prisms
Quiz
•
7th Grade
10 questions
Cell Organelles and Their Functions
Interactive video
•
6th - 10th Grade
10 questions
Understanding Nonverbal Communication
Interactive video
•
5th - 8th Grade