stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Python Turtle Flashcards | StudBud
Explore
/
Python Turtle
Python Turtle
16 terms
·
StudBud Administration
·
5,682 plays
A quiz quiz to test basic knowledge in Python's Turtle use
Flashcards
16 cards
F
Practice quiz
P
Host live
L
Questions
16
Answers
1
What is the angle turned for a nanogon?
40
35
45
90
2
What is the result of this code?
A square inside a circle
A circle above a square
A circle inside a square
A circle next to a square
3
What is the range for a for loop to make a septagon?
for i in range (1, 6)
for i in range (1, 7)
for i in range (1, 9)
for i in range (1, 8)
4
What is the result of this code?
It will draw 6 hexagons
It will draw 5 stars
It will draw 6 stars
It will draw 5 pentagons
5
What is the result of this code?
A polygon of 12 sides
A polygon of 7 sides
A polygon of 10 sides
A polygon of 20 sides
6
How many degrees in each turn for a triangle?
60
90
120
45
7
What will the instruction t.shape("circle") means?
The arrow will draw a circle in the canvas
The arrow that moves will be a circle instead
The arrow will turn 360 degrees
A small circle appears inside a big circle
8
What does the t.penup() command do?
Lifts the pen up
Moves forward drawing a line
Puts down the pen
Moves forward without drawing a line
9
What is the correct syntax of a for loop?
for i in range (1, 4)
for i in range (4)
for i range (1, 4):
for i in range (1, 4):
10
What is the fastest speed in the function t.speed()?
1
0
9
10
11
What is the result of this code?
A blue hexagon with green lines
A blue heptagon with green lines
A green hexagon with blue lines
Nothing
12
What does the line t=turtle.Turtle() represent?
"t" is the name of the object turtle
"t" is the symbol that draws lines
"t" is the number of steps in a shape
"t" will have the shape of a turtle
13
What will the fill color be for this square?
Blue
White
Green
Black
14
What does the number mean in the function t.right(90)?
90 degrees
90 pixels
90 steps
90 turns
15
How many lines will we see in this code?
50
4
5
49
16
What is the result of this code?
A red circle in a blue circle
A blue circle in a red circle
A blue circle in a blue circle
A red circle in a red circle