
Python Quiz
Authored by Gary Vear
Computers
8th Grade
Used 16+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What line of code is necessary to use drawing functions in Python such as fillcolor, forward, left and right?
from turtle import*
start turtle
begin_turtle
import python
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What Python Turtle function allows you to change the colour of a shape's borders?
fillcolor
pencolor
linecolor
bordercolor
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following functions can be used to create a loop? (check all that apply)
for i in range
if
else
elif
4.
FILL IN THE BLANK QUESTION
1 min • 1 pt
A ________ is a container used to store a value that may change over time.
5.
FILL IN THE BLANK QUESTION
1 min • 1 pt
What would be the output of the following code?
number = "10"
print(number * 2)
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What would the following code draw?
from turtle import*
for i in range(3):
forward(100)
right(360/3)
A triangle pointing up
A triangle pointing to the right
A triangle pointing to the left
A triangle pointing down
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What would the following code output?
from turtle import*
left(90)
pencolor(green)
forward(100)
A green vertical line
A green horizontal line
A green diagonal line
An error message
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
17 questions
Plotting Shapes on Code.Org
Quiz
•
5th - 8th Grade
19 questions
Computer Networks - Year 7
Quiz
•
7th - 8th Grade
10 questions
Coding 300 Coding Basics
Quiz
•
7th - 8th Grade
10 questions
App Development lesson 1
Quiz
•
8th - 9th Grade
16 questions
Programming and Logic Lesson 2
Quiz
•
6th - 8th Grade
18 questions
PC Component Identification
Quiz
•
6th - 12th Grade
20 questions
Technology Innovations
Quiz
•
5th - 12th Grade
16 questions
Python programming
Quiz
•
6th - 12th Grade
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade