21. Fill in the blank: In Python, an _____ is a value associated with an object or class which is referenced by name using dot notation.
- integer
- assignment
- expression
- attribute
22. In Python, what describes the process of storing a value in a variable?
- Assignment
- Expression
- Conversion
- Syntax
23. A data professional names a variable in Python, then receives an error message. What might they have included in the name incorrectly? Select all that apply.
- More than one number
- Reserved functions
- More than one underscore
- Reserved keywords
24. Which of the following is an effective variable name?
- 5_able_variables
- able_variable
- able(variable)
- _able_int_variable
25. A data professional performs a calculation involving integers and floats. Python automatically converts the integers to floats. This is an example of what type of conversion?
- Immutable conversion
- Explicit conversion
- Implicit conversion
- Mutable conversion
26. In Python, what does assignment refer to?
- A combination of numbers, symbols, or other variables that produce a result when evaluated
- A value associated with an object or class which is referenced by name using dot notation
- A sequence of characters and punctuation that contains textual information
- The process of storing a value in a variable
27. A data professional names a variable in Python. To ensure they follow proper naming conventions, what may the variable name contain? Select all that apply.
- Underscores
- Reserved keywords
- Letters
- Numbers
28. In Python, which data type represents numbers that contain decimals?
- Boolean
- Integer
- String
- Float
29. FIll in the blank: In Python, a _____ is an object’s data type that bundles data and functionality together.
- float
- class
- method
- keyword
30. In Python, which data type represents whole numbers without fractions?
- Float
- Integer
- Boolean
- String