Lawrence Technological University
College of Arts and Science
Department of Mathematics and Computer Sciences

Introduction to C, MCS 1142 Sec 06, Fall 2004

Handouts | Assignments | Lecture Notes

Credit Hours2
Times7:10-8:50pm Monday
Class RoomS216
Instructor John M. Miller M.D.
OfficeS110
Office HoursBefore class
Phone(248) 204-3560
Email jmmiller@ltu.edu
Web Page www.medicalopensource.net/mcs1142/
and see the LTU Blackboard 6 site (CRN 1354)
Objective This course will introduce the student to the art of programming using C, a language developed by Dennis Ritchie at Bell Labs in the 1970's. By the end of the course the student should understand
  • the grammar or syntax of the C language,
  • how to formulate a problem in C,
  • the elements of style for effective programming,
  • how C fits into the toolkit of a programmer in 2003.
Upon successful completion of the course, the student will be able to solve a straightforward problem by writing a complete, working program in C.
Textbook Computer Science: A Structured Programming Approach Using C, 2nd edition
by Behrouz A. Forouzan and Richard F. Gilberg
Brooks/Cole ISBN 0-534-37482-4
Outline
WeekTopic Text
Chapter
1 Introduction and overview 1
2 The command line, beginning programming
3 Program structure 2
4 Basic data types, Quiz 1 2
5 Expressions 3
6 Decision making 5
7 Functions, Quiz 2 4
8 Review and Midterm Exam
9 Repetition, loops 6
10 Arrays and simple pointers 8,9,10
11 Strings, Quiz 3 11
12 Text files 7
13 Embedded C, bitwise operators 15
14 Web and Windows programming, Quiz 4
15 Review and after C?
16 Final exam
Grading
Homework See homeworkWeb page 25% of grade
4 Quizzes 9/21, 10/12, 11/9, 11/30 25% of grade
Midterm 10/19 25% of grade
Final Tuesday, December 14th, 7:30-9:20 25% of grade
Grading 80% of the final exam will be to write a complete program in C. Passing the course requires a passing grade on this program.
Grade Scale
(if course
objective
is met)
A90-100
B80-89
C70-79
D60-69
Fbelow 60 (below 70 for graduate students)
General Policies Assignments and tests are to be individual efforts unless prior approval is obtained from the instructor. The student's personal academic honor code statement is to be provided with their work or kept on file in the case of a graduate student.
Make Up Policy Make up tests will only be given to students who miss a test for legitimate reasons and who notify the instructor in advance. There are no make up quizzes. Consider the extra credit homework assignments.
Late Assignments Late assignments will be given half credit for one week and no credit thereafter.
Academic Integrity Course participation will always be conducted according to the high standards of honesty and integrity discussed in the University's Academic Honor Code and Student Code of Conduct.
Withdrawal From Class Every freshman who wishes to drop the course must get the signature of the instructor or the department chairman, Dr. David Bindschadler (Room S120).
Options For those with some programming experience, on request, the instructor will substitute individualized projects for the assignments
Supplemental Material
  • The C Programming Language 2nd Edition, Kernighan and Ritchie
    The bible of C.
  • C by Dissection, 4th Edition, Kelley and Pohl
    Similar to the course text but each chapter has a nice section on the transition to C++ and objects at the end. A Book on C, 4th edition, is interchangeable with C by Dissection. Both use Kelley and Pohl's nice teaching technique of "dissecting" working code to demonstrate the features that make programs work well.
  • The Practice of Programming, Kernighan and Pike
    Effective style in C and Java.
  • Enough Rope to Shoot Yourself in the Foot, Holub
    More on effective style in C and C++.
  • A base 10 computer model for instruction, the LTU2002
  • Class handouts Web page
  • Notes of the class discussions

Revised November 19, 2004