
PLTW Python Reference Quiz
Quiz
•
Education
•
9th - 12th Grade
•
Practice Problem
•
Hard
Edward Gates
FREE Resource
Enhance your content in a minute
24 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the while statement do in Python?
It identifies a section of code to repeat while the condition evaluates to true.
It identifies a section of code to execute only once.
It identifies a section of code to execute when an error occurs.
It identifies a section of code to execute when a condition is false.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In the `if/else` statement in Python, what happens when the condition evaluates to True?
The code below the `else` executes.
The code below the `if` executes.
The code below both `if` and `else` executes.
The code does not execute.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In Python, what does the comparison operator a < b evaluate to?
True if a is greater than b.
True if a is less than b.
True if a is equal to b.
True if a is not equal to b.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which comparison operator in Python evaluates to true if a is greater than or equal to b?
a < b
a > b
a <= b
a >= b
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In Python, what does the comparison operator a == b evaluate to?
True if a is greater than b.
True if a is less than b.
True if a is equal to b.
True if a is not equal to b.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the while not statement do in Python?
It repeats until the condition evaluates to true.
It repeats until the condition evaluates to false.
It repeats indefinitely.
It does not repeat at all.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the '#' symbol do in Python code?
To help readers understand the code.
To execute a part of the code.
To create a loop.
To define a function.
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
20 questions
REVISION 4 : TOPIC 9 [ACCOUNTING FOR NON-CURRENT ASSETS]
Quiz
•
1st Grade - University
19 questions
UJIAN TENGAH SEMESTER BAHASA INDONESIA KELAS 9
Quiz
•
9th Grade
20 questions
Computación 1ro y 2do básico
Quiz
•
1st Grade - University
20 questions
[EOE1-2P-1] Organizadores
Quiz
•
1st Grade - University
20 questions
Xâu_lần 2
Quiz
•
11th Grade
21 questions
Guess the Anime Character
Quiz
•
KG - Professional Dev...
20 questions
BALANCING RODA
Quiz
•
12th Grade
20 questions
Tema 2. Música en la Edad Media.
Quiz
•
9th Grade
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
Discover more resources for Education
20 questions
El Verbo IR Practice
Quiz
•
9th Grade
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
20 questions
Graphing Inequalities on a Number Line
Quiz
•
6th - 9th Grade
15 questions
Main Idea and Supporting Details.
Quiz
•
4th - 11th Grade
10 questions
Theme
Quiz
•
9th Grade
20 questions
Cell Organelles
Quiz
•
10th Grade
12 questions
Exponential Growth and Decay
Quiz
•
9th Grade
