CS 340 Fall 2001 - Midterm Topics
Monday, October 15, 2001, in LC - D1, from 6:00 - 8:00 pm
You are allowed to bring one sheet (2 sides) of an 8.5x11 inch
sheet of paper with any handwritten
notes that you want for
the exam.
The following are topics that have been discussed during the
first half of the semester and are "fair game" for the midterm.
- Language Paradigms
- Primitive Data Types
- Binding
- Scoping (including Dynamic vs Static Scoping)
- Activation Records
- Structured Data Types
- Typing Issues
- Abstraction
- Data Independence and Data Hiding
- Coupling and Cohesion
- Generic Typing
- Parameter Types
- const keyword
- bool type
- inline functions
- function overloading
- reference objects & parameters
- scope resolution operator
- new & delete operators
- default parameters
- resolving overloaded functions
- function templates
- make file
- multiple source code files
- header files
- #ifndef
- Classes
- private, protected and public keywords
- data members
- methods
- header file vs source code file
- constructors
- default copy constructor
- initialization list
- destructor
- friends
- operator overloading
- overloading as a method vs. as a function
- this pointer
- return by reference
- default assignment operator
- conversion operators