The following statement will check to see if the turtle's pen color is 'green':
if turtle.pencolor() = 'green'
Python-Week5
Quiz
•
Other
•
University - Professional Development
•
Medium
Yahini Prabha Murugesan
Used 4+ times
FREE Resource
27 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The following statement will check to see if the turtle's pen color is 'green':
if turtle.pencolor() = 'green'
True
False
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The following code snippet will change the turtle's pen size to 4 if it is presently less than 4:
if turtle.pensize() < 4:
<tab>turtle.pensize(4)
True
False
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In order to draw an octagon with turtle graphics, you would need a loop that iterates eight times.
True
False
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
To use Python's turtle graphics, you must include which of the following statements in your program?
import turtle_graphics
import turtle
import turtle_module
import Turtle
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The Python turtle is initially positioned in the __________ of a graphics window.
center
top
right
left
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
By default, Turtle be heading to __________.
up
down
East
west
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following will hide the turtle if it is visible?
if turtle.isvisible():
turtle.hideturtle()
if turtle.isvisible
turtle.hideturtle()
if turtle.isvisible():
turtle.invisible()
turtle.isvisible():
turtle.hide()
24 questions
CAD_QUIZ
Quiz
•
University
25 questions
CHAPTER 3 - Sensor
Quiz
•
Professional Development
26 questions
C-17 2AXXX Production Team Member Exam Review
Quiz
•
Professional Development
30 questions
Code Carrer 1st Year
Quiz
•
University
26 questions
gv reviewer
Quiz
•
University
22 questions
Teacher TryOut
Quiz
•
University
25 questions
Information Systems Test 1
Quiz
•
12th Grade - University
26 questions
EDC QUIZ
Quiz
•
University
15 questions
Multiplication Facts
Quiz
•
4th Grade
20 questions
Math Review - Grade 6
Quiz
•
6th Grade
20 questions
math review
Quiz
•
4th Grade
5 questions
capitalization in sentences
Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance
Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions
Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines
Quiz
•
Professional Development
12 questions
Dividing Fractions
Quiz
•
6th Grade