Python - Conditional Programming
Quiz
•
Computers
•
8th Grade
•
Hard
bhoomi raisinghani
Used 16+ times
FREE Resource
Enhance your content in a minute
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.
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
13 questions
ICT and Retail Industry
Quiz
•
8th - 12th Grade
10 questions
Ms Excel - Grade 8
Quiz
•
8th Grade
15 questions
Coding Quiz
Quiz
•
6th - 10th Grade
10 questions
Grade 8 - Starter
Quiz
•
8th Grade
10 questions
Python with DataScience
Quiz
•
7th Grade - University
15 questions
G8 W 1 IGCSE 0417 Types of computer
Quiz
•
8th Grade
9 questions
KS3 Data Representation R1 Bits Nibbles Bytes
Quiz
•
8th Grade
10 questions
NETIQUETTE
Quiz
•
7th - 8th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
6 questions
FOREST Self-Discipline
Lesson
•
1st - 5th Grade
7 questions
Veteran's Day
Interactive video
•
3rd Grade
20 questions
Weekly Prefix check #2
Quiz
•
4th - 7th Grade
