
Python Programming Vocab 2 Quiz
Authored by Allyson Smith
Computers
10th Grade
Used 7+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of a for loop in Python?
To perform a task repeatedly for a set number of times
To check if a condition is true
To define a function
To comment on code
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you write a comment in Python?
With # at the beginning of the line
Using {} brackets
By surrounding text with $ symbols
With % at the start of the line
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the function setposition(x, y) do in Python?
Sets the speed of an operation
Moves Tracy to a specific coordinate
Changes the color of Tracy
Defines a new function
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a correct naming guideline for functions in Python?
Start with a lowercase letter
Use spaces between words
Begin with a letter
Use descriptive names
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the function of the begin_fill() statement in Python?
It starts a loop
It begins a color fill for a shape
It sets the position of Tracy
It defines a function
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which command changes the thickness of the line Tracy draws?
color("red")
pensize()
setposition()
begin_fill()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you make Tracy turn left by a specific angle?
setposition(x, y)
begin_fill()
left(angle)
color("red")
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
19 questions
Python Year 9 Quiz
Quiz
•
8th - 10th Grade
15 questions
Chapter 3: Storage devices and media (Part 2):
Quiz
•
10th - 11th Grade
15 questions
UH
Quiz
•
10th Grade
10 questions
Spoljna memorija - HDD
Quiz
•
9th - 11th Grade
10 questions
Working with tables
Quiz
•
5th - 12th Grade
11 questions
Cascading Style Sheets
Quiz
•
8th - 12th Grade
15 questions
Начала программирования на языке Паскаль
Quiz
•
8th - 11th Grade
13 questions
RAM&HDD/SSD
Quiz
•
10th - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade