CS102 Introduction to Computer Science II


Instructor: John F. Santore
Phone: 508-531-2226
Office: Hart 220
E-Mail:
jsantore@bridgew.edu

Instructor Web Page: http://webhost.bridgew.edu/jsantore/
Course Web Page: http://webhost.bridgew.edu/jsantore/Fall2005/cs102/
Office Hours: Mon 10-11am, Tues 5-6pm, Thurs 10-11am, Fri 9-10am

I also will take appointments if you cannot make my other office hours, however, I generally have meetings and work prepared for a day or two ahead so plan on about 48 hours from the time I get your request to us being able to meet.

Course Description:

This course is the continuation of cs101. It offers and introduction to computer science and programming principles using C++ as the programming language of instruction. (Note that this is primarily a computer science course and not a programming course.) We will cover object oriented techniques, including classes and objects in C++, encapsulation, information hiding and similar OO concepts. We will also cover some advance C/C++ topics such as pointers, arrays, structures. We will review good programming techniques learned in cs101 and will reinforce them in this class. The goal of this class is for you to leave with an effective working knowledge of the basics of computer science, programming, and the C++ language upon which to base the rest of your CS studies upon.


Textbook: D.S Malik C++ Programming: From Problem Solving to Analysis, Second Edition; Thomson/Course Technologies 2004


Class Requirements and grading:

In this class, your grade will be based on your performance in three areas, exams, programming projects (labs) and your day to day in class performance. The weights on each of these areas will be assigned as follows:

Labs: 42%

Exams: 50%

Class(homework/quizzes/participantion): 8%


Labs:

There will be 4 or 5 labs in this course. Each lab is to be completed individually. You must get a passing grade in the lab portion of the class in order to pass this class. Labs are to be turned in on time. Late labs will be penalized 50% for each day that they are late (i.e if you turn it in the day after it is due, your best possible score is 50%, a second day late will receive no credit.


Exams:

There will be two exams, a midterm and a final exam. The midterm be worth 20% of your final grade. The final will be work 30% of your final grade. Exams will be given on at their assigned times. If you have a legitimate reason for missing an exam, see your instructor before the scheduled exam time to arrange for reasonable accomidation. If you miss the exam without prior approval, you will forfeit the exam. (emergency room visits and the like excepted of course)

The midterm exam is tentatively scheduled for Tuesday Oct 25th.

The final exam will be scheduled by the college.


Students with special needs:

Anyone who has special needs should contact me in the first week of classes so that reasonable accommodations can be agreed on.


Academic Integrity:

See http://www.bridgew.edu/Handbook/PoliciesProcedures/academicmisconduct.cfm for a complete description of the academic integrity procedure at Bridgewater.


Academic integrity will be taken very seriously in this class. All individual work must be your own. If you cheat or otherwise represent the work of others as your own. You will receive an F for the course.

Guidelines for proper academic integrity:

Discussing problems with your classmates can help you understand the problems and kinds of solutions to those problems that you will learn about in this class. In an effort to make in clear what sort of discussions are appropriate and encouraged in this class and which cross the line to academic dishonesty I use the following guidelines: You may discuss any out of class problem I assign in this class with your classmates or other so long as no one is using any sort of recording implement including, but not limited to, computers, pdas, pens, pencils, phones etc. This lets you talk about theoretical solutions without sharing the actual implementations. As soon as anyone in the group is typing, writing etc, all conversations must stop. You may look at someone else's program code only very briefly in order to spot a simple syntax error. As a rule of thumb, if you find yourself looking at someone else's code for more than about 30-45 seconds it is probably time to stop. If you are having trouble with your program, come to the instructors office hours for more help.

All in class exams and quizzes are closed book and closed neighbor. If you are found using a data storage device of any kind during one of these evaluations, you will be failed for the course.


Standards for in class behavior:

You are all adults and are expected to act as adults in this class. While questions are encouraged in this class, if a particular line of questioning is taking us too far afield, I will ask the student to come by my office hours or to see me after class.

Cell phones, pagers, electronic organizers and other devises should be silenced while in class. If you work of EMS or something similar, please turn your cell phones/ pagers etc to vibrate mode so that you are not disrupting others in the class.

In the unlikely case of trouble makers in the class, those who are simply attempting to disrupt the class will be asked to stop; those who will not, will be referred to the college for appropriate action.

For those who find that they are in over their heads:

Computer Science is a hard subject. Most people can master it only with hard work. A few may well find themselves in over their heads without realizing it earlier. Getting an excellent grade in this course (an 'A' or a 'B') will require you to earn it through your performance in the regular course material. For those having exceptional difficulty, I will offer the opportunity to do an extra credit scholarly paper later on in the semester. The paper will be worth up to a 5% increase in your grade, but it cannot raise your grade above a 'C+'.

I do not take regular attendance. Because of the census day regulations, I'll have to take occasional attendance. You are adults and are paying for this class. If you miss a class, you are expected to get notes from a classmate and familiarize yourself with the material that was covered before returning to class. I do find from dealing with students in the past that attendance at lecture is highly correlated with doing well in my classes.

Tentitive Schedule

Week
Topic
Assignment
Week 1
Introduction, Review of cs101
Lab1 Assigned
Week 2
Review of cs101 continued

Week 3
Introduction to classes and object oriented programming
Lab1 due; Lab2 assigned
Week 4
object oriented programming and UML

Week 5
Pointers

Week 6
Named methods, datatype coersion; ; use of header files in C++ Lab2 Due; Lab3 Assigned
Week 8 Inheritance

Week 7 Pointers as dynamic variables and operations; review

Week 8
Midterm/ more inheritance
Lab 3 Due; Lab4 Assigned
Week 9
Virtual Functions

Week 10
shallow copy vs deep copy/ copy constructors/ classes and pointers

Week 11
recursion
Lab4 Due; Lab5 Assigned
Week 12
recusion cont'd;

Week 13
Data Structures

Week 14
Data Structures cont'd
Lab 5 Due.