Search Header Logo

Python Turtle - Homework

Authored by P Upstone

Computers

12th Grade

Used 41+ times

Python Turtle - Homework
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

How do you tell python you want to use the turtle library

turtle import

import turtle

from libraries import turtle

from turtle import libraries

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The .turn(x) command instructs the turtle to turn

Clockwise if x is positive

Anti-clockwise if x is positive

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

t = turtle.Turtle()

t.setheading(270)


The turtle in this program will be facing....

Up

Right

Down

Left

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of these commands would successfully create a turtle named Alice

Alice = turtle.turtle()

Alice = Turtle.turtle()

Alice = Turtle.Turtle()

Alice = turtle.Turtle()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What happens if you call your python progam "turtle"

your program crashes because you have spelt it wrong

your program crashes because it stops the import turtle line from working

your program crashes because it should have been saved as turtle.turtle

your program runs fine

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

counter = 0

while counter<4:

t.forward(100)

t.turn(90)

counter = counter + 1


What shape will this draw?

Square

Rectangle

Triangle

Rhombus

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

counter = 0

while counter<9:

t.forward(100)

t.turn(40)

counter = counter + 1


How many times will this code repeat itself?

7

8

9

10

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?