Syllabus for CS 124
Programming II: C++
Spring, 2008

Professor Roger Kraft
Office: Classroom Office Building (CLO), Room 368
Office phone: (219) 989-2696
Office hours: 2:00--3:00 MTWR, and by appointment.
E-mail: roger@calumet.purdue.edu

Text: Problem Solving with C++: The Object of Programing, Fifth Edition, by Walter Savitch, Addison Wesley, 2005.

This course, which is a continuation of CS 123, is an introduction to computer science and computer programming. The programming language used is C++. Since Java and C++ have a number of basic ideas in common, we will cover some topics, like identifiers, basic data types, expressions, and control statements, very quickly. Topics that we will cover in more depth are procedures, arrays, pointers, memory management, structures, objects, classes, inheritance, polymorphism, templates, exceptions, and streams.

This course will cover most of the chapters from the textbook. Your grade for this course will be based on 10 programming assignments, two midterm exams, and a cumulative final exam, in the following manner:

           40%    programming assignments,
           30%    two midterm exams (15% per exam),
           30%    Final Exam.
Tentative dates for the three exams are
           Exam 1   Monday, February 18
           Exam 2   Monday, April 7
           Final    Final exam week.
Each of the programming assignments will have a due date. To receive full credit for an assignment, it must be turned in by the due date. All programs handed in late will be marked off 5% of the total points for each calendar day late up to a maximum of 50%. If an assignment is more than two weeks late, then I reserve the right not to accept it for credit. When you complete a programming assignment you will e-mail me the source code for your solution. In this course web site there are detailed instructions on how you are to turn in your assignments. You will be expected to follow the instructions. Also in this web site is information on the criteria used to grade your programming assignments.

You should turn in your own work for each programming assignment. Here is what that means: You may talk with your classmates about the course material and the ideas behind each homework assignment (and, in fact, it is a good idea to do that) but you should solve the problem on your own and write your own code for the solution. Turning in someone else's solution (or even a modified version of someone else's solution) is a breach of academic integrity. Similarly, giving a copy of your solution to someone else in the class is also a breach of academic integrity. If you need help with a homework assignment, come and ask me. You can ask me as many questions as you want! Please do not hesitate to ask me questions after class, in my office, in an e-mail message, over the phone, etc.

In this web site you will find more information about C++ and this course. There are links to online help and documentation for C++, information about course reading assignments, and, very importantly, all of your homework assignments and their due dates will be posted on one of these web pages.

The computer programs that you need to do all of your programming assignments are on computers in the Mathematics Computer Labs in CLO 363 and CLO 365. If you wish to work at home, I will show you in class how to install and use a C++ development environment. There is more information about this in these web pages.

The learning objectives for this course are as follows.

  1. Compare and contrast the costs and benefits of static, stack, and heap allocation of data structures.
  2. Demonstrate the difference between call-by-value and call-by-reference parameter passing.
  3. Compare and contrast function overloading and overriding and also compare and contrast overriding and redefining functions.
  4. Implement, test, and debug simple recursive functions and procedures.
  5. Develop code that responds to exception conditions raised during execution.

If you are a student with a documented disability who will require academic/classroom accommodations in this course, please register with the Coordinator of Services for Students with Disabilities in the Student Support Services Office located in the Student Union and Library Building (SUL), Room 341, phone numbers: 219-989-2455, 219-989-2454(voice/TTY) or 219-989-2920.

Students are expected to comply with University regulations regarding civility, attendance, and appropriate classroom behavior. Please see the document Student Guide: Civility in the Classroom available from the Dean of Students office and the Dean of Students web site.

Ethics are an integral part of being a student and a professional. Academic integrity is the hallmark of this University. Therefore, Purdue University does not tolerate academic dishonesty in any form. If a student breaches integrity, the student risks sanctions in both the academic and conduct arenas. Academic dishonesty includes, but is not limited to, the unauthorized use of other's intellectual property (plagiarism), and lying to an instructor or any University employee. Such actions will result in a failing grade on the assignment with the strong possibility of referral to the Office of the Dean of Students for a conduct sanction (see the Purdue University Calumet Student Handbook available from the Dean of Students office and the Dean of Students web site).


Return to the CS 124 home page.


compliments and criticisms