
Python Random and Turtle Graphics Quiz
Authored by Fadi Fadi
Information Technology (IT)
10th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the random.randint(1, 10) function do?
Generates a random float between 1 and 10
Generates a random integer between 1 and 10
Generates a random integer between 0 and 10
Generates a random integer between 1 and 9
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which library must you import to use the random.randint function?
math
random
os
sys
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will random.randint(5, 5) return?
An error
A random integer between 1 and 5
Always 5
None of the above
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which command is used to move the pen without drawing?
pendown()
penup()
forward()
left()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the turtle.forward(100) command do?
Moves the turtle backward by 100 units
Rotates the turtle 100 degrees
Moves the turtle forward by 100 units
Changes the speed to 100
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does turtle.right(90) do?
Turns the turtle 90 degrees to the left
Rotates the turtle 90 degrees clockwise
Moves the turtle forward by 90 units
Changes the turtle’s color to blue
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you change the pen size in the Turtle module?
pen.size(5)
penwidth(5)
pensize(5)
pen.size = 5
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
12 questions
2.1 Wire Ethernet
Quiz
•
9th - 12th Grade
10 questions
Kiểm Tra Bài Cũ
Quiz
•
10th Grade
16 questions
9 Weeks Test
Quiz
•
9th - 12th Grade
15 questions
EXTRA PRACTICE - Coding & Gaming
Quiz
•
10th Grade
10 questions
Module 2.3.8 Quiz
Quiz
•
10th Grade
10 questions
Introduction to Excel
Quiz
•
10th Grade
16 questions
Minecraft Education Edition Basics Quiz
Quiz
•
7th Grade - University
10 questions
Pre Test Informatika Kelas 10
Quiz
•
10th 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
Discover more resources for Information Technology (IT)
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
15 questions
Main Idea and Supporting Details.
Quiz
•
4th - 11th Grade
20 questions
Cell Organelles
Quiz
•
10th Grade
25 questions
Complementary and Supplementary Angles
Quiz
•
7th - 10th Grade
12 questions
Add and Subtract Polynomials
Quiz
•
9th - 12th Grade
13 questions
Model Exponential Growth and Decay Scenarios
Quiz
•
9th - 12th Grade
10 questions
Exploring the Layers of the Earth
Interactive video
•
6th - 10th Grade