Search Header Logo
Python Variables

Python Variables

Assessment

Flashcard

•

Computers

•

9th Grade

•

Practice Problem

•

Hard

Created by

Wayground Content

Used 1+ times

FREE Resource

Student preview

quiz-placeholder

11 questions

Show all answers

1.

FLASHCARD QUESTION

Front

In the following code, what is happening?
foo = "bar"

Back

A variable named foo is being created, with a value of "bar"

2.

FLASHCARD QUESTION

Front

In the following code, what type of variable is being created? foo = "bar"

Back

String

3.

FLASHCARD QUESTION

Front

In the following code, what type of variable is being created? foo = "3"

Back

String

4.

FLASHCARD QUESTION

Front

In the following code, what type of variable is being created? foo = 3.5

Back

Float

5.

FLASHCARD QUESTION

Front

If foo is equal to 3, what is the value of foo after this operation? foo /= 3

Back

1

6.

FLASHCARD QUESTION

Front

Which is the python logo?

Media Image

Back

Bottom right

7.

FLASHCARD QUESTION

Front

What do we use variables for?

Back

To store data

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?