Python - Conditional Programming

Quiz
•
Computers
•
8th Grade
•
Hard
bhoomi raisinghani
Used 15+ 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
10 questions
Scratch - Conditional statements

Quiz
•
7th - 9th Grade
10 questions
Quiz#5

Quiz
•
8th Grade
13 questions
CTE Information Technology Quiz

Quiz
•
7th - 9th Grade
10 questions
Codebots 3

Quiz
•
7th - 9th Grade
12 questions
Scratch -if else

Quiz
•
6th - 8th Grade
15 questions
Scratch

Quiz
•
6th - 8th Grade
13 questions
Scratch

Quiz
•
8th Grade
14 questions
Coding Conditionals

Quiz
•
6th - 8th Grade
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
10 questions
Chaffey

Quiz
•
9th - 12th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
22 questions
6-8 Digital Citizenship Review

Quiz
•
6th - 8th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade