CIS 3142
Programming Paradigms in C++
Exam #1 Topic List
The Structure of the Exam
- Questions will for the most part consist of reading and writing code
- There will also be some multiple-choice and short answer questions.
- While the book is a good supplement, you are only responsible for topics and material in the lecture notes and
the labs / projects. These are a great way for you to prepare yourself for the exam.
The exam covers Lectures 1-6. Here is a detailed breakdown of the topics
- C++ program structure
- C++ software development; compiling, linking, executing
- separate compilation
.h and .cpp files
- include guards
- scope resolution (
::)
- non-member (C-style) functions
- references
- parameter and return value transmission: by-value, -reference, -const-reference
- default parameters
- class declarations
- constructors
- member initialization lists
- data members
- member functions
- member functions with constant receivers
- inline functions
- operator overloading
- as member and non-member
- friends
- arithmetic, relation, and insertion/extraction operators
- maintaining semantic consistency of simple and compound operators