Python Program

Quiz
•
Computers
•
9th Grade
•
Hard

Brittany Willis
Used 53+ times
FREE Resource
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
1. When the following for loop is complete, how many spaces will Tracy have moved?
for i in range(5):
forward(10)
50
60
10
5
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many times can you call the function in your code?
once
depends on the function
as many times as you want
not more than once
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
1. 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
1. Which of the following pieces of code will make Tracy do the following actions three times: go forward, change colors, and then turn around.
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)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
1. Suppose you want to make Tracy draw a mountain range, like the one shown below, starting from the left side.
Which of the following functions would be the most useful function to write in order to solve this problem?
def make_triangle():
def change_to_red():
def move_100():
def my_function():
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a command you can give to Tracy?
left
backward
turn
color
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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.
Create a free account and access millions of resources
Similar Resources on Wayground
22 questions
RoboMind Chalengge

Quiz
•
9th Grade
20 questions
PH COREL DRAW

Quiz
•
9th Grade
20 questions
GCSE - Algorithms 1

Quiz
•
9th - 10th Grade
20 questions
Intro to Python Turtle Graphics 2.1-2.4 [50 points]

Quiz
•
9th Grade
20 questions
Python turtle

Quiz
•
8th - 9th Grade
21 questions
PyGame 9 сынып 4 тоқсан 2

Quiz
•
9th Grade
22 questions
VII разред: Python - Pygame

Quiz
•
1st - 12th Grade
25 questions
Premiere Pro Tools I

Quiz
•
6th Grade - University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade