UNIVERSITY OF CALIFORNIA, SANTA CRUZ Department of Computer Science CMPS 12A: Introduction to C Programming Winter 1998 Instructor: Jehan-François Pâris E-mail paris@cse.ucsc.edu (best way to reach me fast) Address: Office: AS 153A Telephone: 459-4913 Office Hours: TTh 10:00-10:45 a.m. & T 12:00-12:30 p.m. (no office hours on 2/3 & 2/17) WWW Home Page: http://www.cse.ucsc.edu/~paris Teaching Brian Mealy (bmealy@cats.ucsc.edu) Assistants: TTh 10:00-11:50 a.m., 12:00-1:50 p.m. & 5:00- 5:50 p.m.(all in Ming Ong) Sezer Goren (goren@cats.ucsc.edu) MW 9:00-10:50 a.m. (Social Sciences I) MW 2:00-3:50 a.m. & 4:00-5:50 p.m. ( both in Ming Ong) Tutors/Graders Amy Presswood (amy@cats.ucsc.edu) : REQUIRED TEXT A. Kelley and I Pohl, C by Dissection: The Essentials of C Programming, 3rd edition, Addison-Wesley. PRELIMINARY SCHEDULE Week Topics Optional Readings 1 Introduction. Writing simple programs. Ch. 1 2-3 Lexical elements of C. Quiz on January Ch. 2 22. 4 Flow of control Ch. 3 5-6 Quiz on February 5. Functions and Ch. 4 structured programming. 7 Quiz on February 19. Data types Ch. 5 and 6 revisited. 8 Pointers and Arrays Ch. 9 9 Quiz on March 5. Pointers and strings. Ch. 10 10 Pointers and structures Ch. 11 Last office hours on March 20 4:00-5:30 p.m. and March 23 2:00-3:30 p.m. Final on Monday March 23 at 4:00 p.m. GRADING There will be four quizzes (50% of your grade), one final (25%) and five to eight assignments (25%). Late assignments will be assessed a penalty of 5 points per day unless announced otherwise. All tests will be closed book. You will be allowed one 8.5"×11" two-sided sheet of notes for each test. IMPORTANT (1) All programming assignments will be on Unix. (2) Please contact me if you have any special need. We will work together around them. (3) One or at most two lectures might have to be rescheduled due to scheduling conflicts. (4) Do not forget to read from time to time the class newsgroup, ucsc.class.cmps012a. (5) No cheating will be tolerated on any graded assignment: You can discuss your assignments with your classmates and help each other finding your programming mistakes but what you turn in must be your own work. All instances of suspected cheating will be reported to the Provost of the perpetrator’s college. All cheaters will fail the class. (6) People failing the assignments OR the exams will fail the course.