Python - Variables

Python - Variables

6th - 8th Grade

31 Qs

quiz-placeholder

Similar activities

Python Basics

Python Basics

8th Grade

31 Qs

2 Python (переменные, типы данных)

2 Python (переменные, типы данных)

5th - 12th Grade

33 Qs

Python -print + input

Python -print + input

7th Grade

28 Qs

Introduction to Variables and Data Types in Python

Introduction to Variables and Data Types in Python

6th - 8th Grade

26 Qs

Computing Homework

Computing Homework

7th - 11th Grade

26 Qs

Intro to Python

Intro to Python

8th Grade

30 Qs

Algorithms

Algorithms

7th - 11th Grade

29 Qs

Artificial Intelligence Quiz1

Artificial Intelligence Quiz1

4th - 8th Grade

26 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?