
Python Unit 2
Authored by Jon Kern
Computers
9th - 12th Grade
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following code?
count = 5
while count > 0:
circle(50)
forward(100)
5 circles in a row
4 circles in a row
Will create a slinky with 5 circles
Infinite Loop
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which command will Tracy perform when given the following code?
count = 200
count = count + 1
if count % 2 == 0:
forward(count)
backward(count)
forward(201)
backward(201)
forward(200)
backward(200)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following program?
for i in range(3, 7, 2):
circle(50, 360, i)
Three circles with radii of 3, 7 and 2.
Three shapes- a triangle (3 sides), a heptagon (7 sides), and a line (2 sides).
Three shapes- a triangle (3 sides), a pentagon (5 sides), and a heptagon (7 sides).
Two shapes- a triangle (3 sides) and a pentagon (5 sides).
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Can a user’s input control the size of a circle? If so, how?
No, user input is a string.
Yes, circle(user_input=50)
Yes, radius = int(input("Radius: "))circle(radius)
Yes,radius = input("Radius: ")circle(radius)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What shape will be drawn with the following command?circle(50, 360, 3)
Circle
Triangle
Diamond
Square
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following commands can be used to turn Tracy to face North if she is initially facing South?
right(180)
left(90)
right(90)
left(360)
left(180)
right(90)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When the following for loop is complete, how many spaces will Tracy have moved?
for i in range(5): forward(10)
10
5
50
60
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
0 questions
Unit 2 Tracy Turtle Test
Quiz
•
0 questions
Intro to CS-Python Unit 2 Quiz 1
Quiz
•
0 questions
Python Quiz
Quiz
•
0 questions
CodeHS Tracy Unit 3 Review
Quiz
•
0 questions
CodeHS Python Chapter 2
Quiz
•
0 questions
IG2 U5T3 Iteration
Quiz
•
0 questions
More Python
Quiz
•
0 questions
Python
Quiz
•
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade