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

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers