CS300

  • 格式:pdf
  • 大小:24.06 KB
  • 文档页数:4

Tuesday, August 02, 2005 2005 Spring CS300 Syllabus

Course InformationCourse TitleAdvanced C Programming

Course DescriptionThis is the second of a 2-part series designed to teach C programming language. Topics include program design and construction, communication between functions, multi-dimensional arrays, pointer storage and using pointers and arrays, string processing applications, dynamic memory allocation, using dynamic arrays and matrix, structure types and operations, file processing, modular organization and building a multimodule program, bitwise manipulation and applications, and techniques for communicating with the operating systems and using advanced library functions. Hands-on exercises are required.

Units4.00Hours4 hours per weekScheduleNot Choose Instructor's NameMr. Cheung, Ken Emailken_npu@yahoo.com

Teaching InformationCourse ObjectivesDevelop computer programming and debugging skills for large and complex C programs.

Instruction MethodLecture, demos, in-class exercises, projects, tests.

Teaching StrategiesKnowledge repetition and reinforcement - topic review, topic homework assignments, topic quizzes, topic tests.

Grading PolicyLab ActivitiesLab Participation

10%10%

Text Books Text Book List Previours Edition is not allowed. #Book TitleISBNAuthorPublisher

1C how to Program, 4th edition0131426443Harvey M. Deitel, Paul J. DeitelPrentice Hall PTR, 2003

Reference Books

Reference Book List #Book TitleISBNAuthorPublisher

1A Book On C : Programming in C, 4th Edition By Al Kelley & Ira Pohl0201183994 Publisher: Addison-Wesley Pub Co, 1997

NotesN/A Weekly Activity Information

Week 1 DetailWeekly ObjectivesTo review the coding style.

Instructive Coverage & Activities

Topics: Good Programming practices, the use of short-cut notation, avoid using

unncessary nested loops.

AssignmentsPlease read the handout of "Coding Style", and review basic C programming.Quiz/test/ExamOthersWeek 2 DetailWeekly ObjectivesTo be able to use pointers to traverse and manipulate arrays effectively.

Instructive Coverage & Activities

Topics: Review of pointer operations, pointer to pointer, pointer arithmetic and

arrays, strings, and memory funcions of the string handling library.

AssignmentsPlease read the handout "Review_Pointers_And_Arrays_Operations". Read Textbook Chapter 8 Section 8. Do Assignment #1.

页码,1/4NPU CAMS Engine2005-8-3http://npuosc.npu.edu/student/lrc/Syllabus/PrintView.aspx?CourseOffe...Quiz/test/ExamOthersWeek 3 DetailWeekly ObjectivesTo be able to declare and use the multiple subscript arrays effectively.

Instructive Coverage & Activities

Topics: Declare and manipulate multiple subscript arrays, ragged arrays and arrays of

pointers, and pointer arithmetics.

AssignmentsPlease read the handout "Multidimensional Arrays". Read Textbook Chapter 6 Section 9.

Quiz/test/ExamOthersWeek 4 DetailWeekly ObjectivesTo be able to create and use structures, unions, enumerations, bit fields for storing data compactly.

Instructive Coverage & Activities

Topics: initialization of structures, pointers to structures / multiple pointers, passing a

structure to a function, complex structures, unions and bit fields.

AssignmentsPlease read the handout "Structures". Read Textbook Chapter 10. Submit Assignment #1, and start Assignment #2.

Quiz/test/ExamOthersWeek 5 DetailWeekly ObjectivesTo be able to allocate memory dynamically for arrays, change the size of memory that was dynamically allocated previously.

Instructive Coverage & Activities

Topics: the memory layout of a C program, using memory allocation functions such

as malloc(), calloc(), realloc() and free(), and case studies.

AssignmentsPlease read the handout "Memory Allocation", and read Textbook Chapter 11.Quiz/test/ExamOthersWeek 6 DetailWeekly ObjectivesTo be able to form linked data structures using pointers, self-referential structures.

Instructive Coverage & Activities

Topics: self-referential structure, stack and queue operations. Graded quiz will be

returned and discussed.

AssignmentsPlease read the handout "Stack And Queue". Read Textbook Chapter 10. Submit Assignment #2, and start Assignment #3.

Quiz/test/ExamOthersWeek 7 DetailWeekly ObjectivesTo be able to create and manipulate linked lists, understand applications of linked structures.

Instructive Coverage & Activities

Topics: sorted linked lists with headers and trailers, and various ways of building

linked lists. Review for the midterm.

AssignmentsPlease read the handout "Sorted Linked List", and read Textbook Chapter 10.Quiz/test/ExamOthersWeek 8 DetailWeekly ObjectivesMidterm Examination and Review.