
Python L2- Quiz 1
Authored by Jerry Xiao
Computers
5th - 12th Grade
Used 51+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is the correct extension to save Python files?
.txt
.scr
.py
No Extension
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When using Thonny, your code saves automatically like it does with repl.it
True
False
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are the benefits of running code locally versus on the internet?
No dependence on internet connection
Smoother execution of code
Faster execution of code
All of the above
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In Python, the different data types are:
string, integer, float
if, elif, else
whole, decimal, fractional
input, output, event
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the code above?
146
145
5987
8759
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If you are debugging your code and want to stop it on a specific line while, which of these should you use?
breakpoint
codestop
newline
Boolean
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In order to use the Turtle library, at the beginning of our code we must type
import turtle
from turtle import turtle()
Import Turtle
initialize turtle
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?