Difference between revisions of "COMP345 Fall 2018 Midterm coverage"
From Dr. Joey Paquet Web Site
(Created page with "*Slide Set 0 **none Slide Set 1: ------------ -program structure -compilation unit -header/cpp files -#includes -namespaces Slide Set 2: ------------ -structs and classes as...") |
|||
Line 2: | Line 2: | ||
**none | **none | ||
− | Slide Set 1: | + | *Slide Set 1: |
− | + | **program structure | |
− | + | **compilation unit | |
− | + | **header/cpp files | |
− | + | **#includes | |
− | + | **namespaces | |
− | + | ||
− | Slide Set 2: | + | *Slide Set 2: |
− | + | **structs and classes as data types | |
− | + | **implicit/explicit type coercion | |
− | + | ***static_cast, dynamic_cast | |
− | + | ***upcasting/downcasting | |
− | + | **pointers | |
− | + | ***stack/heap/new | |
− | + | ***arithmetics | |
− | + | **references | |
− | + | **parameter passing | |
− | + | ||
− | Slide Set 3: | + | *Slide Set 3: |
− | + | **input/output streams | |
− | + | **cin/cout | |
− | + | **files stream declarations, open/close, usage | |
− | + | **<< and >> operator overloading | |
− | + | **not covered: MFC serialization | |
− | + | ||
− | Slide Set 4: | + | *Slide Set 4: |
− | + | **classes vs. structs | |
− | + | **struct usage | |
− | + | **class declarations (.h and .cpp files) | |
− | + | **declaring/using objects | |
− | + | ***with or without pointers | |
− | + | **inline functions/methods | |
− | + | **const specifier | |
− | + | **static specifier | |
− | + | **friends | |
− | + | **constructors/destructors | |
− | + | ***declaration/implementation | |
− | + | ***initialization list | |
− | + | ***implicit/explicit constructor calls | |
− | + | **inheritance | |
− | + | ***overriding/overloading | |
− | + | ***vs. constructor/destructor implementation | |
− | + | ***assignment operator | |
− | + | ***copy constructor | |
− | + | ***shallow/deep copy | |
− | + | **multiple inheritance | |
− | + | ||
− | Slide Set 5: | + | *Slide Set 5: |
− | + | **statically allocated arrays (one or multidimensional) | |
− | + | ***declaration, usage | |
− | + | ***memory allocation model | |
− | + | **dynamically allocated arrays (one or multidimensional) | |
− | + | ***declaration, usage | |
− | + | ***memory allocation model | |
− | + | **STL containers (e.g. vector) | |
− | + | ***declaration, usage | |
− | + | ***iterators | |
− | + | ||
− | Slide Set 6: | + | *Slide Set 6: |
− | + | **MVC | |
− | + | ***concept, structure, behavior | |
− | + | ***no implementation | |
− | + | **observer pattern - not covered | |
− | + |
Revision as of 12:02, 23 October 2018
- Slide Set 0
- none
- Slide Set 1:
- program structure
- compilation unit
- header/cpp files
- includes
- namespaces
- Slide Set 2:
- structs and classes as data types
- implicit/explicit type coercion
- static_cast, dynamic_cast
- upcasting/downcasting
- pointers
- stack/heap/new
- arithmetics
- references
- parameter passing
- Slide Set 3:
- input/output streams
- cin/cout
- files stream declarations, open/close, usage
- << and >> operator overloading
- not covered: MFC serialization
- Slide Set 4:
- classes vs. structs
- struct usage
- class declarations (.h and .cpp files)
- declaring/using objects
- with or without pointers
- inline functions/methods
- const specifier
- static specifier
- friends
- constructors/destructors
- declaration/implementation
- initialization list
- implicit/explicit constructor calls
- inheritance
- overriding/overloading
- vs. constructor/destructor implementation
- assignment operator
- copy constructor
- shallow/deep copy
- multiple inheritance
- Slide Set 5:
- statically allocated arrays (one or multidimensional)
- declaration, usage
- memory allocation model
- dynamically allocated arrays (one or multidimensional)
- declaration, usage
- memory allocation model
- STL containers (e.g. vector)
- declaration, usage
- iterators
- statically allocated arrays (one or multidimensional)
- Slide Set 6:
- MVC
- concept, structure, behavior
- no implementation
- observer pattern - not covered
- MVC