ECS30-A: Introduction to Programming and Problem Solving, Fall 2008


Lecture:
6 Wellman, MWF 10:00am - 10:50am

Discussion:
Sec.30-A01, M 4:10-5:00pm, 115 Hutchinson
Sec.30-A02, F 1:10-2:00pm, 176 Chemistry
Sec.30-A03, R 8:00-8:50am, 1006 Giedt

Professor:
Zhaojun Bai, 3005 Kemper Hall, 752-4874, bai@cs.ucdavis.edu
Office Hours: MWF 11:30-12:30 or by appointment

Teaching Assistant:
Stanley Tzeng, stzeng@ucdavis.edu
Office hours: M 1:00-3:00pm and W 4:10-5:10pm, 53 Kemper
Matthew Lietzke, mjlietzke@ucdavis.edu
Office hours: T 3:30-5:00pm and R 4:10-5:40pm, 53 Kemper
Webpage

Textbook :
Hanly, Jeri R., and Koffman, Elliot B, Problem Solving and Program Design in C, 5th ed., Addison Wesley, 2007, ISBN-10: 0321409914, ISBN-13: 9780321409911

Course objectives:
learn how to use Unix operating system tools to develop and debug programs, develop expertise in using C programming language, understand the process of writing efficient and robust programs to solve problems.

Course Outline

Prerequisite
Math 16A or 21A (may be taken concurrently); prior experience with basic programming concepts recommended.

Homeworks and Exams:

Grading:
Grading breakdown: Regrading is only considered within one week (7 days) from the date return. The request must be submitted in writing.

On-line Info/Discussion:


Distribution list

  1. 9/26

  2. 9/29

  3. 10/1

  4. 10/3

  5. 10/6

  6. 10/8

  7. 10/10

  8. 10/13

  9. 10/15

  10. 10/17

  11. 10/20

  12. 10/22

  13. 10/24

  14. 10/27

  15. 10/29

  16. 10/31

  17. 11/3

  18. 11/5

  19. 11/7

  20. 11/10

  21. 11/12

  22. 11/13, Thursday
    Extra office hour (review session for midterm #2) starts at 5:00pm, 3005 Kemper Hall

  23. 11/14

  24. 11/17

  25. 11/19

  26. 11/20
    Extra office hour starts at 5:30pm, 3005 Kemper Hall

  27. 11/21

  28. 11/24

  29. 11/26

  30. 12/1

  31. 12/2 TA Office hours 3:30 - 5:30

  32. 12/3

  33. 12/4 Discussion 8-9, TA Office hour 4 - 5:30

  34. 12/5

  35. 12/6 (Saturday)
    Extra Office Hour and Review, 1:00 - 3:00, 1131 Kemper Hall

  36. Final: December 8, 8:00-10:00am, 6 Wellman

Homework assignments
  1. Homework #1
  2. Homework #2
  3. Homework #3
  4. Homework #4
  5. Homework #5
  6. Homework #6 pdf file.
  7. Homework #7 pdf file.
  8. Homework #8 (Part A) (pdf file)
    Homework #8 (Part B) (pdf file)

  9. Tutorial on gdb. Learn the basics of the gdb debugger and debugging. At a minimum learn how to list, execute one line at a time, set and unset breakpoints, print variable values. The use of a debugger is often essential. gdb is available on most unix based systems. ddd is a GUI based on gdb. Use it if you have it.

Maintained by Zhaojun Bai, bai@cs.ucdavis.edu