2.4 IF, THEN, ELSE

Quiz
•
Computers
•
9th Grade
•
Hard
Mr Mayer
Used 38+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What's the name of the variable in this code?
if
Weather
weather
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the weather variable store?
Sun
the answer to the question "What's the weather like outside?"
Rain
weather
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will happen if the answer "rain" is stored in weather?
program will print "take suncream"
Nothing, it's not an option
program will print "take an umbrella"
Don't take an umbrella
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will happen if the answer "sun" is stored in weather?
program will print "take suncream"
Nothing, it's not an option
program will print "take an umbrella"
Don't take an umbrella
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will happen if the answer "rain" is stored in weather?
program will print "take suncream"
Nothing, it's not an option
program will print "take an umbrella"
Don't take an umbrella
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Look at this code. What will happen if the user types "sun" into the program?
It will print "You don't need an umbrella"
It will print "You need an umbrella"
It will print you need sun glasses
It will print don't wear a hat
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Look at this code. What will happen if the user types "rain" into the program?
It will print "You don't need an umbrella"
It will print "You need an umbrella"
It will print "Take an umbrella
It will print don't wear a hat
Create a free account and access millions of resources
Similar Resources on Wayground
7 questions
Module 2 Mini Quiziz Review

Quiz
•
9th - 12th Grade
14 questions
Data types and Input

Quiz
•
7th - 9th Grade
13 questions
Program Development - Python: Errors

Quiz
•
8th - 10th Grade
13 questions
String Manipulation

Quiz
•
9th - 11th Grade
13 questions
Y9 Homework 1: Python Revisited 1

Quiz
•
9th Grade
15 questions
Java Script Quiz

Quiz
•
9th - 12th Grade
10 questions
ICT Java programming workshop

Quiz
•
9th Grade
15 questions
Creating and Altering Data Structure

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
10 questions
"LAST STOP ON MARKET STREET" Vocabulary Quiz

Quiz
•
3rd Grade
19 questions
Fractions to Decimals and Decimals to Fractions

Quiz
•
6th Grade
16 questions
Logic and Venn Diagrams

Quiz
•
12th Grade
15 questions
Compare and Order Decimals

Quiz
•
4th - 5th Grade
20 questions
Simplifying Fractions

Quiz
•
6th Grade
20 questions
Multiplication facts 1-12

Quiz
•
2nd - 3rd Grade