Turtle Graphics and Range in Python

Quiz
•
Other
•
12th Grade
•
Medium
LaShawna Henry
Used 2+ times
FREE Resource
21 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
What module is imported to use the Turtle graphics in Python?
turtle
graphics
draw
paint
2.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
How many times does the for loop execute in the given Turtle graphics code?
5
4
3
2
3.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
What angle does the turtle turn to the right in each iteration of the loop?
90
360
180
120
4.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
What function is used to move the turtle forward by a specified distance?
move
advance
forward
step
5.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
What is the purpose of the 'wn.mainloop()' line in the Turtle graphics code?
To reset the turtle
To change the turtle color
To keep the window open
To close the window
6.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
What does the 'range(11)' function generate?
A list of numbers from 0 to 10
A list of numbers from 1 to 11
A list of numbers from 0 to 11
A list of numbers from 1 to 10
7.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
What is the output of 'list(range(1,16))'?
[0, 1, 2, ..., 16]
[0, 1, 2, ..., 15]
[1, 2, 3, ..., 16]
[1, 2, 3, ..., 15]
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Komputer Akuntansi Kelas XII

Quiz
•
12th Grade
20 questions
RCHS Handbook pages 2-21

Quiz
•
9th - 12th Grade
19 questions
Research Ethics in Psychology

Quiz
•
10th - 12th Grade
20 questions
Komputer Akuntansi (MYOB)

Quiz
•
11th - 12th Grade
20 questions
Digital Communications

Quiz
•
KG - University
17 questions
Business Etiquette

Quiz
•
9th - 12th Grade
21 questions
AP CSP Unit 5 Review 2021

Quiz
•
12th Grade
24 questions
Karel in Python Quiz Practice

Quiz
•
12th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade