
PY4E Chapters 2-3 Quiz
Authored by Sean Rattigan
Computers
8th Grade
Used 15+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
32 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Code executed based on a condition being true
Sequence
Selection
Iteration
Variable
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If you want more than one option for your code, what do you use (after if)?
elif
else
ifif
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is python named after
The snake
Television show called Monty Python
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What extension must you add to the end of a file when saving?
.xlsx
.pptx
.docx
.py
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the print function do in python?
It's a variable.
It can input data.
It displays something like a string or integer
It loops the code.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What symbol do you use to make a comment in Python?
@
¬
;
#
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The character that must be at the end of the line for if, while, for etc.
:
;
.
,
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?