Python - Conditional Programming

Quiz
•
Computers
•
8th Grade
•
Hard
bhoomi raisinghani
Used 16+ times
FREE Resource
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
Similar Resources on Wayground
13 questions
Python

Quiz
•
7th - 8th Grade
15 questions
Fun with Coding Concepts

Quiz
•
4th Grade - University
15 questions
Python Basics

Quiz
•
KG - University
15 questions
Programming Concepts Quiz

Quiz
•
6th - 8th Grade
15 questions
AP CSP Exam Review: Big Idea 3

Quiz
•
8th - 10th Grade
14 questions
Coding Vocabulary

Quiz
•
8th Grade
13 questions
App Creators - Activity 1.7

Quiz
•
6th - 8th Grade
15 questions
Python basics

Quiz
•
6th - 8th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
18 questions
Company Logos

Quiz
•
6th - 8th Grade
10 questions
Exploring Cybersecurity Techniques and Threats

Interactive video
•
6th - 10th Grade
10 questions
Understanding the Internet and Data Transmission

Interactive video
•
7th - 12th Grade
25 questions
How to Email a Teacher- https://youtu.be/NioeNhfpVfI

Quiz
•
6th - 8th Grade
20 questions
Computer Hardware

Quiz
•
6th - 8th Grade
21 questions
Gear Ratio Practice

Quiz
•
6th - 8th Grade