Python Variables

Python Variables

Assessment

Flashcard

Computers

9th Grade

Hard

Created by

Quizizz 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?

Back

Bottom right

7.

FLASHCARD QUESTION

Front

What do we use variables for?

Back

To store data

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?