When the following for loop is complete, how many spaces will Tracy have moved?
for i in range(5):
forward(10)
Python Program

Flashcard
•
Computers
•
9th Grade
•
Hard
Quizizz Content
FREE Resource
Student preview

25 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Back
50
2.
FLASHCARD QUESTION
Front
How many times can you call the function in your code?
Back
as many times as you want
3.
FLASHCARD QUESTION
Front
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.
Back
You want Tracy to draw a blue line, and your program requires lots of blue lines.
4.
FLASHCARD QUESTION
Front
Which of the following pieces of code will make Tracy do the following actions three times: go forward, change colors, and then turn around? Options: for i in range(4): forward(30) color("blue") left(180), for i in range(3): forward(30) color("blue") left(180) color("red"), for i in range(3): backward(30) color("blue") left(180), forward(30) color("blue") left(180) forward(30) color("green") left(180) forward(30) color("orange") left(180)
Back
forward(30) color("blue") left(180) forward(30) color("green") left(180) forward(30) color("orange") left(180)
5.
FLASHCARD QUESTION
Front
Which function would be the most useful to make Tracy draw a mountain range? Options: def make_triangle(), def change_to_red(), def move_100(), def my_function()
Back
def make_triangle():
6.
FLASHCARD QUESTION
Front
Which of the following is NOT a command you can give to Tracy? left, backward, turn, color
Back
turn
7.
FLASHCARD QUESTION
Front
Which of the statements below is true about indentation in Python? Indentation only matters in for loops. Indentation never matters in Python. Indentation always matters in Python. Indentation only matters in functions.
Back
Indentation always matters in Python.
Create a free account and access millions of resources
Similar Resources on Quizizz
22 questions
Hour of Code Flashcard

Flashcard
•
8th - 9th Grade
20 questions
Activity 2.1 Making Sense/Activity 2.2 Color Coded

Flashcard
•
8th Grade
20 questions
Maze Code Skill Check

Flashcard
•
8th Grade
15 questions
Inequalities on a number line

Flashcard
•
9th Grade
24 questions
VEX V5 Coding

Flashcard
•
8th Grade
25 questions
Tracy Unit 2 Final Test Study

Flashcard
•
10th Grade
15 questions
Graphing and Solving Inequalities

Flashcard
•
9th Grade
25 questions
Essentials of Programming Exam Review

Flashcard
•
8th - 10th Grade
Popular Resources on Quizizz
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
Discover more resources for Computers
25 questions
Spanish preterite verbs (irregular/changed)

Quiz
•
9th - 10th Grade
10 questions
Identify Slope and y-intercept (from equation)

Quiz
•
8th - 9th 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
26 questions
June 19th

Quiz
•
4th - 9th Grade
27 questions
STAAR English 1 Review

Quiz
•
9th Grade
20 questions
Understanding Linear Equations and Slopes

Quiz
•
9th - 12th Grade