Module 08 Study Guide
Learning Objectives
- Explain what data types, primitive data types, structured, and user-defined data types are
- Explain what a descriptor is
- List and describe standard numeric types such as integer, float, double, complex, and decimal
- Explain the design issues for strings and various implementation alternatives for string types
- List and describe various ordinal types including Boolean, character, enumeration, and subrange types
- Explain what array types are and the various ways array types are implemented
- List and explain array operations
- Calculate byte offset from array base addresses of array elements given details about the array
- Explain what associative arrays are and how they are implemented
- Explain what records are and how they are implemented
- Explain what tuples and list types are
- Explain what union types are, how issues of type safety are resolved, and how unions are implemented
Resources
- CPL 6.1-6.10
- Slides: Lam
Deliverables
The test for this module will be due on Canvas this Friday at the time given on the Canvas assignment. You will have an opportunity to re-take a different version of the same test next week. If you choose to do the re-take, your grade for this module will be the higher of the two scores.