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

Midterm Exam

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

30 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Back
60 spaces
2.
FLASHCARD QUESTION
Front
Suppose you write a function. 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 need Tracy to move forward by 100.
You want Tracy to draw a blue line, and your program requires lots of blue lines.
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.
Back
5.
FLASHCARD QUESTION
Front
Which function would be most useful for making Tracy draw a mountain range, starting from the left side?
Back
6.
FLASHCARD QUESTION
Front
Which of the following is NOT a command you can give to Tracy? color, backward, left
Back
turn
7.
FLASHCARD QUESTION
Front
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.
Back
Indentation always matters in Python. Every statement must be aligned correctly.
Create a free account and access millions of resources
Similar Resources on Quizizz
18 questions
Area and Circumference of a Circle

Flashcard
•
9th Grade
24 questions
Programming Concepts Flashcard

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

Flashcard
•
8th - 10th Grade
27 questions
Python Tracy the Turtle (codehs) through Lesson 9

Flashcard
•
8th - 10th Grade
23 questions
Circle Vocab #1

Flashcard
•
9th - 10th Grade
20 questions
Circles

Flashcard
•
9th - 10th Grade
25 questions
Circumference and Area of Circles

Flashcard
•
10th Grade
27 questions
Parts of A Circle

Flashcard
•
10th Grade
Popular Resources on Quizizz
20 questions
math review

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
10 questions
Human Body Systems and Functions

Interactive video
•
6th - 8th Grade
19 questions
Math Review

Quiz
•
3rd Grade
45 questions
7th Grade Math EOG Review

Quiz
•
7th Grade
Discover more resources for Computers
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
20 questions
Investing

Quiz
•
9th - 12th Grade
20 questions
EOC Math 1 Review

Quiz
•
9th Grade
20 questions
Insurance

Quiz
•
9th - 12th Grade
20 questions
MCAS Biology Review

Quiz
•
9th - 10th Grade
20 questions
Paying for College

Quiz
•
9th - 12th Grade
20 questions
Math 1 EOC Review

Quiz
•
9th Grade