
Python Programming Vocab 2 Quiz

Quiz
•
Computers
•
10th Grade
•
Easy

Allyson Smith
Used 2+ times
FREE Resource
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")
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Grade 8 End of Unit Revision

Quiz
•
8th Grade - University
10 questions
Gr10 DigiPro Sprint 1.1

Quiz
•
10th Grade
20 questions
AQA GCSE Computer Science - 3.2.10 Subroutines

Quiz
•
8th - 10th Grade
15 questions
Programming python review

Quiz
•
9th - 12th Grade
18 questions
Kiểu dữ liệu xâu kí tự trong Python

Quiz
•
10th Grade - University
15 questions
Python Quiz

Quiz
•
9th - 12th Grade
20 questions
TIN 10 Bài 10 CĐ F. Hàm

Quiz
•
10th Grade
10 questions
Python Variables

Quiz
•
7th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

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

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade