
Conditional Statements
Quiz
•
Information Technology (IT)
•
Professional Development
•
Easy
Justus Gan
Used 1+ times
FREE Resource
5 questions
Show all answers
1.
FILL IN THE BLANK QUESTION
1 min • 1 pt
In an IF statement, the expression is _ _ _ _ _ _ _ if the condition is false.
2.
FILL IN THE BLANK QUESTION
1 min • 1 pt
In an IF - ELSE statement if the condition is false, the indented expression under _ _ _ _ will be printed.
3.
FILL IN THE BLANK QUESTION
1 min • 1 pt
In an IF - ELIF - ELSE statement, the ELIF keyword allows you to check _ _ _ _ _ _ _ _ conditions.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Complete the following code to check if a number is positive
number is positive
number is more than zero
number > 0
number == > 0
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the output of the following code be?
num1 and num2 are equal
num1 is greater than num2
num2 is greater than num1
num1 is greater than num2
num2 is greater than num1
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade