Object Oriented Programming Using C++
CSCI 365, Section 01
Fall Semester 2006
Instructor
| John I. Moore, Jr. |
Phone: 843-953-7882 |
| Office: Thompson Hall 230 |
E-mail: john.moore@citadel.edu |
Course Description
This course provides a solid foundation for object-oriented programming using the C++ programming language. It emphasizes the effective use of the advanced language features, presented in the context of modern software engineering themes of modularity, abstraction, information hiding, and reusability. Fundamental principles of object-oriented design and programming are stressed while covering the language details.
Prerequisite: CSCI 223
Learning Outcomes
Upon successful completion of this course, a student will be able to
- Identify and explain the basic syntax, semantics, and terminology of C++ (e.g., class, virtual function, template, operator overloading, etc.)
- Create, compile, debug, test, and execute C++ programs
- Explain how C++ provides support for object-oriented programming and modern software engineering principles
- Use object-oriented and modern software engineering principles in the development of software written in C++
- Explain how C++ provides support for low-level programming in terms of bit-level operations, bit fields, and memory management
- Use the Standard Template Library (STL)
- Understand dangling pointers and memory leaks
Textbook
Stanley B. Lippman, Josée Lajoie, and Barbara E. Moo, C++ Primer (Fourth Edition),
Addison-Wesley, 2005, ISBN 0-201-72148-1.
Additional Course Reference: Bjarne Stroustrup, The C++ Programming Language
(Special Edition), Addison-Wesley, 2000, ISBN 0201543303.
Grading
The final grade for the course is based on 7 grades as follows:
- Two assigned in-class tests. Each test counts as a separate grade.
- Daily quizzes and other minor assignments– collectively count as 1 grade.
(Lowest two quiz grades will be dropped.)
- Programming assignments – collectively count as 3 grades.
- Final Exam – counts as 2 grades.
- Lowest grade from above (except for project) will be dropped. If the lowest grade
is the final exam or the collective grade for programming assignments, only one
of the associated grades will be dropped.
Miscellaneous Grading Policies
- For programming assignments students are required to work individually.
Assistance from anyone other than the instructor is forbidden.
- Each programming assignment is due one week after it is assigned unless
noted otherwise by the instructor. A late program, for whatever reason,
will have its grade lowered by one letter, and programs more than one week
late will not be accepted.
- Homework may be assigned, but it will not be collected. Daily quizzes will
come directly from the material covered in the previous day's class, often
from the homework assignments.
- Class attendance and participation can influence borderline grades.
- A total of six absences will result in a course grade of F. With respect
to this policy, three lates count as an absence. In addition, if you are
late by 15 minutes or more, you will be considered absent.
- Incomplete grades are given only in unusual circumstances. Consult the
catalog for policy on incomplete work.
Class Schedule
Tuesday-Thursday, 1:00-2:15 p.m., Thompson Hall 216.
Office Hours
| Monday |
1:00-3:00 p.m. |
| Tuesday |
1:00-3:00 p.m. |
| Wednesday |
10:00-12:00 a.m. |
| Thursday |
2:30-3:30 p.m. |
Other times by appointment
Important Dates
| Sep. 26 |
Test #1 |
| Oct. 18 |
Last day to withdraw with a grade of “W” |
| Nov. 7 |
Election Day (no classes) |
| Nov. 9 |
Test #2 |
| Nov. 20-24 |
Fall Break (Take book home to study during break!) |
| Dec. 8 |
Final Exam 1:00-4:00 p.m. |
Expectations
- Do not miss the assigned tests without a valid excuse! Missing an
assigned test without a valid excuse will result in a grade of zero
for that test. The instructor gets to determine whether or not an
excuse is valid. In particular, guard duty is not an acceptable
excuse for missing an assigned test. When possible, students should
notify the instructor in advance if they will be unable to take an
assigned test. All make-up tests will be given outside of normal
class time. Once a test has been given in class, any subsequent
make-up tests may differ significantly.
- Show up for class on time and prepared. That means that you have read
the appropriate sections from the book plus any handouts, and you have
worked all assigned homework. If a test has been assigned, you should
be prepared to take the test. If you were late to class or absent from
the previous class meeting, you are responsible for getting class notes
and assignments from another student in the class or from the
instructor.
- If you are late to class, it is possible that you have already been marked
absent by the time you arrive. It is your responsibility to notify the
instructor after class that you were late rather than absent.
- Take care of any personal needs outside of class time. Except for
emergencies, you should not need to go to the bathroom, get a drink of
water, etc. If you need to leave the room at any time while class is
in session, you should ask for permission.
- There should be no personal conversations or moving around during
class without explicit permission. These actions are disturbing to
other students and to the instructor. Be courteous and respect the
rights of others.
- You should respect the property of your college. No eating, drinking
(other than water), smoking, dipping, chewing tobacco, etc. in the classrooms.
Also, no writing or carving on the desks, chairs, podium, etc. Any willful
vandalism or destruction of Citadel property will be dealt with severely.
Daily Schedule
| Dates |
Topics Covered |
| Aug. 24 |
Course/Compiler Introduction |
| Aug. 29-31 |
Basic Language Features |
| Sep. 5-12 |
Classes (Basic Concepts, Constructors, Destructors, Overloading Operators) |
| Sep. 14 |
Iterators |
| Sep. 19-21 |
Derived Classes (Basic Concepts, Virtual Functions, Polymorphism, Mutliple Inheritance) |
| Sep. 26 |
Test #1 |
| Sep. 28-Oct. 3 |
Input/Output |
| Oct. 10-12 |
The Standard Template Library (STL) |
| Oct. 17-19 |
Object-Oriented Design |
| Oct. 24-26 |
Exceptions |
| Oct. 31-Nov. 1 |
Class Design |
| Nov. 7 |
Election Day (no classes) |
| Nov. 9 |
Test #2 |
| Nov. 14 |
Run-Time Type Identification |
| Nov. 16 |
Namespaces |
| Nov. 20-24 |
Fall Break (Take book home to study during break!) |
| Nov. 28 |
Issues in Memory Management |
| Nov. 30 |
Smart Pointers |
| Dec. 5 |
Bit-Level Manipulation |
| Dec. 8 |
Final Exam 1:00-4:00 p.m. |