Python L2- Quiz 1
Quiz
•
Computers
•
5th - 12th Grade
•
Practice Problem
•
Medium
Jerry Xiao
Used 51+ times
FREE Resource
Enhance your content in a minute
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?
Similar Resources on Wayground
10 questions
Internet
Quiz
•
7th - 10th Grade
10 questions
Quick Revision Term3
Quiz
•
7th Grade
11 questions
Gr3-Scratch - Revision
Quiz
•
3rd - 5th Grade
10 questions
File Management 3 Quiz
Quiz
•
8th Grade
10 questions
Grade 11 Term 4 Practice 2
Quiz
•
11th Grade
10 questions
Computer Networks - Introduction
Quiz
•
1st - 5th Grade
10 questions
IPO CYCLE, COMPUTER NWTWORKS END OF TERM EXAM YEAR 5
Quiz
•
5th Grade
10 questions
First step to Internet 5B1
Quiz
•
5th 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
