Python - Variables

Python - Variables

6th - 8th Grade

31 Qs

quiz-placeholder

Similar activities

Python Easy

Python Easy

6th - 12th Grade

30 Qs

Basic Python

Basic Python

6th - 12th Grade

30 Qs

Beginner Python KS3 Revision

Beginner Python KS3 Revision

8th - 10th Grade

26 Qs

Computing 8 - Python - Review

Computing 8 - Python - Review

6th - 8th Grade

31 Qs

Python Programming

Python Programming

8th Grade

29 Qs

Python Basics

Python Basics

8th - 10th Grade

30 Qs

Python

Python

8th - 9th Grade

26 Qs

Python Revision

Python Revision

7th - 11th Grade

35 Qs

Python - Variables

Python - Variables

Assessment

Quiz

Computers, Fun

6th - 8th Grade

Medium

Created by

Hương Thanh

Used 11+ times

FREE Resource

31 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What type of data is the following?: X = "295.47"

String

Float

Boolean

integer

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What type of variable is the following?: Y = False

Float

String

Integer

Boolean

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The process of giving a value to a variable is ...

Allocation

Assignment

Comparison

Debugging

4.

MULTIPLE SELECT QUESTION

30 sec • 5 pts

Choose valid variable names from the list of options given below:

1st_name

Last_name

first Name

f1_name

firstName

5.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Num = 90

Num = 20

print(Num)

90

4.5

20

1800

6.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

In the following code, what type of variable is being created?

foo = "bar"

Integer

Float

String

7.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which name would be meaningful in keeping a record of someone's high score?

s

hs

score

highScore

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?