Lesson 6.03 Python Variables

Lesson 6.03 Python Variables

Assessment

Flashcard

Education

6th - 8th Grade

Practice Problem

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

15 questions

Show all answers

1.

FLASHCARD QUESTION

Front

Variables are:

Back

containers for storing data value

2.

FLASHCARD QUESTION

Front

In Python, there is no command for declaring a variable.

Back

True

3.

FLASHCARD QUESTION

Front

In Python, a variable is declared as soon as you assign a value to it.

Back

True

4.

FLASHCARD QUESTION

Front

Which of the following statements assigns the value 100 to the variable x in Python: x <= 100, x << 100, x =100, let x = 100

Back

x =100

5.

FLASHCARD QUESTION

Front

In Python, a variable may be assigned a value of one type, and then later assigned a value of a different type.

Back

True

6.

FLASHCARD QUESTION

Front

String variables can be declared by using ' ' (single quotes) OR:

Back

" " (double quotes)

7.

FLASHCARD QUESTION

Front

A variable can start with a lowercase letter, an uppercase letter, or:

Back

an _ underscore

Create a free account and access millions of resources

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?