Python if statement
Quiz
•
Computers
•
University
•
Medium
Sherif Abdelhamid
Used 162+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which character must be at the end of the line for if?
:
;
.
{
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Pieces of code that only run "under certain conditions":
conditional statements
control flow statments
syntax
variables
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which statement will check to see if a is equal to b?
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
This operator means that one value is the same as the other value
5.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What is the output?
more than 7
more than 23
spam
7
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In what situation it will display the butterfly image?
When i is less than 5
When i is greater than 5
When i is greater and equal to 5
Any situation
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Else if (elif) is used in which situation?
If the previous conditions were not true
You can use if statement to replace elif
else is enough for now
Any situation
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
1ºDAM/DAW - Entornos de Desarrollo - UD1-6 - Prof. C. Boni
Quiz
•
University - Professi...
11 questions
Access
Quiz
•
10th Grade - University
10 questions
Emerging technologies
Quiz
•
6th Grade - University
10 questions
Pengantar Coding
Quiz
•
University
18 questions
Memory-Mobo-Hard/Software
Quiz
•
University
14 questions
Linux: Users and Groups
Quiz
•
9th Grade - University
20 questions
Digital introductions
Quiz
•
University
17 questions
Microprocessor - Intel 8088 - Part 1
Quiz
•
University
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
