Search Header Logo

Python Variables

Authored by Moksh Katariya

Computers

6th - 8th Grade

Used 29+ times

Python Variables
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

11 questions

Show all answers

1.

FILL IN THE BLANKS QUESTION

20 sec • 1 pt

Media Image

What will it print

(a)  

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

What will it print

Error

15

print

'15'

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Can we use reserved names as variable name

True

False

I don't know

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

What will it print

Media Image
Media Image
Media Image

5.

FILL IN THE BLANKS QUESTION

20 sec • 20 pts

Make a variable named var and assign value as value

(a)  

6.

MULTIPLE CHOICE QUESTION

20 sec • 20 pts

Why the following variable name invalid for python:


1st_Name = 153156456456415

No special characters other than underscore

The variable name starts with a number

Keep names meaningful

There is nothing wrong with this variable name

7.

MULTIPLE CHOICE QUESTION

20 sec • 20 pts

x = str(3)
y = int(3)
z = float(3)

x = 3

y = 3

x = 3.00

x = '3'

y = 3

z = 3.0

x = '3

y = 3

z = 3.0

x = 3

y = 3

z = 3.0

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?