Unit 2: Expressions
Students who complete this unit will demonstrate that they can:
- Define the terms:
- literal
- operator
- mutability
- overflow
- expression
- escape sequence
- Describe the role of an interpreter
- Describe the use of a variable
- Identify and describe uses of primitive data types.
- Write programs that use primitive data types.
- Use and write assignment statements
- Use and write numeric expressions
- Perform computations involving modular arithmetic.
- Describe the three defining properties of a Python object
- Identify valid and invalid identifiers
- Use
int() and float() to change strings to numbers
- Use escape characters in string literals
Contents: