Search Header Logo

Codehs - Python Lessons 9 - 12

Authored by Christine Marra

Computers

9th - 12th Grade

CCSS covered

Used 54+ times

Codehs - Python Lessons 9 - 12
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

16 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

What is the name of the programming language we are learning?

Codehs.com

Python

Tracy

JavaScript

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What is the correct way to ask the user for a color and store the answer as a variable?

color = input("Name a color: ")

user_color = Name a color:

input("name a color: ")

user_color = input("Name a color: ")

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What symbol is used in python to assign values to a variable?

equals =
plus + 
forward slash /
asterisk *

Tags

CCSS.6.EE.B.6

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which of these are a proper name for a variable?

variable

My_variable

shape

Shape

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

How would I change Tracy's trail to a yellow line with a thickness of 10 pixels??

color("yellow")

pensize(10)

Color("yellow")

thickness(10)

color yellow()

pensize(10)

color yellow():

thickness(10)

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which symbol do we use if we want to add a comment to our code?

@

#

*

&

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What is true of Tracy's color command?

You can only use hex color codes.

The color name must be in quotation marks.

There are 10 different colors that Tracy knows.

The color name must have underscores between words (ex. light_blue)

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?