Students who complete this unit will demonstrate that they can:
- Effectively create string literals
- Distinguish sequence types from other types
- Use square brackets to index into a string
- Use and recognize string concatenation
- Create and manipulate lists using square brackets
- Use the following list methods and functions:
- append()
- pop()
- remove()
- + for concatenation
- len()
- min()
- max()
- sum()
- Compare and contrast strings and lists
- Compare and contrast tuples and lists
- Create and manipulate dictionaries (add new entries, update
values, remove entries)
- Compare and contrast dictionaries and lists
- Compare and contrast explicit and implicit type conversions
- Use the math module to perform calculations
- Be able to convert numbers between base 2 (binary) and base
10 (decimal)
- Explain how data is represented in a machine
- Explain how fixed-length number representations affect
accuracy and precision.
- Compare representations of integers to floating point numbers
- Describe underflow, overflow, round off, and truncation
errors in data representations.
- Explain the reasons for using alternative formats to
represent numerical data.