Search Header Logo

Python 1 Part 2

Authored by Mrs. Minihan

Computers

8th Grade

CCSS covered

Used 2+ times

Python 1 Part 2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the name of the main file in Python?

main.py

main.txt

code.py

untitled.txt

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

What would this code generate?

a square

a triangle

an error

no shape

Tags

CCSS.HSG.MG.A.1

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

To make your turtle draw with the color red, you would use this code:

color(red)

color("red")

colour("red")

colors("red")

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

What is wrong with this code?

the last three lines should be indented

there are too many colors

there shouldn't be a colon at the end of the "for" line

the left angle is wrong

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following would create a turtle object called Bob?

Bob = turtle.Turtle()

Bob = turtle()

turtle,name = "Bob"

Turtle() = "Bob"

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

What the output of this code?

I love this class!

syntax error

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

What would be a more efficient way to write this code?

Use a for loop

Use a while loop

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?

Discover more resources for Computers