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

Final Exam 9

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

44 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
Multiple Times
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 the most useful to make Tracy draw the picture attached, starting from the top?
Back
6.
FLASHCARD QUESTION
Front
Which of the following is NOT a command you can give to Tracy? color, turn, 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
36 questions
Quarter 2 Test Review

Flashcard
•
9th - 12th Grade
40 questions
AP Computer Science Principles - Fall Semester Exam

Flashcard
•
10th Grade
38 questions
AP Computer Science Principles Practice

Flashcard
•
10th Grade
38 questions
AP Computer Science Principles Practice

Flashcard
•
10th Grade
40 questions
AP CSA Unit 4 Review

Flashcard
•
11th Grade
35 questions
Scratch Basics

Flashcard
•
8th Grade
42 questions
CompSci1 2024 Fall Review

Flashcard
•
11th Grade
35 questions
Intro to Programming with Tracy the turtle

Flashcard
•
6th - 10th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University