When the following for loop is complete, how many spaces will Tracy have moved?
for i in range(5):
forward(10)
Tracy the Turtle Review
Quiz
•
Computers
•
10th Grade
•
Hard
Taylor Anderson
Used 6+ times
FREE Resource
20 questions
Show all answers
1.
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)
50 spaces
60 spaces
10 spaces
5 spaces
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Suppose you write a function. How many times can you call the function in your code?
Once
Not more than the number of commands the function holds
It depends on the function
As many times as you want
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In which of the following situations would it be best to make a function?
You want Tracy to draw a blue line, and your program requires lots of blue lines.
You need Tracy to move forward by 100.
You need Tracy to turn right and then turn left.
You need to change Tracy's color.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Suppose you want to make Tracy draw a mountain range, like the one shown, starting from the left side. Which of the following functions would be the most useful function to write in order to solve this problem?
# Has Tracy draw a single triangle def make_triangle():
# Change's Tracy's color to red def change_to_red():
# Moves Tracy forward by 100 def move_100():
# Draws a square def my_function():
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a command you can give to Tracy?
color
turn
backward
left
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the statements below is true about indentation in Python?
Indentation only matters in for loops. Then, everything must be indented one level.
Indentation never matters in Python. You can align your code any way you like, but indentation makes your code easier to read.
Indentation always matters in Python. Every statement must be aligned correctly.
Indentation only matters in functions. Then, everything must be indented one level.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following statements are true about for loops?
A. By default, the range function starts at 0
B. Using for i in range(4) will result in i taking the values 0, 1, 2, 3, 4
C. For loops let you repeat something any number of times
D. Statements in a for loop do not need to be indented
E. It is not possible to have the range values count 6, 12, 18, 24
F. It is not possible to have the range values count 1, 2, 4, 8, 16
A, C, and F
A, B, C, and F
A, B, C, E, and F
A and C
15 questions
JavaScript and Graphics
Quiz
•
9th - 12th Grade
20 questions
Tracy Intro to Programming Test
Quiz
•
10th Grade
20 questions
3RD TERM STEAM CAT 2025
Quiz
•
3rd Grade - University
22 questions
IST CodeHS Unit 8 JavaScript Review
Quiz
•
9th - 12th Grade
17 questions
CP M.6 Assessment Review
Quiz
•
9th - 12th Grade
15 questions
2D CAD
Quiz
•
9th - 12th Grade
20 questions
Unit 5 Quiz - Loops & Lists (code.org)
Quiz
•
10th - 12th Grade
16 questions
ds2_1s11
Quiz
•
10th Grade
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
25 questions
Spanish preterite verbs (irregular/changed)
Quiz
•
9th - 10th Grade
10 questions
Juneteenth: History and Significance
Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1
Quiz
•
9th - 12th Grade
20 questions
Distance, Midpoint, and Slope
Quiz
•
10th Grade
20 questions
Figurative Language Review
Quiz
•
10th Grade
20 questions
Understanding Linear Equations and Slopes
Quiz
•
9th - 12th Grade