Module 2 Quiz - Turtles and For Loops
star
star
star
star
star
Last updated almost 6 years ago
10 questions
Note from the author:
LCC College Now CS 161Python
1
1) In the following code, which line adds turtle functionality to the Python program?
1) In the following code, which line adds turtle functionality to the Python program?
1
In the following code, how many turtle shapes appear on the screen?
In the following code, how many turtle shapes appear on the screen?
1
In the following code, what variable refers to the turtle?
In the following code, what variable refers to the turtle?
1
Which direction does the turtle face when it is first created?
Which direction does the turtle face when it is first created?
1
The following code will go through the loop 3 times.
The following code will go through the loop 3 times.
1
The command fred = turtle.Turtle() does which of the following?
The command fred = turtle.Turtle() does which of the following?
1
How many times will this code loop?
How many times will this code loop?
1
What shape will be drawn by the following code?
What shape will be drawn by the following code?
1
What will be drawn by the following code?
What will be drawn by the following code?
1
Which of the following programs will draw a shape like this:
Which of the following programs will draw a shape like this: