Variables Flashcards

1
Q

Are used to store a value, and these values have a data
type.

A

Variables

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

It is when you create a variable and assign it a value.

A

Variable Declaration

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

This can be done if you want to specify the data type of a variable

A

Casting

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

True or False. Variable name must start with a letter or the underscore character

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

True or False.
A variable name cannot start with a number

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

True or False.
A variable name can only contain alpha-numeric characters and underscores (A-z, 0-9, and _ )

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

True or False.
Variable names are case-sensitive (age, Age and AGE are three different variables)

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

reserved words in Python

A

Keywords

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

True or False.
Keywords cannot be used as a variable name, function name or any other identifier.

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

True or False.
Keywords are case sensitive.

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

True or False.
Python allows you to assign values to multiple variables in one line

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly