CS 222
Computer Programming for Engineers
Spring 2010

Dr. David Nordstrom
email: dnordstr_AT_gmu.edu
office: Nguyen Engineering Bldg. 5345
office hours: Monday and Wednesday 10:30 - 11:30 am, Friday noon - 1:00 pm and by appointment
phone: (703) 993-1565
The course website is http://cs.gmu.edu/~dnord/cs222


The text is Brian Kernighan and Dennis Ritchie, The C Programming Language, 2nd ed., Prentice Hall, 1988.

The Course

The prerequisite is C or better in CS 112. I will assume that you have a basic understanding of the elements of programming in some high level language.. The course will be taught using C. This is a terminal course in programming for engineers and we will look at some aspects of the C language and programming issues with which engineers should be familiar.


Topics include:

If time permits we may discuss pointers some more.


There will be several programming assignments. Programming assignments will be posted on the course website

You may discuss the programming projects with other students (this is encouraged) but you must do and submit your own work. No joint work will be accepted. Read the CS Department honor code: http://cs.gmu.edu/wiki/pmwiki.php/HonorCode/CSHonorCodePolicies, and the University honor code: http://honorcode.gmu.edu . You are bound by these honor codes. Any submitted work which shows too much commonality with others' work to be completely original, or any plagiarized work, will receive a grade of 0. Any code which is presented in class or provided to you as part of the project may be included in your programs.

You can only turn in a program once. No revisions or additions can be made to your program after it has been submitted. Late programs will be accepted with a 10 points per day late penalty. You are responsible for keeping backups of your work ("my disk crashed" and "my roommate ate my program" are not reasons for late submissions).


There will be a midterm exam and a final. There will be no makeups on exams except under exceptional circumstances (as judged by me), and any such makeup must be arranged in advanced. Grades will computed from a weighted average computed with the following weights: