Python if statement
Quiz
•
Computers
•
University
•
Medium
Sherif Abdelhamid
Used 159+ 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
10 questions
Python with DataScience
Quiz
•
7th Grade - University
20 questions
Algoritma Pemrograman
Quiz
•
University
20 questions
Digital and Analog transmission
Quiz
•
University
20 questions
Soal AIJ bulan Agustus 2019 kls xii
Quiz
•
University
11 questions
Email of request
Quiz
•
12th Grade - Professi...
15 questions
Ms. Exel dan Fungsi Logika IF
Quiz
•
10th Grade - University
20 questions
STS Informatika
Quiz
•
10th Grade - University
10 questions
Sains Komputer Tingkatan 4 - 3.1.1 Mengkaji keperluan intera
Quiz
•
1st Grade - Professio...
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
