CPSC 111 Elementary Computer Programming C
Syllabus

Description: Introduction to computer programming in C and its use in solving problems. Intended primarily for technical majors. Basic instruction in programming techniques is combined with tools use and discussions of ethical issues arising from the impact of computing on society.
Prerequisites: None.
Required texts: Kochan, Stephen W., Programming in C, 3rd ed., Sams Publishing, 2005.
Recommended texts: Kernighan, Brian W. and Ritchie, Dennis M., The C Programming Language, 2nd ed., Prentice-Hall, Englewood Cliffs, NJ, 1988.
Supplemental notes: Summary notes will be placed on the web at http://www.cs.clemson.edu/~goddard/handouts/cpsc111.
Professor: Dr. Andrew Duchowski
Office: McAdams 309, 656-7677, andrewd@cs.clemson.edu
Office hours: Tue,Thu 2:00-3:00 and by appointment.
Objectives: To learn to write and understand a short C program.
Laboratory content: This is a lab course.
Evaluation:
%Grade
90-100A
80-89B
70-79C
60-69D
Tests (3)40%
Programming Assignments (5)25%
Lab10%
Final Exam25%
Assignments: Unless otherwise specified, these are individual assignments, and must be strictly your own work and are not to be shown to anyone else.
Quizzes: These will be (almost) every Thursday. (They are meant to be challenging.)
Attendance: Roll will be taken for the first one or two weeks while the class roll fluctuates. However, attendance is not required. Absence, excused or not, does not change the responsibility for assigned work. Tests missed due to excused absences will normally result in the test not being counted in the average grade (i.e., there will normally be no makeup tests). An unexcused absence from a test will normally result in a grade of zero for that test. Students are expected to give at least one week advance notice for excused absences.
Academic dishonesty: The University policies on academic dishonesty apply. Publicly-available code or other material may be freely used if appropriately attributed. Each student is responsible for protecting his or her files from access by others. Work that is essentially the same and submitted without proper attribution is considered to be a violation of academic dishonesty policy by all those submitting the work, regardless of who actually did the work.
Class cancelation: Students are expected to wait for 15 minutes after the class beginning time before leaving if the instructor is late.
Topical outline: A standard intro to C programming course. Computers, compilation, execution; input/ouput; control structures: loops, conditionals, logical operators; functions; arrays; pointers and strings; files.
  • Part 1 Variables and data-types
  • Part 2 Decisions and repetition
  • Part 3 Arrays and functions
  • Part 4 Strings and pointers
  • Part 5 Odds and ends