
Python - Conditional Programming
Authored by bhoomi raisinghani
Computers
8th Grade
Used 16+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the = = symbol mean in Python?
Equal to or shows equality
Not Equal
Code that will be skipped
End of clause
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If you want to test more than one condition (chained condition), what do you use after if statement?
elif
else
ifif
else if
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which one of the following if statements will not execute successfully:
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What signifies the end of a statement block or suite in Python?
end
}
A line that is indented less than the previous line
:
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the this code?
Prrr
Ruff
Both a and b
None of the above
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Fill in the blanks so that people of 18 years and older are allowed to vote
<=
<
>=
>
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When is the else statement used in Python?
To execute a block of code when the condition of the if statement is false.
To define a new condition for the if statement.
To end the entire program.
To execute a block of code when the condition of the if statement is true.
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
11 questions
Cascading Style Sheets
Quiz
•
8th - 12th Grade
15 questions
Kuis 2.4 Informatika (Teknologi Informatika ubah Kehidupan)
Quiz
•
8th Grade
15 questions
Algorithms
Quiz
•
7th - 10th Grade
11 questions
What is a computer
Quiz
•
KG - University
13 questions
Nhập môn HTML
Quiz
•
6th - 9th Grade
10 questions
CLASS 8 CODING
Quiz
•
8th Grade
9 questions
Introduction To Python
Quiz
•
6th - 8th Grade
10 questions
Working with tables
Quiz
•
5th - 12th Grade
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade