Search Header Logo

Intro. to Python: Lesson 1 Quiz

Authored by Whizara Teacher

Computers

4th - 12th Grade

Used 13+ times

Intro. to Python: Lesson 1 Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

13 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

What is the use of the turtle import statement?

To use a turtle shape on the screen

To use the turtle object and the associated functions inside the turtle module

To start Python

It is a cool line of code

2.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

What is the use of turtle.color[] ?

To fill a shape with color

To set the color that needs to be filled inside the turtle

To set the pen color for drawing

To check if a color is available for use

3.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which part of this line of code has an error?

turtle.hide[]

turtle

hide

()

no error

4.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

A comment is a line of code that:

Does not execute

Executes, but the output is not visible on the output screen

Executes and the output is visible on the output screen

Is left to the computer to figure out what it wants to do with

5.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which of these options is error-free?

print("it's raining cats!")

Print("And Dogs")

print("And turtle')

PRINT("And possibly mouse")

6.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

What turtle function would you use to write text on the graphics screen?

turtle.pen()

turtle.pendown()

turtle.write()

turtle.print()

7.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

turtle.circle()

How do you modify the code above to include a radius of 100?

turtle.circle(100)

circle.turtle(100)

turtle.circle.100()

100.turtle.circle()

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?