Python 1 Part 2

Python 1 Part 2

8th Grade

20 Qs

quiz-placeholder

Similar activities

Lesson 8-23 Vocabulary

Lesson 8-23 Vocabulary

5th - 8th Grade

20 Qs

Loops

Loops

5th - 12th Grade

16 Qs

EXTRA PRACTICE - Coding

EXTRA PRACTICE - Coding

8th Grade

15 Qs

ICT Programming & Logic Lessons 1 & 2

ICT Programming & Logic Lessons 1 & 2

6th - 8th Grade

21 Qs

P5 Editor

P5 Editor

4th - 8th Grade

20 Qs

Scratch Loops and patterns

Scratch Loops and patterns

7th - 9th Grade

16 Qs

Python_2R

Python_2R

KG - Professional Development

20 Qs

Ozaria Coding Ch. 1

Ozaria Coding Ch. 1

6th - 8th Grade

15 Qs

Python 1 Part 2

Python 1 Part 2

Assessment

Quiz

Computers

8th Grade

Medium

CCSS
HSG.MG.A.1, 1.G.A.1, 2.G.A.1

Standards-aligned

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

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

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?