Python Quiz

Quiz
•
Computers
•
8th Grade
•
Hard

Gary Vear
Used 15+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Python year 9

Quiz
•
8th - 11th Grade
20 questions
Combined Python Turtle 1&2

Quiz
•
8th Grade
12 questions
Tkinter 2.0

Quiz
•
7th - 11th Grade
20 questions
Викторина. Мультикурс.

Quiz
•
8th Grade
15 questions
Python 1st year quiz #1

Quiz
•
8th Grade
15 questions
ASK F2 -KOD ARAHAN (PYTHON)

Quiz
•
1st Grade - University
20 questions
การแก้ปัญหาด้วยภาษาไพทอน

Quiz
•
KG - Professional Dev...
17 questions
Python KS3

Quiz
•
6th - 9th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
18 questions
Company Logos

Quiz
•
6th - 8th Grade
10 questions
Exploring Cybersecurity Techniques and Threats

Interactive video
•
6th - 10th Grade
10 questions
Understanding the Internet and Data Transmission

Interactive video
•
7th - 12th Grade
25 questions
How to Email a Teacher- https://youtu.be/NioeNhfpVfI

Quiz
•
6th - 8th Grade
20 questions
Computer Hardware

Quiz
•
6th - 8th Grade
21 questions
Gear Ratio Practice

Quiz
•
6th - 8th Grade