Which direction does the Turtle face when it is created?

Python Quiz 1

Quiz
•
Computers
•
9th - 12th Grade
•
Easy
Jessica Fletcher
Used 7+ times
FREE Resource
14 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
North
South
East
West
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider the following code. What does the line “import turtle” do?
It creates a new turtle object that can be used for drawing.
It defines the module turtle which will allow you to create a Turtle object and draw with it.
It makes the turtle draw half of a rectangle on the screen.
Nothing, it is unnecessary.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
True or False: A Turtle object can have any name that follows the naming rules
True
False
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following code would produce the following image?
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
True or False: You can only have one active turtle at a time. If you create a second one, you will no longer be able to access or use the first.
True
False
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How does python know what statements are contained in a for loop or while loop body?
They are indented to the same degree from the loop header.
There is always exactly one line in the loop body.
The loop body ends with a semi-colon (;) which is not shown in the code above.Check MeCompare me
The loop body is handled with curly braces { }.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The correct code to generate a random number between 1 and 100 (inclusive) is:
prob = random.randint(1, 101)
prob = random.randint(1, 100)
prob = random.randint(0, 101)
prob = random.randint(0, 101)
Create a free account and access millions of resources
Similar Resources on Quizizz
18 questions
FOR and WHILE loop in Python

Quiz
•
9th - 12th Grade
15 questions
Hangman Game - Programming Questions

Quiz
•
7th - 11th Grade
15 questions
KS4 - Python Turtle

Quiz
•
9th - 11th Grade
14 questions
9.1.5 - Starter Quiz

Quiz
•
7th - 11th Grade
14 questions
Code.org Unit 3

Quiz
•
9th - 12th Grade
16 questions
National 5 Computing Science SDD - Loops

Quiz
•
9th Grade
12 questions
Homework 1 Edublocks

Quiz
•
7th - 9th Grade
12 questions
9.1.6 - Starter Quiz

Quiz
•
8th - 9th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Computers
25 questions
Spanish preterite verbs (irregular/changed)

Quiz
•
9th - 10th Grade
10 questions
Identify Slope and y-intercept (from equation)

Quiz
•
8th - 9th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1

Quiz
•
9th - 12th Grade
26 questions
June 19th

Quiz
•
4th - 9th Grade
20 questions
Distance, Midpoint, and Slope

Quiz
•
10th Grade
20 questions
Figurative Language Review

Quiz
•
10th Grade
27 questions
STAAR English 1 Review

Quiz
•
9th Grade