[an error occurred while processing this directive]

System Programming

National Chung Cheng University
Department of Computer Science and Information Engineering


(Click here for course introduction slides)

Lecturer: Pao-Ann Hsiung

This course is primarily intended for students interested in UNIX, Linux, system programming, and network TCP/IP programming. A student taking this course will ultimately become a system programmer in the sense that he or she will be able to administrate a UNIX/Linux system.

We will be using the most well-known textbook in this area, authored by W. Richards Stevens and Stephen A. Rago, namely Advanced Programming in UNIX Environment (APUE), 2nd Edition. As you might already guess from the the name of the textbook, the major focus in this course is system programming in UNIX and network programming. We will also have several programming assignments and a term project. Unfortunately, due to lack of time and space, labs will not be conducted like the years before. There will be a written midterm examination and a written final examination.

Textbook || Topics || Grading || Dates/Deadlines


(APUE) Advanced Programming in the UNIX Environment, 2nd Edition W. Richard Stevens and Stephen A. Rago, Advanced Programming in the UNIX Environment,, 2nd Edition, Addison Wesley, 2005. (開發代理)

2nd Edition Textbook Websites Maintained by:

1st Edition Textbook Websites Maintained by:



We will be covering the following parts in this course.

IntroductionAPUE Ch. 11
I/O: files, dirs, std, sysAPUE Chs. 3 to 62 to 5
Processes: environ and controlAPUE Chs. 7, 86, 7
Processes: signalsAPUE Ch. 109, 10
Threads and ControlAPUE Chs. 11, 1211, 12
IPCAPUE Ch. 1513, 14
SocketsAPUE Ch. 1615, 16


Your performance in this course will be graded as follows:
Mid-Term Exam25%
Final Exam25%
Program Assignments25%

Dates and Deadlines

Will be announced on course web page
To be completed within TWO (2) weeks
Program Assignments Details
April 26, 2007Mid-Term Examwritten, closed book
April 10, 2007Project ProposalDetails
June 12, 14, 2007Project Report & PresentationDetails
Before Final ExamProject DemonstrationDetails
June 26, 2007Final Examwritten, closed book