Lesson 6.03 Python Variables

Lesson 6.03 Python Variables

6th - 8th Grade

15 Qs

quiz-placeholder

Similar activities

Haber y hacer

Haber y hacer

6th Grade

17 Qs

Cooking with much and many

Cooking with much and many

7th Grade

10 Qs

DE UN LUGAR A OTRO MOVIMIENTOS MIGRATORIOS

DE UN LUGAR A OTRO MOVIMIENTOS MIGRATORIOS

6th Grade

20 Qs

PENILAIAN HARIAN 1; PUISI RAKYAT

PENILAIAN HARIAN 1; PUISI RAKYAT

7th Grade

10 Qs

Coronavirus

Coronavirus

5th - 6th Grade

12 Qs

Oración unimembre y bimembre

Oración unimembre y bimembre

7th Grade

20 Qs

Los instructivos

Los instructivos

6th Grade

10 Qs

Marcadors textuals i connectors

Marcadors textuals i connectors

8th Grade

20 Qs

Lesson 6.03 Python Variables

Lesson 6.03 Python Variables

Assessment

Quiz

Education

6th - 8th Grade

Medium

Created by

Amber Price

Used 9+ times

FREE Resource

AI

Enhance your content

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Variables are:

containers for storing data value

a number

a message input by the user

a secret code

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

True

False

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

True

False

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following statements assigns the value 100 to the variable x in Python:

x <= 100

x << 100

x =100

let x = 100

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

True

False

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Select all that apply. String variables can be declared by using ' ' (single quotes) OR:

" " (double quotes)

; (semicolon)

# (hash symbol)

! (exclamation mark)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

an _ underscore

& symbol

a number

% a percent symbol

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

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

Already have an account?