Search Header Logo

Python Level 1 Quiz #6

Authored by Mariel Reyes

Computers, Other

5th - 12th Grade

Used 6+ times

Python Level 1 Quiz #6
AI

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

True or False: The following statement will check to see if the turtle’s pen color is ‘green’:


if turtle.pencolor() = ‘green’

True

False

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

True or False: The following code snippet will change the turtle’s pen size to 4 if it is presently less than 4:


if turtle.pensize() < 4:

turtle.pensize(4)

True

False

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To use Python’s turtle graphics, you must include which of the following statements in your program?

import turtle_graphics

import turtle

import turtle_module

import Turtle

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The Python turtle is initially positioned in the _____ of a graphics window.

center

top

right

left

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

By default, the Turtle heads in the _____ direction.

up

down

right

left

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The following loop draws a _____.


for x in range(4):

turtle.forward(200)

turtle.right(90)

star

circle

square

rectangle

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

True or False: By default the turtle’s pen is down.

True

False

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?