Getting started with Python: Memory & Variable

Getting started with Python: Memory & Variable

Assessment

Flashcard

Computers

7th Grade

Hard

Created by

Nur Shariff

FREE Resource

Student preview

quiz-placeholder

8 questions

Show all answers

1.

FLASHCARD QUESTION

Front

In python, variable is a container that hold data temporarily in memory.

Back

continue

2.

FLASHCARD QUESTION

Front

In Python, variables follow specific rules for naming and usage.

Back

Continue

3.

FLASHCARD QUESTION

Front

Write a complete code given

Back

"The Lord of the Rings"

4.

FLASHCARD QUESTION

Front

A variable is storing a string if the value is...

Back

Surrounded by quotation marks

5.

FLASHCARD QUESTION

Front

Write full and complete code. No need space

Back

country="France"

6.

FLASHCARD QUESTION

Front

Write full and complete code. No need space

Back

device="iPad"

7.

FLASHCARD QUESTION

Front

What type of value does the variable x hold in the following code?

x = 3.14

Back

float

8.

FLASHCARD QUESTION

Front

Which of the following is a valid variable name in Python? Options: 1variable, my_variable, if, variable@123

Back

my_variable