Turtle Graphics and Range in Python

Turtle Graphics and Range in Python

12th Grade

21 Qs

quiz-placeholder

Similar activities

Python quiz

Python quiz

7th - 12th Grade

25 Qs

Web Design- HTML Review

Web Design- HTML Review

KG - University

17 Qs

PRACTICAL RESEARCH 2

PRACTICAL RESEARCH 2

12th Grade

20 Qs

Komputer Akuntansi (MYOB)

Komputer Akuntansi (MYOB)

11th - 12th Grade

20 Qs

Python Ranges and Operators

Python Ranges and Operators

12th Grade

17 Qs

STAAR SCIENCE REVIEW

STAAR SCIENCE REVIEW

2nd - 12th Grade

19 Qs

Computer Science Vocabulary Fetherland, Kaylyn

Computer Science Vocabulary Fetherland, Kaylyn

6th - 12th Grade

18 Qs

AP Computer Science Principles

AP Computer Science Principles

12th Grade

20 Qs

Turtle Graphics and Range in Python

Turtle Graphics and Range in Python

Assessment

Quiz

Other

12th Grade

Medium

Created by

LaShawna Henry

Used 2+ times

FREE Resource

21 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

What module is imported to use the Turtle graphics in Python?

turtle

graphics

draw

paint

2.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

How many times does the for loop execute in the given Turtle graphics code?

5

4

3

2

3.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

What angle does the turtle turn to the right in each iteration of the loop?

90

360

180

120

4.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

What function is used to move the turtle forward by a specified distance?

move

advance

forward

step

5.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

What is the purpose of the 'wn.mainloop()' line in the Turtle graphics code?

To reset the turtle

To change the turtle color

To keep the window open

To close the window

6.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

What does the 'range(11)' function generate?

A list of numbers from 0 to 10

A list of numbers from 1 to 11

A list of numbers from 0 to 11

A list of numbers from 1 to 10

7.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

What is the output of 'list(range(1,16))'?

[0, 1, 2, ..., 16]

[0, 1, 2, ..., 15]

[1, 2, 3, ..., 16]

[1, 2, 3, ..., 15]

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?

Discover more resources for Other