Python Variable

Python Variable

9th - 12th Grade

27 Qs

quiz-placeholder

Similar activities

Java Methods

Java Methods

9th Grade - University

23 Qs

CLASS-10 Elementary Concept of Objects and Classes

CLASS-10 Elementary Concept of Objects and Classes

10th Grade

22 Qs

2.2.1a Variables & Types

2.2.1a Variables & Types

9th - 12th Grade

25 Qs

AP CSP VCFL

AP CSP VCFL

9th - 12th Grade

25 Qs

Javascript Basics

Javascript Basics

7th Grade - University

24 Qs

CodeHS AP CSP Unit 3 Review

CodeHS AP CSP Unit 3 Review

11th - 12th Grade

22 Qs

Python Beginner

Python Beginner

6th - 12th Grade

30 Qs

CSA unit1 vocabulary quiz

CSA unit1 vocabulary quiz

11th Grade

22 Qs

Python Variable

Python Variable

Assessment

Quiz

Computers

9th - 12th Grade

Hard

Created by

Jakobi Gorham

Used 4+ times

FREE Resource

27 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

30 sec • 5 pts

Choose three properties of a variable below:

Has a name.

Holds a value.

Has a data type.

Has a length.

2.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

A named memory location used to store values in computer is a ...

Casting

String

Variable

Hard Drive Disk

3.

MULTIPLE SELECT QUESTION

30 sec • 5 pts

Choose variable rules from the list below:

Must not begin with a number

Can only contain (A-Z, a-z) and 0-9 characters, and _

Can use _ to join words separated words

Must be in lower case

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

Allocation

Assignment

Comparison

Debugging

5.

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

6.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Num = 90

Num = 20

print(Num)

90

4.5

20

1800

7.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

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

foo = "bar"

Integer

Float

String

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?