
If Statements Quiz
Authored by Devin Lachapelle
Other
9th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If the time is before noon, output "Good morning." Else, output "Good afternoon." Input: The current time is 9:00pm. What is the output?
Good morning.
Good afternoon.
Good evening.
No output
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If it is raining, take an umbrella. Else if it is sunny, wear sunglasses. Else, wear a hat. Input: The weather forecast is cloudy. What should you do?
Take an umbrella.
Wear sunglasses.
Wear a hat.
Do nothing.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If the temperature is below 0, wear a coat. Else if it is above 30, wear a t-shirt. Else, wear a sweater. Input: The temperature is 15 degrees. What should you do?
Wear a coat.
Wear a t-shirt.
Wear a sweater.
Do nothing.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If the day is Monday, output "Start of the week." Else, output "Not Monday." Input: The current day is Wednesday. What is the output?
Start of the week.
Not Monday.
Midweek.
No output
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If it is snowing, build a snowman. Else if it is raining, stay indoors. Else, go for a walk. Input: The weather forecast is sunny. What should you do?
Build a snowman.
Stay indoors.
Go for a walk.
Do nothing.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If the day is Sunday, output "Weekend." Else, output "Weekday." Input: The current day is Friday. What is the output?
Weekend.
Weekday.
Midweek.
No output
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If it is windy, fly a kite. Else if it is calm, read a book. Else, watch TV. Input: The weather forecast is calm. What should you do?
Fly a kite.
Read a book.
Watch TV.
Do nothing.
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
20 questions
Planes
Quiz
•
3rd Grade - University
20 questions
ACT Reading Prep
Quiz
•
9th - 12th Grade
17 questions
Chapter 16 8th Grade Science Putman
Quiz
•
6th - 12th Grade
20 questions
Stoichimetry Quiz
Quiz
•
6th - 12th Grade
18 questions
Section 1- Dear Mr. Henshaw
Quiz
•
KG - University
20 questions
That,This,Those, These
Quiz
•
7th - 12th Grade
20 questions
Burger
Quiz
•
1st - 12th Grade
20 questions
Microsoft Excel
Quiz
•
KG - Professional Dev...
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 Other
8 questions
Spartan Way - Classroom Responsible
Quiz
•
9th - 12th Grade
10 questions
Cell Organelles and Their Functions
Interactive video
•
6th - 10th Grade
20 questions
Graphing Inequalities on a Number Line
Quiz
•
6th - 9th Grade
20 questions
Combining Sentences
Lesson
•
9th Grade
11 questions
Adding and Subtracting Polynomials
Quiz
•
9th Grade
22 questions
El Imperfecto
Quiz
•
9th - 12th Grade
20 questions
Box and Whisker Plots
Quiz
•
9th Grade
18 questions
Exponential Growth and Decay
Quiz
•
9th Grade