Python 1 Part 2

Python 1 Part 2

8th Grade

20 Qs

quiz-placeholder

Similar activities

python - Launch Lesson

python - Launch Lesson

7th - 12th Grade

22 Qs

Scratch Loops and patterns

Scratch Loops and patterns

7th - 9th Grade

16 Qs

Exploring Turtle Graphics in Python

Exploring Turtle Graphics in Python

8th Grade

15 Qs

Python Tracy the Turtle (codehs)

Python Tracy the Turtle (codehs)

6th - 8th Grade

15 Qs

Python_2R

Python_2R

KG - Professional Development

20 Qs

MSW Logo Quiz (Grade IV)

MSW Logo Quiz (Grade IV)

4th Grade - University

25 Qs

CodeHS Tracy

CodeHS Tracy

8th - 10th Grade

25 Qs

Tracy (Python)

Tracy (Python)

8th - 10th Grade

25 Qs

Python 1 Part 2

Python 1 Part 2

Assessment

Quiz

Computers

8th Grade

Medium

Created by

Mrs. Minihan

Used 2+ times

FREE Resource

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

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

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?