Python Variables

Python Variables

6th - 8th Grade

11 Qs

quiz-placeholder

Similar activities

IDT S1 Final Review Part 2

IDT S1 Final Review Part 2

8th - 12th Grade

10 Qs

python 7. r - tipovi podataka, funkcije, metode

python 7. r - tipovi podataka, funkcije, metode

7th Grade

16 Qs

L1 Console, Variables and Creating a Program

L1 Console, Variables and Creating a Program

8th Grade

10 Qs

Python Revision

Python Revision

8th Grade

16 Qs

Unit 1 Quiz 1 Understanding Values and Types

Unit 1 Quiz 1 Understanding Values and Types

8th Grade

10 Qs

แบบทดสอบที่ 5 เรื่องการรับค่าในภาษาไพทอน (รายกลุ่ม)

แบบทดสอบที่ 5 เรื่องการรับค่าในภาษาไพทอน (รายกลุ่ม)

7th Grade - University

10 Qs

Python Casting and Input

Python Casting and Input

8th - 11th Grade

15 Qs

N5 SDD - Python input and output

N5 SDD - Python input and output

7th - 11th Grade

12 Qs

Python Variables

Python Variables

Assessment

Quiz

Computers

6th - 8th Grade

Hard

Created by

Moksh Katariya

Used 28+ times

FREE Resource

11 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

20 sec • 1 pt

Media Image

What will it print

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 BLANK QUESTION

20 sec • 20 pts

Make a variable named var and assign value as value

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?