CS 151 (4 credits)
Introduction to C Programming
Section 001 (Budd)
Fall 2003

Schedule
Programming Assignments
Announcements Score Posting
Helpful Links

Lecture Section 1: MWF 12:00 - 12:50 WGND 115
Instructor
(
contact info)
Prof. Timothy A. Budd
Office Hours MTWF 2:30-3:30 in Dearborn 218
other times by appointment (use e-mail to arrange)
Teaching Assistants

Office hours in Hovland 108

Cao, Bin, cao@cs.orst.edu
Dechow, Doug, dechow@cs.orst.edu
Moffitt, Daniel, moffitt@engr.orst.edu
Phalgune, Amit, phalgune@cs.orst.edu
Prabhakararao, Shreenivasarao, prabhash@cs.orst.edu
Singh, Harshman,singhha@cs.orst.edu
Yang, Song,yangso@cs.orst.edu

Prerequisites Computer literacy (Windows® and web browser)
You must have an Engineering account.
Textbook Required: Tan, H.H. & D'Orazio, T.B., C Programming for Engineering & Computer Science, McGraw-Hill, 1999.
Optional: Schildt, Herbert, C/C++ Programmer's Reference, 3rd ed., McGraw-Hill, 2002.

Course Learning Objectives

The basics of C programming including operators, control ctructures, functions, data types, pointers, arrays, strings, and structures. After taking this course you should be able to:

1. Write a program to include and use library functions such as those in the <stdio.h>, <stdlib.h>, <math.h>, <ctype.h>, and <string.h> standard C libraries.

2. Write a program that uses expressions involving variables and constants combined with the arithmetic, relational, logical, and/or assignment operators including expressions with mixed data.

3. Write a program that alters the sequence of execution using control statements involving selection (switch), condition (if-else, ?:), and repetition (for, while, do-while).

4. Write a program that includes one or more user-defined functions with input formal parameters and for which a written specification is given. The program will include function prototypes and calls to the function(s).

5. Write a program that uses 1- or 2-dimensional arrays for storing and retrieving collections of data of one of the basic C types.

6. Write a program that manipulates strings via pointers and uses pointer types for passing string or other array data, by reference, to functions.

7. Write a program that includes one or more user-defined functions that have input formal parameters and for which a no written specification is given. The program includes function prototypes and calls to the function(s)

8. Write a program that creates a new structured data type using typedef , reads and/or writes data of this type from or to a file and passes data of this type to one or more functions.

Schedule Check here every week; the schedule is subject to "adjustments"
Grades
  • 8 programming projects @ 5.0%
  • 5 of 6 quizzes @ 3.0%
  • 1 midterm exam (in class)
  • Final exam (Monday., Dec 8, 9:30 - 11:20 AM, WGND 115)

Final grades are based on the accumulated percentage. See the evaluation criteria and grading scale. Quiz, exam, and final grades may be adjusted linearly if it seems appropriate.

  • 40%
  • 15%
  • 15%
  • 30%



Academic Honesty Policy See the university, college, department, and course policies.
Obviously, compliance is expected.