COT 3002 -- Foundations of Computer Science
Sequence #4789, Term: Summer C 2002
Last modified: 24 June 2002 by R.Levow
New and Updated Items
Midterm review
and Sample midterm exam (posted
6/17)
Program 4 (posted
6/17)
Program 3 and note concerning
Continue() function (posted 6/10)
Updated Reading
(posted 6/10)
Class Time: Monday, 6:30 - 10:05 pm, LA-340 (Davie)
Textbook: Owen Astrachan, A Computer Science Tapestry, exploring
programming and problem solving with C++, Second edition, McGraw-Hill,
2000. There is a text web site at http://www.cs.duke.edu/csed/tapestry/
Reference: Any C++ Reference text.
Resources: A C++ compiler.
You can use the CSE Unix system g++ compiler, Microsoft Visual C++, or
any other standard compliant C++ compiler. Dev-C++
is a free C++ development environment for PCs running MS Windows.
Course Syllabus
General information
on course policies including program submission, late penalties, getting
help, etc.
Reading Assignments

-
May 13: First class
-
May 20: Chapters 1 - 3 (for reading quiz)
-
May 27: Memorial Day Holiday, no class
-
June 3: Chapter 4-5
-
June 10: Chapter 6 (be sure to read Ch 5 but quiz will be only on Ch 6)
-
June 17: Chapter 7
-
June 24: Mid-term exam (review and sample),
Chapter 8
-
July 1
-
July 8
-
July 15
-
July 22
-
July 29
-
August 5: Final Exam
Programming Readiness Quiz
This simple quiz is designed to help you evaluate your readiness for this
course in terms of programming skills. If it takes you more than
about 20 minutes to complete these two short programming exercises, you
are likely to have difficulty with the programming assignments in this
class. Take the quiz at your liesure if
you wish. Check your solutions against my
model solutions.
Assignments

-
Programming Assignment #1, Balloon
Ride / Warm-up. Due: Monday, June 3
-
Programming Assignment #2, Craps,
Due: Monday, June 10
-
Programming Assignment #3, Craps Game Class,
Due: Monday, June 17
-
Programming Assignment #4, Madlibs, Due:
Monday, July 1
-
More to come ...
Notes on assignments, in general
Programming and other assignments should be completed by each student on
their own. It is expressly forbidden for students to collaborate on assignments
without the permission of the instructor. A few friendly pointers and a
bit of advice is fine, but "borrowing" or copying another's work is grounds
for punitive action, including a failing grade on the assignment or for
the course and on a second occurrence possible dismissal from the University.
Grading of programming assignments
As specified in the course syllabus, program
functional correctness accounts for only about 50% of the grade assigned
to a program. The remainder of the grade is based on the program's style
(including header and in-line comments, indentation, identifier names)
and design (how you decompose the solution, what classes you use, etc.)
A fuller description of stylistic and design
requirements is here.
Programming Environment
In general, programs may be developed either on a PC running Microsoft
Windows using the Microsoft Visual C++ compiler or on a Unix or Linux system
using the g++ compiler.
Code from the Textbook
Source code for all programs in the text is on the web both as individual
files or as a single zip
file.