Review for Exam 2
Terminology and Basic Concepts
- Data Types
- Scalars and Literals
- List (Array)
- Record
- Object Terms
- Instance: class vs. object
- Methods
- Constructors
- Properties
- Selctor: retrieves a property
- Inquiry: reports the state of an object
- Encapsulation
- Access modifiers
- Information Hiding
- Operator Terms and Concepts
- prefix / postfix / infix
- monadic (unary) / dyadic (binary)
- overloading, pros & cons
- Client (or driver) Program
Ada Trivia
- Casting
- Records
- Strings
- Files
- CASE statements
- VARIANT records
- WITH & USE
- Arrays
- indexing, including legal subscripting
- passing to procedures
- exceptions commonly associated with arrays
- constrained vs. unconstrained arrays
- multidimensional arrays
- attributes
- slices
- Making ADTs with Packages
- Generics, why we like generics, why they're useful, etc.
Concepts and Ideas
- Strongly vs. Weakly Typed Languages
- ADT concepts
- An ADT is an "opaque" type
- Seperating interface from implementation
- Object-Oriented vs. Object-Based
- Package variables/methods vs. Instance variables/methods
- Characteristics of a "Pure" OO language
- no primative types
- everything an object
- no global namespace
Bonus Question
You betcha.